CCNP(BSCI)实验:手动IPv6 Tunnel(隧道)实验

网友投稿 297 2022-09-22


CCNP(BSCI)实验:手动IPv6 Tunnel(隧道)实验

R1(config)#int s2/1R1(config-if)#ip add 12.0.0.1 255.255.255.0R1(config-if)#no shR1(config-if)#int lo0R1(config-if)#ipv6 add 1::1/64

R3(config)#int lo0R3(config-if)#ipv6 add 3::1/64R3(config-if)#int s2/1R3(config-if)#ip add 23.0.0.3 255.255.255.0R3(config-if)#no sh

R2(config)#int s2/1R2(config-if)#ip add 12.0.0.2 255.255.255.0R2(config-if)#no shR2(config-if)#int s2/2R2(config-if)#ip ad 23.0.0.2 255.255.255.0R2(config-if)#no sh第二步:配置IPv4路由

R1(config)#router eigrp 123R1(config-router)#no auR1(config-router)#net 12.0.0.0

R3(config)#router ei 123R3(config-router)#net 23.0.0.3R3(config-router)#no au

R2(config)#router ei 123R2(config-router)#no auR2(config-router)#net 12.0.0.2R2(config-router)#net 23.0.0.2R2(config-router)#end第三步:查看IPv4路由

R1#sh ip rouCodes: C - connected, S - static, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2ia - IS-IS inter area, * - candidate default, U - per-user static routeo - ODR, P - periodic downloaded static route

Gateway of last resort is not set

23.0.0.0/24 is subnetted, 1 subnetsD 23.0.0.0 [90/2681856] via 12.0.0.2, 00:00:42, Serial2/112.0.0.0/24 is subnetted, 1 subnetsC 12.0.0.0 is directly connected, Serial2/1

R2#sh ip rouCodes: C - connected, S - static, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2ia - IS-IS inter area, * - candidate default, U - per-user static routeo - ODR, P - periodic downloaded static route

Gateway of last resort is not set

23.0.0.0/24 is subnetted, 1 subnets

C 23.0.0.0 is directly connected, Serial2/212.0.0.0/24 is subnetted, 1 subnetsC 12.0.0.0 is directly connected, Serial2/1

R3#sh ip rouCodes: C - connected, S - static, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2ia - IS-IS inter area, * - candidate default, U - per-user static routeo - ODR, P - periodic downloaded static route

Gateway of last resort is not set

23.0.0.0/24 is subnetted, 1 subnetsC 23.0.0.0 is directly connected, Serial2/112.0.0.0/24 is subnetted, 1 subnetsD 12.0.0.0 [90/2681856] via 23.0.0.2, 00:01:34, Serial2/1实验过程:

第一步:配置隧道R1(config)#int tunnel 0R1(config-if)#tunnel source s2/1R1(config-if)#tunnel destination 23.0.0.3R1(config-if)#ipv6 add 13::1/64R1(config-if)#tunnel mode ipv6ip

R3(config)#int tunnel 0R3(config-if)#tunnel source s2/1R3(config-if)#tunnel destination 12.0.0.1R3(config-if)#ipv add 13::3/64R3(config-if)#tunnel mode ipv6ip第二步:测试隧道

R1#ping 13::1

Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 13::1, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/8 ms第三步:配置iPv6路由

R1(config)#ipv6 route 3::/64 tunnel 0R3(config)#ipv6 route 1::/64 tunnel 0第四步:调试过程

