312
Fig 10-3 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:
1
、
Configure two vlans on SwitchA, namely, vlan1 and vlan2. Vlan1 is IPv6 domain,
vlan2 connects to IPv4 domain.
2
、
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.
3
、
Configure two vlans on SwitchB, namely, vlan3 and vlan4, vlan4 is IPv6 domain,
and vlan3 connects to IPv4 domain.
4
、
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.
5
、
Configure tunnel on SwitchA, the source IPv4 address of the tunnel is
202.202.202.1, the tunnel routing is ::/0
6
、
Configure tunnel on SwitchB, the source IPv4 address of the tunnel is
202.202.202.2, and the tunnel routing is ::/0
7
、
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.
8
、
PC-A and PC-B get the prefix of 2002 via SwitchA and SwitchB to configure IPv6
address automatically.
9
、
On PC-A, ping IPv6 address of PC-B
SwitchA(config)#ipv6 enable
SwitchA(Config-if-Vlan1)#ipv6 address 2002:caca:ca01:2::1/64
SwitchB
SwithA
SwitchC
PC-A
PC-B