Prev | Current Page 107 | Next

Stephen McQuerry

"Interconnecting Cisco Network Devices, Part 2 (ICND2): (CCNA Exam 640-802 and ICND exam 640-816) (3rd Edition)"

2. Each subinterface represents the router in each
of the VLANs for which it routes.
Figure 2-33 Inter-VLAN Routing Con?¬?guration
Use the encapsulation dot1q vlan identi?¬?er command (where vlan identi?¬?er is the VLAN
number) on each subinterface to enable 802.1Q encapsulation trunking. The subinterface
number does not have to be the same as the dot1Q VLAN number. However, management
is easier when the two numbers are the same.
FastEthernet0/0.1
FastEthernet0/0
FastEthernet0/0.2
FastEthernet0/0.3
10.1.1.2
VLAN 1 VLAN 2
Fa0/0
802.1Q
10.2.2.2
interface fastethernet 0/0
ip address 10.1.1.1 255.255.255.0
interface fastethernet 0/0.2
ip address 10.2.2.1 255.255.255.0
encapsulation dot1q 2
66 Chapter 2: Medium-Sized Switched Network Construction
The native VLAN frames in 802.1Q do not carry a tag. Therefore, the native VLAN
subinterface is con?¬?gured with the encapsulation dot1Q vlan identi?¬?er native command.
Ensure that the VLAN assigned to the native VLAN subinterface matches the native VLAN
on the switch it connects to. Each subinterface will have a unique IP address for the VLAN
it is associated with. This address will be used as the gateway address for workstations in
that VLAN.


Pages:
95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119