欢迎来到天天文库
浏览记录
ID:47127485
大小:14.48 KB
页数:4页
时间:2019-08-09
《被动接口与单播更新》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、被动接口与单播更新1.实验目的通过本实验可以掌握:(1)被动接口的含义、配置和应用场合(2)单播更新的应用场合和配置2.拓扑结构实验拓扑如图4-2所示。由于以太口lo1和lo2连接主机,不需要向这些接口发送路由更新,所以可以考虑将路由器的该接口设置为被动接口。3.实验步骤(1)步骤1:配置路由器R1R1(config)#routerripR1(config-router)#version1R1(config-router)#network10.0.0.0R1(config-router)#network172.16.0.0R1(config-router
2、)#network192.168.1.0R1(config-router)#passive-interfacelo1R1(config-router)#passive-interfacelo2(2)步骤2:配置路由器R2R2(config)#routerripR2(config-router)#version1R2(config-router)#network192.168.1.0R2(config-router)#network2.0.0.04.实验调试R1#debugipripR1#cleariproute*[color=#8B0000]Dec281
3、7:39:15.515:RIP:sendingv1updateto255.255.255.255viaSerial1/1(192.168.1.1)[/color]Dec2817:39:15.519:RIP:buildupdateentriesDec2817:39:15.519: network10.0.0.0metric1Dec2817:39:15.523: network172.16.0.0metric1R1#Dec2817:39:22.095:RIP:receivedv1updatefrom192.168.1.2onSerial1/1De
4、c2817:39:22.095: 2.0.0.0in1hopsDec2817:39:22.979:RIP:receivedv1requestfrom192.168.1.2onSerial1/1Dec2817:39:22.983:RIP:sendingv1updateto192.168.1.2viaSerial1/1(192.168.1.1)Dec2817:39:22.983:RIP:buildupdateentriesDec2817:39:22.987: network10.0.0.0metric1Dec2817:39:22.987:
5、 network172.16.0.0metric1Dec2817:39:22.991:RIP:receivedv1requestfrom192.168.1.2onSerial1/1Dec2817:39:22.991:RIP:sendingv1updateto192.168.1.2viaSerial1/1(192.168.1.1)Dec2817:39:22.999:RIP:buildupdateentriesR1#Dec2817:39:23.003: network10.0.0.0metric1Dec2817:39:23.003: netwo
6、rk172.16.0.0metric1Dec2817:39:23.011:RIP:receivedv1requestfrom192.168.1.2onSerial1/1Dec2817:39:23.015:RIP:sendingv1updateto192.168.1.2viaSerial1/1(192.168.1.1)Dec2817:39:23.015:RIP:buildupdateentriesDec2817:39:23.019: network10.0.0.0metric1Dec2817:39:23.027: network172.16.0
7、.0metric1R1#Dec2817:39:25.023:RIP:receivedv1updatefrom192.168.1.2onSerial1/1Dec2817:39:25.023: 2.0.0.0in1hops从以上输出可以看出,路由器R1确实不向被动接口lo1和lo2发送路由更新。都是发向Serial1/1【技术要点】被动接口只能接收路由更新,不能以广播或组播方式发送更新,但是可以以单播的方式发送更新,配置单播更新的命令如下:R1(config-router)#neighborA.B.C.D【实例】如图4-3所示,路由器R1只想把路由
8、更新送到路由器R3上,由于RIPv1路由协议采用广播更新,默认情况下,路由更新将
此文档下载收益归作者所有