IPv6-over-IPv4 GRE隧道
下面给出路由器R2和R3上的配置:
R2#sh run
ipv6 unicast-routing
!
interface Tunnel0
no ip address
ipv6 address 2006:CCCC::1/64
ipv6 rip xuhui enable
tunnel source Serial1/2
tunnel destination 202.100.2.2
!
interface Ethernet0/0
no ip address
full-duplex
ipv6 address 2005:CCCC::1/64
ipv6 rip xuhui enable
!
interface Serial1/2
ip address 202.100.2.1 255.255.255.0
serial restart-delay 0
!
ipv6 router rip xuhui
!
ipv6 unicast-routing
!
interface Tunnel0
no ip address
ipv6 address 2006:CCCC::1/64
ipv6 rip xuhui enable
tunnel source Serial1/2
tunnel destination 202.100.2.2
!
interface Ethernet0/0
no ip address
full-duplex
ipv6 address 2005:CCCC::1/64
ipv6 rip xuhui enable
!
interface Serial1/2
ip address 202.100.2.1 255.255.255.0
serial restart-delay 0
!
ipv6 router rip xuhui
!
R3#sh run
ipv6 unicast-routing
!
interface Tunnel0
no ip address
ipv6 address 2006:CCCC::2/64
ipv6 rip xuhui enable
tunnel source Serial1/3
tunnel destination 202.100.2.1
!
interface Ethernet0/0
no ip address
full-duplex
ipv6 address 2004:CCCC::1/64
ipv6 rip xuhui enable
!
interface Serial1/3
ip address 202.100.2.2 255.255.255.0
serial restart-delay 0
!
ipv6 router rip xuhui
!
ipv6 unicast-routing
!
interface Tunnel0
no ip address
ipv6 address 2006:CCCC::2/64
ipv6 rip xuhui enable
tunnel source Serial1/3
tunnel destination 202.100.2.1
!
interface Ethernet0/0
no ip address
full-duplex
ipv6 address 2004:CCCC::1/64
ipv6 rip xuhui enable
!
interface Serial1/3
ip address 202.100.2.2 255.255.255.0
serial restart-delay 0
!
ipv6 router rip xuhui
!
转载于:https://blog.51cto.com/xuhuihihi/293168