What is the use of subinterfaces?
One of the uses of subinterfaces is to provide unique Layer 3 interfaces to each VLAN that is supported by the parent interface. In this scenario, the parent interface connects to a Layer 2 trunking port on another device.
How many subinterfaces do we need per VLAN?
You can partition one physical interface into up to 4094 different subinterfaces, one for each VLAN. We recommend that you use the VLAN ID as the subinterface number when you configure the subinterface.
How do I set up subinterfaces?
To configure additional IP interfaces over the VLAN major interface:
- Create a new VLAN subinterface by adding a unique subinterface number to the interface identification command. host1(config-if)#interface fastEthernet 4/1.2.
- Assign a VLAN ID for the subinterface.
- Assign an IP address and mask.
How Intervlan routing is used in the network?
Inter-VLAN routing refers to the movement of packets across the network between hosts in different network segments. VLANs make it easier for one to segment a network, which in turn improves the performance of the network and makes it more flexible, since they are logical connections.
How do you assign a VLAN to a subinterface?
To assign a VLAN ID to a subinterface (or to modify the VLAN ID that is currently assigned to a subinterface), use the dot1q vlan command in subinterface configuration mode. To remove the VLAN ID assigned to a subinterface, use the no form of this command.
What are subinterfaces on a router?
A subinterface is a virtual interface created by dividing one physical interface into multiple logical interfaces. A sub-interface in a Cisco Router uses the parent physical interface for sending and receiving data.
How are subinterfaces used in the router on a stick configuration?
Sub-interfaces A layer 3 OSI model solution is, therefore, required to allow communication between devices from different VLANs. The sub-interface is a key feature of the router on a stick. It is configured for each network on the router. Sub-interfaces are the logical elements of a physical interface.