I am playing with some equipment with the purpose of learning how things work. I have 2 linux servers connected to a router, each via the ethernet port. I think I should be able to create subinterfaces on the linux machines with ip addresses in different subnets. I think I should be able to ping any subinterface from one server to the other. Should I configure subinterfaces on the router and use them as the default gw for the server?
I have tried a few configurations but I can only ping the one interface on the router that is on the native vlan. I have not been successful in pinging across the router.
Actually your question was probably meant to be: 'Why do you have to use VLAN tagging on subinterfaces?'
Note that by simply creating a subinterface on a physical interface, you are already virtualizing it. If the physical interface is a LAN interface, by creating a subinterface, you are creating a virtual LAN interface, that is, a VLAN. In other words, creating a subinterface on a LAN interface constitutes creating a VLAN.
Distinguishing between various VLANs on a single physical interface is another issue. There must be something added to the Ethernet frames that are received and sent on a interface with subinterfaces, otherwise, frames sent from two different subinterfaces on your Linux box or your router could not be properly differentiated at the other end. You need to use the VLAN tags for that purpose. Each subinterface needs a unique VLAN tag to provide uniqueness for each frame it sends and to know which received frames to process. On Cisco routers, defining a VLAN tag is a required task for a LAN subinterface, otherwise that subinterface will not be operational.
Hi everyone, I would like to thank you in advance for any help you can provide a newcomer like myself!
Im studying the 100-105 book by Odom and am currently on the topic of Port security. I purchased a used 2960 and I'm trying to follow a...
While deploying a number of 18xx/2802/3802 model access points (APs), which run AP-COS as their operating platform. It can be observed on some occasions that while many of their access points were able to join the fabric WLC withou...
I am going to design and build an LAN network under a tunnel underground with long distance between the switches.
I will have 2 Catalyst switches and 8 Industrial IE3000, and they will be connected with fiber.
For now I am planning on use Layer-2 s...