HCNP-IPV4 TO IPV6 隧道实验
实验拓扑:
实验要求:
1.R1,R2,R3互联的端口配置ipv6地址,如图示。
2.R1,R2,R3间运行OSPFv3
3.R1与R2间建立隧道,使两端IPV4地址可以相互通讯。
配置简要:
R1:
ospfv3 1
router-id 1.1.1.1
interface GigabitEthernet0/0/1
ipv6 enable
ipv6 address FC00:0:0:2000::5/64
ospfv3 1 area 0.0.0.0
interface Tunnel0/0/0
ip address 16.0.0.6 255.255.255.0
tunnel-protocol ipv4-ipv6
source FC00:0:0:2000::5
destination FC00:0:0:1000::3
ip route-static 192.168.10.0 255.255.255.0 Tunnel0/0/0 16.0.0.1
R2:
ospfv3 1
router-id 2.2.2.2
interface GigabitEthernet0/0/0
ipv6 enable
ipv6 address FC00:0:0:2000::2/64
ospfv3 1 area 0.0.0.0
interface GigabitEthernet0/0/1
ipv6 enable
ipv6 address FC00:0:0:1000::2/64
ospfv3 1 area 0.0.0.0
R3:
ospfv3 1
router-id 3.3.3.3
interface GigabitEthernet0/0/0
ipv6 enable
ipv6 address FC00:0:0:1000::3/64
ospfv3 1 area 0.0.0.0
interface Tunnel0/0/0
ip address 16.0.0.1 255.255.255.0
tunnel-protocol ipv4-ipv6
source FC00:0:0:1000::3
destination FC00:0:0:2000::5
ip route-static 192.168.30.0 255.255.255.0 Tunnel0/0/0 16.0.0.6

浙公网安备 33010602011771号