IPv6-OVER-IPV44 手动隧道

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

实验报告

实验人:高承旺

实验名称:H3C的ipv6-overipv4手工隧道配置实验目录:

➢配置IP地址

➢IPv4网络通信

➢配置ipv6-overipv4手工隧道

➢IPv6网络通信

实验拓扑:

实验步骤:

根据实验拓扑配置IP地址

[R1]int lo0

[R1-LoopBack0]ipv6 add 1::1/128

[R1-LoopBack0]undo ipv6 nd ra halt

[R1]int s0/2/0

[R1-Serial0/2/0]ip add 192.168.1.1 24

[R2]int s0/2/0

[R2-Serial0/2/0]ip add 192.168.1.1 24

[R2]int s0/2/2

[R2-Serial0/2/2]ip add 192.168.2.1 24

[R3]int s0/2/0

[R3-Serial0/2/0]ip add 192.168.2.2 24

[R3]int lo0

[R3-LoopBack0]ipv6 add 2::2/128

[R3-LoopBack0]undo ipv6 nd ra halt

➢IPv4网络通信(使用的rip路由协议)

[R1]rip

[R1-rip-1]ver 2

[R1-rip-1]undo sum

[R1-rip-1]net 192.168.1.0

[R1-rip-1]q

[R2]rip

[R2-rip-1]ver 2

[R2-rip-1]undo sum

[R2-rip-1]net 192.168.1.0

[R2-rip-1]net 192.168.2.0

[R2-rip-1]q

[R3]rip

[R3-rip-1]ver 2

[R3-rip-1]undo sum

[R3-rip-1]net 192.168.2.0

[R3-rip-1]q

让IPv4网络通信没有问题

[R3]ping 192.168.1.1

PING 192.168.1.1: 56 data bytes, press CTRL_C to break

Reply from 192.168.1.1: bytes=56 Sequence=1 ttl=255 time=8 ms Reply from 192.168.1.1: bytes=56 Sequence=2 ttl=255 time=1 ms Reply from 192.168.1.1: bytes=56 Sequence=3 ttl=255 time=20 ms Reply from 192.168.1.1: bytes=56 Sequence=4 ttl=255 time=20 ms Reply from 192.168.1.1: bytes=56 Sequence=5 ttl=255 time=10 ms

--- 192.168.1.1 ping statistics ---

5 packet(s) transmitted

5 packet(s) received

0.00% packet loss

round-trip min/avg/max = 1/11/20 ms

➢配置ipv6-overipv4手工隧道并让IPv6网络通信

[R1]ripng 1 //一定要在接口开启ripng之前开启全局ripng [R1]interface Tunnel 0(可以配置0到1023)

[R1-Tunnel0]ipv6 address 2001::1/64

[R1-Tunnel0]tunnel-protocol ipv6-ipv4

[R1-Tunnel0]source s0/2/0

[R1-Tunnel0]destination 192.168.2.2

[R1-Tunnel0]ripng 1 enable

[R1-Tunnel0]q

[R1]int lo0

[R1-LoopBack0]ripng 1 enable

[R1-LoopBack0]q

➢配置ipv6-overipv4手工隧道并让IPv6网络通信

[R3]ripng 1一定要在接口开启ripng之前开启全局ripng

[R3]interface Tunnel 0

[R3-Tunnel0]ipv6 add 2001::2/64

[R3-Tunnel0]tunnel-protocol ipv6-ipv4

[R3-Tunnel0]source s0/2/0

[R3-Tunnel0]destination 192.168.1.1

[R3-Tunnel0]ripng 1 enable

[R3-Tunnel0]q

[R3]int lo0

[R3-LoopBack0]ripng 1 enable

➢实验成功

[R3]ping ipv6 -a 2::2 1::1

PING 1::1 : 56 data bytes, press CTRL_C to break

Reply from 1::1

bytes=56 Sequence=1 hop limit=64 time = 15 ms

Reply from 1::1

bytes=56 Sequence=2 hop limit=64 time = 10 ms

Reply from 1::1

bytes=56 Sequence=3 hop limit=64 time = 1 ms

Reply from 1::1

bytes=56 Sequence=4 hop limit=64 time = 20 ms

Reply from 1::1

bytes=56 Sequence=5 hop limit=64 time = 10 ms

--- 1::1 ping statistics ---

5 packet(s) transmitted

5 packet(s) received

0.00% packet loss

相关文档
最新文档