I have the following routing table:
say I get packet with dest IP 10.5.89.34 and the next hop IP is that of a logical VLANIF94 interface.
please explain what all steps will happen here like MAC rewrite, VLAN tagging etc.
Network Engineering Stack Exchange is a question and answer site for network engineers. It only takes a minute to sign up.Sign up to join this community
A layer 3 switch will do both routing and switching. In this case:
So, as a router, your layer 3 switch will forward the IP packet in a frame with different MAC addresses. As a switch, it will do vlan tagging if needed when sending the packet on the switchport. The same is true for the incoming packet, it could have been tagged or untagged.