- Posts: 14
- Thank you received: 0
forwarding
21 years 2 weeks ago #1593
by anwar
forwarding was created by anwar
what is the difference between flooding, forwarding and broadcasting :shock:
21 years 2 weeks ago #1602
by sahirh
Sahir Hidayatullah.
Firewall.cx Staff - Associate Editor & Security Advisor
tftfotw.blogspot.com
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.
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
21 years 2 weeks ago #1606
by tfs
Thanks,
Tom
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:
Looks like you should get these questions correct. :lol:
Thanks,
Tom
21 years 2 weeks ago #1609
by sahirh
Sahir Hidayatullah.
Firewall.cx Staff - Associate Editor & Security Advisor
tftfotw.blogspot.com
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
Time to create page: 0.132 seconds