Book now with code EOY2025
tomtom1 wrote: » A hub has a larger broadcast domain, since every frame it receives gets forwarded to all ports on the hub. Remember that the hub is a really stupid device, not understanding anything of the information it gets in the L2 frames. A switch / bridge on the other hand is more clever. It is able to look at the source and destination MAC addresses in the frame, and once it sees the destination MAC address in its MAC address table, it forwards the frame only out (egress) the interface associated with the MAC address. The switch / bridge builds it's MAC address table by looking at the source MAC address on frames it receives on that port. There is one exception though, once the switch / bridge receives a frame and the destination MAC address is not listed in the mac address table, flooding occurs. The switch / bridge will then forward the frame out every interface except the one it came in on. Eventually, the host or device that is associated with the destination mac address will respond with a frame of it's own. That is also the moment that the switch learns the port associated with that mac address. Hope this helps,
bbugyi200 wrote: » From my understanding of CSMA/CD (which hubs use) shouldn't a hub always check the line before sending out a frame?
StonedHitman wrote: » Hey, sorry for asking a ? in op's thread but I just need a clarification on something. I understand that a frame destined for an unknown mac address is flooded, and not out the interface it came in on. But I thought that it's only flooded out all interfaces not currently in the mac address table? I don't see why it would flood the frame out an interface that it's clearly not destined for.
cygnus21 wrote: » I think the reason for this is that the switch doens't know that there is ONLY 1 device connected on that port. For instance there can be another switch. So it floods the frame out all of the ports. This way even if it knows one MAC associated with that port it will still reach other devices that may be connected there.
Use code EOY2025 to receive $250 off your 2025 certification boot camp!