Loopback Interface Vlan ID

SlayasamSlayasam Registered Users Posts: 3 ■□□□□□□□□□
Question:

If you configure a loopback interface on a switch does the traffic to and from the loopback interface get a VLAN tag. Or will it default to whatever the native VLAN is for untagged traffic. Or will it default to VLAN 1?

Comments

  • networker050184networker050184 Mod Posts: 11,962 Mod
    A VLAN is a layer 2 thing, so it has no correlation to layer three interface. Traffic to/from that loopback can pass through any number of VLANs to get to it and the tag on those frames depends on where the traffic is going to/from. For instance if a host in VLAN2 pings that loopoback the frame will have a tag of 2 as it travels through the switched network, but what you have to keep in mind is the only place this tag exists is on a layer 2 trunk.
    An expert is a man who has made all the mistakes which can be made.
  • f0rgiv3nf0rgiv3n Member Posts: 598 ■■■■□□□□□□
    To add to that statement, the device on that VLAN still needs to have routed access to that loopback. It has to "leave" the vlan (up to layer 3) to be routed in order to reach the loopback.
Sign In or Register to comment.