IPV6 TO IPV4隧道模式
- R1:
en conf t ipv6 unicast-routing int f0/0 ip add 10.0.0.1 255.255.255.0 no sh int f1/0 ipv6 address 2001:1::1/64 no sh exit ip route 10.0.1.0 255.255.255.0 10.0.0.2 int tunnel 0 ipv6 address 2001:2::1/64 no shut tunnel source 10.0.0.1 tunnel destin 10.0.1.2 tunnel mode ipv6ip exit ipv6 route 2001:3::/64 2001:2::2 end show ip route
- R2:
en conf t int f0/0 ip add 10.0.0.2 255.255.255.0 no sh int f1/0 ip address 10.0.1.1 255.255.255.0 no sh
- R3:
en conf t ipv6 unicast-routing int f1/0 ip add 10.0.1.2 255.255.255.0 no sh int f0/0 ipv6 address 2001:3::1/64 no sh exit ip route 10.0.0.0 255.255.255.0 10.0.1.1 int tunnel 0 ipv6 address 2001:2::2/64 no shut tunnel source 10.0.1.2 tunnel destin 10.0.0.1 tunnel mode ipv6ip exit ipv6 route 2001:1::/64 2001:2::1 end show ip route
- 测试:
HOST1:
HOST2:
温馨提示:如无特殊说明,本站文章均为作者原创,转载时请注明出处及相应链接!