IPV6 TO IPV4隧道模式

作者: admin 分类: 网络 发布时间: 2019-04-29 01:11 浏览:783 次    

%title插图%num

  • 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:

%title插图%num

HOST2:

%title插图%num

%title插图%num

 


温馨提示:如无特殊说明,本站文章均为作者原创,转载时请注明出处及相应链接!

发表评论