扫一扫
分享文章到微信
扫一扫
关注官方公众号
至顶头条
router2(config)#ip route 3.3.3.0 255.255.255.0 2.2.2.2
router4(config)#ip route 2.2.2.0 255.255.255.0 3.3.3.2
ping一下
router2#ping 3.3.3.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3.1, timeout is 2 seconds:
!!!!!
router4#ping 2.2.2.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.1, timeout is 2 seconds:
!!!!!
呵呵 都通了!
好了,现在开始打隧道了
分别在R2、R4上
router2(config)#interface tunnel 0
router2(config-if)#no ip address
router2(config-if)#ipv6 address 2001:250:803:1::1/64
router2(config-if)#tunnel source 2.2.2.1 (R2 e0/1)
router2(config-if)#tunnel destination 3.3.3.1 (R4 e0/0)
router2(config-if)#tunnel mode ipv6ip
router4(config)#interface tunnel 1
router4(config-if)#no ip address
router4(config-if)#ipv6 address 2001:250:803:1::2/64
router4(config-if)#tunnel source 3.3.3.1 (R4 e0/0)
router4(config-if)#tunnel destination 2.2.2.1 (R2 e0/1)
router4(config-if)#tunnel mode ipv6ip
验证一下
router2#ping 2001:250:803:1::2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:250:803:1::2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 52/223/376 ms
router4#ping 2001:250:803:1::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:250:803:1::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 52/205/396 ms
Ok 了
如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。
现场直击|2021世界人工智能大会
直击5G创新地带,就在2021MWC上海
5G已至 转型当时——服务提供商如何把握转型的绝佳时机
寻找自己的Flag
华为开发者大会2020(Cloud)- 科技行者