8

Can a limited broadcast contain destination MAC address other than FF:FF:FF:FF:FF:FF?

If the answer is true, could you provide an example of a protocol that uses a packet like this.

Ok, to elaborate on this a little further and to show what I think of it:

Lets suppose we are sending an IP packet that is a limited broadcast packet. A limited broadcast packet has the IP Destination field filled with: 255.255.255.255. 255.255.255.255 means that the packet is destined to '_this_' _Local_ Area Network (L2 network). 255.255.255.255 informs the software crafting a frame wrapper for the packet, that the packet is destined to _this_ L2 network. To transfer an IP packet over the LAN network, I can use multiple protocols:

enter image description here

depending on what type of medium I want to transfer the packet through (or what L2 protocol I want to use, if multiple L2 protocols available for a medium?).

Now, as I can't really obtain L2 address of a host 255.255.255.255 (because this host does not exist), a logical move for the software crafting the L2 wrapper would be to assign 'a default' lower level (L2) broadcast address for the frame Destination field (whatever the L2 protocol is). This would be a logical move.

I've originally asked the question because I realized that, besides of Ethernet, there are also other L2 protocols I can use to transfer the packet. So if the question was formulated like: "Can a limited broadcast packet contain information about L2 broadcast address other than MAC FF:FF:FF:FF:FF:FF ?", the answer would be: yes. Because I can use L2 protocol other than the Ethernet.

Is my thinking correct on this?

2
  • 4
    We are not here to do your homework for you. We will however help with your homework provided you can ask a specific question. Try explaining what you think the answer is, and why, and precisely what you're unsure of. Additionally, as per the FAQ the question must be practical, answerable questions based on actual problems, the key part being actual problems that a systems administrator might actually encounter one day. May 28, 2012 at 23:16
  • 1
    >.< * steam comes out of his ears *
    – colemik
    May 29, 2012 at 9:10

1 Answer 1

7

http://en.wikipedia.org/wiki/Multicast_address#Ethernet

Ethernet frames with a value of 1 in the least-significant bit of the first octet of the destination address are treated as multicast frames and are flooded to all points on the network.

That basically equates to any address where the second hex digit is 1, 3, 5, 7, 9, B, D, or F.

When you say other limited broadcast, I assume what you mean to say is multicast. Multicast and broadcast Ethernet addresses are not determined by asking the network via ARP for the hardware address that corresponds to the IP address. Rather, it is defined by any appropriately implemented IP stack. Microsoft offers a good document for understanding multicast Ethernet to IP mappings.

Ultimately, though, any L2 address that isn't known by a switch or bridge will flood that L2 segment. Things will only leave the segment if they are interpreted above L2. A network card will only pass packets to the OS where the packet matches its own address or where that second hex digit is one of the ones listed above.

3
  • limited broadcasts aren't multicasts, a limited broadcast is a broacast to all NICs on one network segment and they are always dropped at a router. May 29, 2012 at 0:04
  • thanks for the responses. By a limited broadcast I've meant what Lucas defined in his comment.
    – colemik
    May 29, 2012 at 0:14
  • Yeah, I went back and read the question again, but I was paged out for a car crash... fixing up my edit now. May 29, 2012 at 0:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .