网络部分实验

在这里插入图片描述
配置

[r1-Tunnel0/0/1]nhrp network-id 100

interface Tunnel0/0/1
tunnel-protocol gre p2mp
source 15.1.1.1
nhrp entry multicast dynamic
nhrp network-id 100

return
[r1-Tunnel0/0/1]ip ad 10.1.2.1 24

interface Tunnel0/0/1
ip address 10.1.2.1 255.255.255.0
tunnel-protocol gre p2mp
source 15.1.1.1
nhrp entry multicast dynamic
nhrp network-id 100

[r1]dis nhrp peer a
[r1]dis nhrp peer all

Protocol-addr Mask NBMA-addr NextHop-addr Type Flag

10.1.2.2 32 25.1.1.1 10.1.2.2 dynamic route tunnel

Tunnel interface: Tunnel0/0/1
Created time : 00:03:52
Expire time : 01:56:08

Protocol-addr Mask NBMA-addr NextHop-addr Type Flag

10.1.2.3 32 35.1.1.1 10.1.2.3 dynamic route tunnel

Tunnel interface: Tunnel0/0/1
Created time : 00:01:07
Expire time : 01:58:53

Number of nhrp peers: 2
[r1]ping 10.1.2.3
PING 10.1.2.3: 56 data bytes, press CTRL_C to break
Reply from 10.1.2.3: bytes=56 Sequence=1 ttl=255 time=40 ms
Reply from 10.1.2.3: bytes=56 Sequence=2 ttl=255 time=20 ms
Reply from 10.1.2.3: bytes=56 Sequence=3 ttl=255 time=20 ms
Reply from 10.1.2.3: bytes=56 Sequence=4 ttl=255 time=30 ms
Reply from 10.1.2.3: bytes=56 Sequence=5 ttl=255 time=30 ms

— 10.1.2.3 ping statistics —
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 20/28/40 ms

[r1]ping 10.1.1.2
PING 10.1.1.2: 56 data bytes, press CTRL_C to break
Reply from 10.1.1.2: bytes=56 Sequence=1 ttl=255 time=30 ms
Reply from 10.1.1.2: bytes=56 Sequence=2 ttl=255 time=30 ms
Reply from 10.1.1.2: bytes=56 Sequence=3 ttl=255 time=10 ms
Reply from 10.1.1.2: bytes=56 Sequence=4 ttl=255 time=20 ms
Reply from 10.1.1.2: bytes=56 Sequence=5 ttl=255 time=30 ms

— 10.1.1.2 ping statistics —
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 10/24/30 ms
[r1]rip
[r1-rip-1]version 2
[r1-rip-1]un summary
[r1-rip-1]network 192.168.1.0
[r1-rip-1]network 10.0.0.0
[r1]q
sy
[r1]dis ip rou protocol rip
Route Flags: R - relay, D - download to fib

Public routing table : RIP
Destinations : 3 Routes : 3

RIP routing table status :
Destinations : 3 Routes : 3

Destination/Mask Proto Pre Cost Flags NextHop Interface

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值