Manual

+7(495) 797-3311 www.qtech.ru
Москва, Новозаводская ул., 18, стр. 1
133
Configure IPv4 address 192.168.1.1 255.255.255.0 in VLAN1 of Switch1, and configure IPv4
address 192.168.2.1 255.255.255.0 in VLAN2.
Configure two VLANs on Switch2, respectively VLAN2 and VLAN3.
Configure IPv4 address 192.168.2.2 255.255.255.0 in VLAN2 of Switch2, and configure IPv4
address 192.168.3.1 255.255.255.0 in VLAN3.
The IPv4 address of PC1 is 192.168.1.100 255.255.255.0, and the IPv4 address of PC2 is
192.168.3.100 255.255.255.0.
Configure static routing 192.168.3.0/24 on Switch1, and configure static routing 192.168.1.0/24
on Switch2.
Ping each other among PCs.
Note: First make sure PC1 and Switch1 can access each other by ping, and PC2 and Switch2
can access each other by ping.
The configuration procedure is as follows:
Switch1(config)#interface vlan 1
Switch1(Config-if-Vlan1)#ip address 192.168.1.1 255.255.255.0
Switch1(config)#interface vlan 2
Switch1(Config-if-Vlan2)#ip address 192.168.2.1 255.255.255.0
Switch1(Config-if-Vlan2)#exit
Switch1(config)#ip route 192.168.3.0 255.255.255.0 192.168.2.2
Switch2(config)#interface vlan 2
Switch2(Config-if-Vlan2)#ip address 192.168.2.2 255.255.255.0
Switch2(config)#interface vlan 3
Switch2(Config-if-Vlan3)#ip address 192.168.3.1 255.255.255.0
Switch2(Config-if-Vlan3)#exit
Switch2(config)#ip route 192.168.1.0 255.255.255.0 192.168.2.1
16.2.3.2 Configuration Examples of IPv6
Example 1:
IPv6 configuration example
Switch
2
Switch
1
PC2
PC1