Loopback 9 on a layer 2 switch

Unanswered Question

I know it works but I cant get my head around how.

A DL switch has a static route to say to get to the loopback address of you have to go to the address on the layer 2 switch which is

The thing I cant get to grips with is, the Layer 2 switch recieves the packet on the 172 network. How does it direct it to the loopback 9 address of 192.168 when there is no routing table to direct it ? I know that loopback 9 is an always on interface, but it is on a different network. The more I think about it, the more confused I get ??

Please enlighten my mind, or it will ruin my xmas !!!!

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Giuseppe Larosa Thu, 12/18/2008 - 05:13
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

Hello Martin,

a Layer2 only switch doesn't examine the ipv4 header and the destination.

It works on frames using MAC addresses it will move the frame to the port where the destination mac address has been heard.

That's all.

The routing decision is performed by somebody else a router for example that sends a packet to the MAC address associated with the IP address of the nexthop to reach 192.168.x.y destination.

This is the layered approach of the OSI model.

Hope to help



This Discussion