cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
9285
Views
0
Helpful
5
Replies

understanding of unicast, multicast and broadcast for switches

vishalpatil86
Level 1
Level 1

hi,

In ICND 2, switching chapter, it is mentioned that "a switch or bridge never learns a broadxast or multicast address becos broadcast and multicast addresses never appear as the source address of a frame."

I dont understand this.

2 Accepted Solutions

Accepted Solutions

Arp broadcasts such as Arp requests are sent from a single address, the machine making the request.  The source address is the machine doing the requesting, the destination is a broadcast address.

Source - Destination - Arp Request

0:80:c8:f8:4a:51 ff:ff:ff:ff:ff:ff 42: arp who-has 192.168.99.254 tell 192.168.99.35

View solution in original post

Peter Paluch
Cisco Employee
Cisco Employee

Hello,

Broadcast and multicast addresses always describe a group of recipients - more than a single receiving station. However, the sender of any frame is always a single station. A group of stations can never produce a single frame. Therefore, only the destination MAC address in a frame can be set to a broadcast/multicast address. The source MAC must always be a unicast MAC address of the network card that sent the frame. It would be totally illogical to see a broadcast/multicast MAC address written in the source MAC field.

And this is what the ICND statement tells you about. The switch always learns the MAC addresses from the source MAC field in frames. During learning, it makes a sanity check - it verifies whether the source MAC adress is a unicast MAC. If it is a broadcast/multicast, it refuses to learn it because in correct Ethernet operation, it is impossible to have a frame sent from a multicast/broadcast address.

Does this help a bit?

Best regards,

Peter

View solution in original post

5 Replies 5

majed.balsharaf
Level 1
Level 1

Hi Vishal

   yes its true switches never learn broadcast or multicast address. Switch Learn only MAC addresses,it learn mac addresses.

frames work on mac address not on IP's. So broadcast and multicast is done for IP's and Layer 3 consists of IP's.

at layer 2 we will see mac address.

So broadcast and multicast is done for IP's and Layer 3 consists of IP's.

at layer 2 we will see mac address.

what about arp broadcast then?

its layer 2

Arp broadcasts such as Arp requests are sent from a single address, the machine making the request.  The source address is the machine doing the requesting, the destination is a broadcast address.

Source - Destination - Arp Request

0:80:c8:f8:4a:51 ff:ff:ff:ff:ff:ff 42: arp who-has 192.168.99.254 tell 192.168.99.35

Peter Paluch
Cisco Employee
Cisco Employee

Hello,

Broadcast and multicast addresses always describe a group of recipients - more than a single receiving station. However, the sender of any frame is always a single station. A group of stations can never produce a single frame. Therefore, only the destination MAC address in a frame can be set to a broadcast/multicast address. The source MAC must always be a unicast MAC address of the network card that sent the frame. It would be totally illogical to see a broadcast/multicast MAC address written in the source MAC field.

And this is what the ICND statement tells you about. The switch always learns the MAC addresses from the source MAC field in frames. During learning, it makes a sanity check - it verifies whether the source MAC adress is a unicast MAC. If it is a broadcast/multicast, it refuses to learn it because in correct Ethernet operation, it is impossible to have a frame sent from a multicast/broadcast address.

Does this help a bit?

Best regards,

Peter

it helped a lot.

thank u jeff and peter

Review Cisco Networking products for a $25 gift card