R1#debug ipv6 packet IPv6 unicast packet debugging is onR1#ping 3::1

Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 3::1, timeout is 2 seconds:! !!!!Dec 2 13:08:19.527: IPv6: SAS picked source 13::1 for 3::1 (Tunnel0)Dec 2 13:08:19.531: IPV6: source 13::1 (local)Dec 2 13:08:19.535: dest 3::1 (Tunnel0)Dec 2 13:08:19.535: traffic class 0, flow 0x0, len 100+0, prot 58, hops 64, originatingDec 2 13:08:19.535: IPv6: Sending on Tunnel0Dec 2 13:08:19.639: IPV6: source 3::1 (Tunnel0)Dec 2 13:08:19.639: dest 13::1Dec 2 13:08:19.643: traffic class 0, flow 0x0, len 100+20, prot 58, hops 64, forward to ulpDec 2 13:08:19.647: IPv6: SAS picked source 13::1 for 3::1 (Tunnel0)Dec 2 13:08:19.647: IPV6: source 13::1 (local)Dec 2 13:08:19.647: dest 3::1 (Tunnel0)Success rate is 100 percent (5/5), round-trip min/avg/max = 56/106/200 msR1#Dec 2 13:08:19.651: traffic class 0, flow 0x0, len 100+0, prot 58, hops 64, originatingDec 2 13:08:19.651: IPv6: Sending on Tunnel0Dec 2 13:08:19.843: IPV6: source 3::1 (Tunnel0)Dec 2 13:08:19.843: dest 13::1Dec 2 13:08:19.847: traffic class 0, flow 0x0, len 100+20, prot 58, hops 64, forward to ulpDec 2 13:08:19.851: IPv6: SAS picked source 13::1 for 3::1 (Tunnel0)Dec 2 13:08:19.851: IPV6: source 13::1 (local)Dec 2 13:08:19.851: dest 3::1 (Tunnel0)Dec 2 13:08:19.855: traffic class 0, flow 0x0, len 100+0, prot 58, hops 64, originatingDec 2 13:08:19.855: IPv6: Sending on Tunnel0Dec 2 13:08:19.935: IPV6: source 3::1 (Tunnel0)Dec 2 13:08:19.939: dest 13::1Dec 2 13:08:19.939: traffic class 0, flow 0x0, len 100+20, prot 58, hops 64, forward to ulpDec 2 13:08:19.943: IPv6: SAS picked source 13::1 for 3::1 (Tunnel0)Dec 2 13:08:19.943: IPV6: source 13::1 (local)Dec 2 13:08:19.943: deR1#st 3::1 (Tunnel0)Dec 2 13:08:19.947: traffic class 0, flow 0x0, len 100+0, prot 58, hops 64, originatingDec 2 13:08:19.947: IPv6: Sending on Tunnel0Dec 2 13:08:20.015: IPV6: source 3::1 (Tunnel0)Dec 2 13:08:20.015: dest 13::1Dec 2 13:08:20.019: traffic class 0, flow 0x0, len 100+20, prot 58, hops 64, forward to ulpDec 2 13:08:20.023: IPv6: SAS picked source 13::1 for 3::1 (Tunnel0)Dec 2 13:08:20.023: IPV6: source 13::1 (local)Dec 2 13:08:20.023: dest 3::1 (Tunnel0)Dec 2 13:08:20.027: traffic class 0, flow 0x0, len 100+0, prot 58, hops 64, originatingDec 2 13:08:20.027: IPv6: Sending on Tunnel0Dec 2 13:08:20.075: IPV6: source 3::1 (Tunnel0)Dec 2 13:08:20.075: dest 13::1Dec 2 13:08:20.079: traffic class 0, flow 0x0, len 100+20, prot 58, hops 64, forward to ulp

R1#debug ip packetR1#ping 3::1

Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 3::1, timeout is 2 seconds:!!! !!Dec 2 13:10:56.531: IP: s=12.0.0.1 (Tunnel0), d=23.0.0.3 (Serial2/1), len 120, sendingDec 2 13:10:56.635: IP: tableid=0, s=23.0.0.3 (Serial2/1), d=12.0.0.1 (Serial2/1), routed via RIBDec 2 13:10:56.639: IP: s=23.0.0.3 (Serial2/1), d=12.0.0.1 (Serial2/1), len 120, rcvd 3Dec 2 13:10:56.643: IP: s=12.0.0.1 (Tunnel0), d=23.0.0.3 (Serial2/1), len 120, sendingDec 2 13:10:56.759: IP: tableid=0, s=23.0.0.3 (Serial2/1), d=12.0.0.1 (Serial2/1), routed via RIBDec 2 13:10:56.759: IP: s=23.0.0.3 (Serial2/1), d=12.0.0.1 (Serial2/1), len 120, rcvd 3Dec 2 13:10:56.767: IP: s=12.0.0.1 (Tunnel0), d=23.0.0.3 (Serial2/1), len 120, sendingSuccess rate is 100 percent (5/5), round-trip min/avg/max = 72/100/124 msDec 2 13:10:56.835: IP: tableid=0, s=23.0.0.3 (Serial2/1), d=12.0.0.1 (Serial2/1), routed via RIBDec 2 13:10:56.835: IP: s=23.0.0.3 (Serial2/1), d=12.0.0.1 (Serial2/1), len 120, rcvd 3Dec 2 13:10:56.843: IP: s=12.0.0.1 (Tunnel0), d=23.0.0.3 (Serial2/1), len 120, sendingDec 2 13:10:56.963: IP: tableid=0, s=23.0.0.3 (Serial2/1), d=12.0.0.1 (Serial2/1), routed via RIBDec 2 13:10:56.963: IP: s=23.0.0.3 (Serial2/1), d=12.0.0.1 (Serial2/1), len 120, rcvd 3*Dec 2 13:10:56.971: IP: s=12.0.0.1 (Tunnel0), d=23.0.0.3 (Serial2/1), len 120, sending


版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:CCNP(BSCI)实验:RIPng实验(ccnp有实验吗)
下一篇:java编程小白进阶包的作用详解
相关文章

 发表评论

暂时没有评论,来抢沙发吧~