Ipv6 unicast-routing
Interface serial0/0
ip address 10.1.12.1 255.255.255.0
Interface fa1/0
Ipv6 enable
Ipv6 address 2001:0001::FFFF/64
Interface tunnel 0
Ipv6 enable
tunnel mode ipv6ip
tunnel source serial 0/0
tunnel destination 10.1.23.3
ip route 0.0.0.0 0.0.0.0 10.1.12.2
Ipv6 route ::/0 tunnel 0
Interface loopback0
Ip address 132.214.1.10 255.255.255.0
Interface fast0/0
Ipv6 enable
Ipv6 address 2002:84d6:010a:0001:/64 eui-64 !!用于IPv6站点内网的网关
Interface tunnel1
Ipv6 enable
Ipv6 unnumbered fast 0/0
tunnel source loopback0
tunnel mode ipv6ip 6to4
!
Ipv6 route 2002::/16 tunnel1 !!当本地访问远端的6to4网络时,走tunnel
Ipv6 route ::/0 2002:ce7b:1fc8:1::1 !!当访问的远端IPv6网络使用的地址空间不是6to4时,走默认路由,这时候会找下一跳,也就是
欢迎光临 曲径通幽论坛 (http://www.groad.net/bbs/) | Powered by Discuz! X3.2 |