TCPmag.com for Cisco Internetworking Professionals Thursday, September 02, 2010  
Search:
Advanced Search        
-- advertisement --
  Resources
  Articles
  Community
.. Home .. Q & A .. Q & A Answers


 
print article printable format
e-mail article e-mail to a friend
comment on the newscomment on article

More Q & A
read... Video Killed the Data Stream
read... Distance Training with IS-IS
read... Theory, Reality and Total T-1 Bandwidth
read... 'Area 257' De-Classified
read... Follow That Packet!
read... Back-to-Back Connections and ADSL
read... Split-Scope DHCP Servers
read... VRRP Implementation

Q & A Archive


Q & A

Broadcasts Are from Mars, Multicasts Are from Venus

by Scott Morris

Question:

April 26, 2005

Scott,

I'm hoping you can help me out. I’ve been involved in a "heated discussion" with a female co-worker. She insists that broadcasts are a subset of multicasts. I keep telling her how different they are and not really related other than they are both sent to multiple destinations.

I refer her to Web site after Web site and ask everyone I know about the topic, but there's no getting through to her! What can I say to her?

Help!

-- Adam

Answer:

Adam,

Well, I’m not entirely sure this is a safe “discussion” for me to get involved in. But, sorry dude, I have to agree with her.

-- advertisement (story continued below) --

In a nutshell, the answer will certainly have something to do with whether we’re talking about Layer 2 or Layer 3 configurations. So, let’s go through a few things:

Layer 3 broadcasts are one of two things:

  • All hosts’ broadcasts which go to 255.255.255.255. These go to all devices within a particular network/VLAN without direct knowledge of the IP range
  • Subnet broadcasts go to the highest IP number of any given subnet (for example 200.200.200.255 is the broadcast IP of the /24 subnet); specific IPs will vary based on actual subnet mask

From a binary perspective, the host portion of the IP address is set to all ones value.

Layer 3 multicasts are a very specific range, known as Class D addresses. They all begin with binary value of 1110 in the first octet. This yields a first octet having values from 224 to 239. (11100000 to 11101111, in case you really wanted to know!)

The Class D range doesn’t have any concept of subnetting or of broadcast reachability. So at Layer 3, you are correct that the two have nothing to do with each other besides being a way to reach multiple hosts.

At Layer 2, however it’s a completely different story. We are still involved with ones, just not in the same fashion!

A Layer 2 broadcast is known as the “All-Fs” MAC address: FF-FF-FF-FF-FF-FF that we will see in our Ethereal, or other sniffer program. So, that gives us a very specific address that represents all devices within a Layer 2 network.

Layer 2 multicasts give us a little more of a headache. Many people have read different documents and have the idea that Layer 2 multicasts all begin with 01-00-5E-xx-xx-xx. This is sort of true. The Layer 2 representation of IP multicasts all begin with 01-00-5E. But that isn’t really the whole story.

It goes back even further to defining something we call an I/G bit. There is one specific bit in the entire MAC address that defines whether or not it’s a multicast. This keeps life a little interesting. For a more complex definition, it’s specifically the least significant bit (right side) of the most significant byte (left side) of the MAC address.

So, looking at our MAC address again, we see that the “01” is the most significant byte, and in binary that gives us 0000 0001 so the “1” is the least significant bit. This one little bit denotes an individual (0 value) or group (1 value) address.

In case you want to enhance your miscellaneous knowledge here, the next bit in (“2” position) represents the U/L bit. This is also called a locally assigned address (LAA). This represents a universally assigned address (0 value) or a locally assigned address (1 value).

With all that said, let’s go back and look at the Layer 2 broadcast address. With a value of FF-FF-FF-FF-FF-FF, the first byte (like the rest of them) is all ones: 1111 1111 for the bits. That means the I/G big is set to a 1.

Recalling my advanced geometry mathematics knowledge, with all of those exercises about sets and subsets, intersections and other little tidbits that bring back bad dreams of math class, it’s good to look at the criteria a router would use.

A Layer 2 multicast is any MAC address where the least-significant bit of the most-significant byte is set to “1.” A Layer 2 broadcast is a specific MAC address where all bits (including the I/G bit) are set to “1.” Therefore, Layer 2 broadcasts are part of the Layer 2 multicast set.

