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

relationship between ip and mac level boradcasts

carl_townshend
Spotlight
Spotlight

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 ?

5 Replies 5

Yudong Wu
Level 7
Level 7

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

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 ?

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.

hi there

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

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card