Skip to main content

forwarding

More
20 years 6 months ago #1593 by anwar
forwarding was created by anwar
what is the difference between flooding, forwarding and broadcasting :shock:
More
20 years 6 months ago #1602 by sahirh
Replied by sahirh on topic Re: forwarding
I assume you're talking about layer 2 switching ?

Flooding happens when the switch does not have the destination MAC address of the frame in its CAM table and so it doesn't know which port to send it out to, so it 'floods' the frame to all the switchports except the one it entered in on.

Forwarding is when the switch does know which port a particular MAC address is connected to so it 'forwards' the frame only to that port.

Broadcasting may seem the same as flooding but its not.. in a broadcast, the sending host wants all hosts on the segment to see the frame, the destination mac address is FF-FF-FF-FF-FF-FF in hexadecimal which translates to all 'ones' in binary. This means 'send this frame to everybody'. The switch thus sends it out of every port. Flooding happens because it didn't know where to send it.

Btw after flooding the frame once, if the switch gets a response from the destination host, it will add that host and its port to its table.. thus it has 'learned' where that host is and never needs to flood to find it again -- it will now forward frames there.

(Btw frames are just packets encapsulated at the data link layer (layer 2) where switches operate)

Hope that helps.

You might want to read the material under Networking >> Connectivity >> Switches and Bridges menu at the top of the page.

Sahir Hidayatullah.
Firewall.cx Staff - Associate Editor & Security Advisor
tftfotw.blogspot.com
More
20 years 6 months ago #1606 by tfs
Replied by tfs on topic Re: forwarding
Sounds like you have been studying for a test, hhhmmmm!

Looks like you should get these questions correct. :lol:

Thanks,

Tom
More
20 years 6 months ago #1609 by sahirh
Replied by sahirh on topic Re: forwarding
Lol think we should write a study guide ;) ?

Sahir Hidayatullah.
Firewall.cx Staff - Associate Editor & Security Advisor
tftfotw.blogspot.com
More
20 years 6 months ago #1610 by tfs
Replied by tfs on topic Re: forwarding
I assume that by the time you finish your test and since the two of you have just run the gauntlet - you probably could. :lol:

Thanks,

Tom
Time to create page: 0.147 seconds