Juniper Networks Interview Question
Software Engineer / DevelopersAs I understand
1) If frame does not have switch mac address than as in a regular switch it will be unicasted/broadcasted based on whether the destination mac is learned.
2) If packet does have a destination mac of the switch or of one of its ports or its an broadcast frame, and also has L3 data, than it will be given to L3 layer, which can do many actions like
a) If its an Arp request for the switch's IP, it responds the arp with its mac address
b) route the packet, if switch is also working as a router.
In case of an broadcast frame will still be broadcasted by the switch, along with it handling the L3 data(say Arp request).
3)
a) In case a frame is destined to mac address of switch or one of its ports and it does not have L3 data. I am not sure how to handle this case and whether it is practically seen.
b) case where frame is an broadcast frame without L3 data. In this case it can be broadcasted, but I am not sure about the usecase for it.
http://www.ehow.com/how-does_5257081_ethernet-bridge-handle-incoming-frame.html
- desi grad September 17, 2009