News for hackers. Stuff that matters.
Re:Forwarding issues related to MACs starting with 4 or 6 by Macha on Friday December 02, 2016 @03:14PM (#13091902)
From what I gather the problem is basically:

Certain routers are processing both IP packets and ethernet frames through the same logic. They want to know which it is. Ethernet frames start with the destination mac address, which used to be sequential and reaching higher numbers seemed far away so most started with 0 or 1. IP packets start with the IP version, so they're 4 or 6.

As a result, some vendors basically implement the following:

    def is_ethernet_frame(data):
        return not (data.startswith(4) or data.startswith(6))
And similar to the problems with

    os.name.startswith('Windows 9')
type issues, now we reach the higher numbers, these systems have issues.
Re:Forwarding issues related to MACs starting with 4 or 6 by web007 on Friday December 02, 2016 @05:12PM (#13092781)
Are these not at different OSI layers and should be handled correctly by encapsulation?
Re:Forwarding issues related to MACs starting with 4 or 6 by danudey on Friday December 02, 2016 @05:49PM (#13093019)
They are, but these routers are doing inspection, even when they should be purely Layer 2, and then doing it stupidly, and then breaking.
Re:Forwarding issues related to MACs starting with 4 or 6 by wmf on Friday December 02, 2016 @06:53PM (#13093314)
To save space in the MPLS header, it doesn't specify what comes next. So inside an MPLS packet may be Ethernet, IP, or something else and in many cases the switch/router has no way of knowing what is inside the packet, but it still wants to find the 5-tuple to generate ECMP entropy.
Re:Forwarding issues related to MACs starting with 4 or 6 by linkregister on Monday December 05, 2016 @05:53PM (#13110583)
I was not aware that MPLS provides for encapsulation of Layer 2 frames.