␡
- Inter-VLAN Communication Using an External Router: Router-on-a-Stick
- Inter-VLAN Communication Tips
- Inter-VLAN Communication on a Multilayer Switch Through a Switch Virtual Interface
- Configuration Example: Inter-VLAN Communication
- Configuring DHCP Server on a Router or Layer 3 Switch
- Verifying and Troubleshooting DHCP Configuration
- Configuring a DHCP Helper Address
- DHCP Client on a Cisco IOS Software Ethernet Interface
- Configuration Example: DHCP
- Configuring Cisco Express Forwarding
- Verifying CEF
- Troubleshooting CEF
This chapter is from the book
Inter-VLAN Communication Tips
- Although most routers support both Inter-Switch Link (ISL) and Dot1Q encapsulation, some switch models support only Dot1Q, such as the 2950 and 2960 series.
- If you need to use ISL as your trunking protocol, use the command encapsulation isl x, where x is the number of the VLAN to be assigned to that subinterface.
- Recommended best practice is to use the same number of the VLAN number for the subinterface number. It is easier to troubleshoot VLAN 10 on subinterface fastethernet0/0.10 than on fastethernet0/0.2.
- The native VLAN (usually VLAN 1) cannot be configured on a subinterface for Cisco IOS releases that are earlier than 12.1(3)T. Native VLAN IP addresses will, therefore, need to be configured on the physical interface. Other VLAN traffic will be configured on subinterfaces:
Router(config)#interface fastethernet 0/0 Router(config-if)#encapsulation dot1q 1 native Router(config-if)#ip address 192.168.1.1 255.255.255.0 Router(config-if)#interface fastethernet 0/0.10 Router(config-subif)#encapsulation dot1q 10 Router(config-subif)#ip address 192.168.10.1 255.255.255.0