拓扑图
其中IPv6区域使用OSPFv3协议进行打通。
设备配置
AR1
ipv6
ospfv3 1
router-id 1.1.1.1
interface GigabitEthernet0/0/0
ipv6 enable
ipv6 address 2001:12::1/64
ospfv3 1 area 0.0.0.0
interface LoopBack0
ipv6 enable
ipv6 address 1::1/128
ospfv3 1 area 0.0.0.0
AR2
ipv6
ospfv3 1
router-id 2.2.2.2
interface GigabitEthernet0/0/0
ipv6 enable
ipv6 address 2001:12::2/64
ospfv3 1 area 0.0.0.0
interface GigabitEthernet0/0/1
ip address 23.1.1.2 255.255.255.0
interface LoopBack0
ipv6 enable
ip address 2.2.2.2 255.255.255.255
ipv6 address 2::2/128
ospfv3 1 area 0.0.0.0
interface Tunnel0/0/0
ipv6 enable
ipv6 address 2001:24::2/64
ospfv3 1 area 0.0.0.0
tunnel-protocol gre
source 2.2.2.2
destination 4.4.4.4
ospf 1
area 0.0.0.0
network 2.2.2.2 0.0.0.0
network 23.1.1.0 0.0.0.255
AR3
interface GigabitEthernet0/0/0
ip address 23.1.1.3 255.255.255.0
interface GigabitEthernet0/0/1
ip address 34.1.1.3 255.255.255.0
interface LoopBack0
ip address 3.3.3.3 255.255.255.255
ospf 1
area 0.0.0.0
network 3.3.3.3 0.0.0.0
network 23.1.1.0 0.0.0.255
network 34.1.1.0 0.0.0.255
AR4
ipv6
ospfv3 1
router-id 4.4.4.4
interface GigabitEthernet0/0/0
ip address 34.1.1.4 255.255.255.0
interface GigabitEthernet0/0/1
ipv6 enable
ipv6 address 2001:45::4/64
ospfv3 1 area 0.0.0.0
interface LoopBack0
ipv6 enable
ip address 4.4.4.4 255.255.255.255
ipv6 address 4::4/128
ospfv3 1 area 0.0.0.0
interface Tunnel0/0/0
ipv6 enable
ipv6 address 2001:24::4/64
ospfv3 1 area 0.0.0.0
tunnel-protocol gre
source 4.4.4.4
destination 2.2.2.2
ospf 1
area 0.0.0.0
network 4.4.4.4 0.0.0.0
network 34.1.1.0 0.0.0.255
AR5
ipv6
ospfv3 1
router-id 5.5.5.5
ospfv3 2
router-id 5.5.5.5
interface GigabitEthernet0/0/0
ipv6 enable
ipv6 address 2001:45::5/64
ospfv3 1 area 0.0.0.0
interface LoopBack0
ipv6 enable
ipv6 address 5::5/128
ospfv3 1 area 0.0.0.0