Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

relationship between ip and mac level boradcasts

Hi all, can anyone tell me the relationship between the mac and ip layer when sending broadcasts? ie

does the mac address for any broadcast ie subnet level, all hosts etc stay the same, ffff.ffff.ffff ?

  • LAN Switching and Routing
5 REPLIES

Re: relationship between ip and mac level boradcasts

Give you an example:

R1--(e0)R2(E1)--10.1.1.0/24

When R1 sends IP broadcase to the network behind R2, the destination IP will be 10.1.1.255, destination MAC will be R2 e0's mac address.

When R2 receive it, R2 will change the destination mac to ffff.ffff.ffff and then sends it out to E1 interface.

All hosts in subnet 10.1.1.0/24 will process the packet with destination mac ffff.ffff.ffff.

HTH

New Member

Re: relationship between ip and mac level boradcasts

So, is any broadcast ie, 255.255.255.255, or 10.1.255.255 , does the mac address for this always use ffff.ffff.ffff ?

and also, i thought routers dont allow directed broadcasts ?

Re: relationship between ip and mac level boradcasts

Yes, the last hop router will check the destination mac to ffff.ffff.ffff.

255.255.255.255 will broadcast to all IP networks.

IP directed broadcasts can be enabled by "ip directed-broadcast" command under the interface. (should be disabled by default) But, it's not secure to enable it.

New Member

Re: relationship between ip and mac level boradcasts

hi there

so do all ip broadcasts use the mac address ffff.ffff.ffff ?

Re: relationship between ip and mac level boradcasts

Yes, but remmeber router will change destination MAC address at each hop. Only the last hop router will change destination MAC address in IP broadcast packet to ffff.ffff.ffff

144
Views
0
Helpful
5
Replies