QTECH QSW-8300 Инструкция по настройке User Manual
Page 137
+7(495) 797-3311 www.qtech.ru
Москва, Новозаводская ул., 18, стр. 1
136
IPv6 tunnel
This case is IPv6 tunnel with the following user configuration requirements: SwitchA and
SwitchB are tunnel nodes, dual-stack is supported. SwitchC only runs IPv4, PC-A and PC-B
communicate.
Configuration Description:
Configure two vlans on SwitchA, namely, VLAN1 and VLAN2. VLAN1 is IPv6 domain, VLAN2
connects to IPv4 domain.
Configure IPv6 address 2002:caca:ca01:2::1/64 in VLAN1 of SwitchA and turn on RA function,
configure IPv4 address 202.202.202.1 in VLAN2.
Configure two VLANs on SwitchB, namely, VLAN3 and VLAN4, VLAN4 is IPv6 domain, and
VLAN3 connects to IPv4 domain.
Configure IPv6 address 2002:cbcb:cb01:2::1/64 in VLAN4 of SwitchB and turn on RA function,
configure IPv4 address 203.203.203.1 on VLAN3.
Configure tunnel on SwitchA, the source IPv4 address of the tunnel is 202.202.202.1, the
tunnel routing is ::/0
Configure tunnel on SwitchB, the source IPv4 address of the tunnel is 203.203.203.1, and the
tunnel routing is ::/0
Configure two VLANs on SwitchC, namely, VLAN2 and VLAN3. Configure IPv4 address
202.202.202.202 on VLAN2 and configure IPv4 address 203.203.203.203 on VLAN3.
PC-A and PC-B get the prefix of 2002 via SwitchA and SwitchB to configure IPv6 address
automatically.
On PC-A, ping IPv6 address of PC-B
The configuration procedure is as follows:
SwitchA(Config-if-Vlan1)#ipv6 address 2002:caca:ca01:2::1/64
SwitchA(Config-if-Vlan1)#no ipv6 nd suppress-ra
SwitchA(Config-if-Vlan1)#interface vlan 2
SwitchA(Config-if-Vlan2)#ipv4 address 202.202.202.1 255.255.255.0
SwitchA(Config-if-Vlan1)#exit
SwitchA(config)# interface tunnel 1
SwitchA(Config-if-Tunnel1)#tunnel source 202.202.202.1
SwitchA(Config-if-Tunnel1)#tunnel destination 203.203.203.1
SwitchA(Config-if-Tunnel1)#tunnel mode ipv6ip
SwitchA(config)#ipv6 route ::/0 tunnel1
SwitchB(Config-if-Vlan4)#ipv6 address 2002:cbcb:cb01::2/64
SwitchB(Config-if-Vlan4)#no ipv6 nd suppress-ra
SwitchB (Config-if-Vlan3)#interface vlan 3
SwitchB (Config-if-Vlan2)#ipv4 address 203.203.203.1 255.255.255.0
SwitchB (Config-if-Vlan1)#exit