Or, more importantly for your co-worker, all Layer 2 broadcasts are multicasts. All layer 2 multicasts are not broadcasts.

Sorry I couldn’t help you out much here, but I’m sure this will teach you a valuable lesson in life: Don’t argue with women. Whether you understand it or not, there is some method or rule set that will make them right and you wrong! (Fortunately there isn’t anyone around to smack me at the moment, though I’m sure it will catch up with me!)

For some further information about the I/G bit:

http://www.synapse.de/ban/HTML/P_LAYER2/Eng/P_lay207.html
http://www.microsoft.com/technet/community/columns/cableguy/cg0202.mspx
http://www.faqs.org/rfcs/rfc1469.html

-- Scott

Send your toughest CCIE-level technical questions to editor@tcpmag.com.
Scott Morris, quadruple CCIE, JNCIE and all-around uber-geek, can often be seen traveling around the world consulting and delivering CCIE training. He recently accepted a new Senior CCIE Instructor position with Internetwork Expert! For more information on him check out http://www.uber-geek.net or for CCIE training check out http://www.internetworkexpert.com. You can contact Scott via editor@tcpmag.com. You can contact Scott about "Broadcasts Are from Mars, Multicasts Are from Venus" at editor@tcpmag.com.

Current TCPmag.com user comments for "Broadcasts Are from Mars, Multicasts Are from Venus"
10/11/09 - online purchase phen  from New York says: Perfect site, i like it!
10/11/09 - convincing a doctor   from New York says: Incredible site!
10/11/09 - erectile disfunction  from New York says: Great. Now i can say thank you!
10/12/09 - tramadol interaction  from New York says: Great work, webmaster, nice design!
10/12/09 - pet dosage for trama  from New York says: Great. Now i can say thank you!
10/12/09 - seizures from tramad  from New York says: Great work, webmaster, nice design!
10/12/09 - diabetic diet sheet   from New York says: Very interesting site. Hope it will always be alive!
10/12/09 - cheapest price for c  from New York says: Great site. Good info.
10/12/09 - rimadyl tramadol  from New York says: I want to say - thank you for this!
10/12/09 - niagara falls pharma  from New York says: I bookmarked this link. Thank you for good job!
10/12/09 - weight loss kentucky  from New York says: Excellent site. It was pleasant to me.
10/13/09 - taladafil generic ci  from New York says: I want to say - thank you for this!
10/14/09 - vetranarian tramadol  from New York says: If you have to do it, you might as well do it right.
10/14/09 - tramadol blue book  from New York says: Excellent site. It was pleasant to me.
10/14/09 - how do i get phenter  from New York says: Great work, webmaster, nice design!
10/14/09 - online pharmacy tram  from New York says: Excellent site. It was pleasant to me.
10/14/09 - tramadol fever heada  from New York says: Great work, webmaster, nice design!
10/14/09 - valium for anesthesi  from New York says: Beautiful site!
Display Page: 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
61 62 63 64 65 66 67 68 69 70
Post your comment about " Broadcasts Are from Mars, Multicasts Are from Venus" here:
Name: (optional)
Location: (optional)
E-mail Address: (optional)
Comments:  
 
top







home | certification basics | features | exams | exam reviews | salary surveys
forums | link state update | news | q & a | article archive | tech library webcasts | Rss Feeds from TCPmag.com
Application Development Trends | Campus Technology | CertCities.com | The Data Warehousing Institute
E-Gov | EduHound | ENTmag.com | Enterprise Systems | Federal Computer Week | FTPOnline.com | Government Health IT
IT Compliance Institute | MCPmag.com | Recharger | Redmond Developer News | Redmond
Redmond Channel Partner | Redmond Events | Redmond Report | T.H.E. Journal | TechMentor Conferences
Virtualization Review | Visual Studio Magazine | VSLive!
Free Print or Digital Subscriptions: Redmond | Redmond Channel Partner | Redmond Developer News
Virtualization Review | Visual Studio Magazine
Copyright 1996-2009 1105 Media, Inc. See our Privacy Policy.
1105 Redmond Media Group