收藏 分销(赏)

ODR配置实例.doc

上传人:仙人****88 文档编号:8552587 上传时间:2025-02-18 格式:DOC 页数:7 大小:234.73KB 下载积分:10 金币
下载 相关 举报
ODR配置实例.doc_第1页
第1页 / 共7页
ODR配置实例.doc_第2页
第2页 / 共7页


点击查看更多>>
资源描述
ODR配置实例 1、在中央路由器上,使用全局命令router odr 配置ODR。 2、在末节路由器上,无需配置任何IP路由选择协议,也无需配置静态路由,也无需配置ODR。事实上,从ODR的角度看,没有配置任何路由选择协议的路由器自动被视为末节路由器。 3、下图是一个中央-分支拓扑的网络:(GNS3配置实验经常会出错,对机器要求也比较高,经常用GNS3画拓扑,用小凡做配置)  小凡模拟如下:    4、RA的配置如下: Router(config)#hostname RA RA(config)#interface E0/0 RA(config-if)#ip address 10.10.2.1   255.255.0.0 RA(config-if)#no shutdownRA(config-if)#exit RA(config)#interface e0/1 RA(config-if)#ip address  1.1.1.1 255.255.255.0 RA(config-if)#cdp enable RA(config-if)#no shutdownRA(config-if)#exit  RA(config)#interface e0/2 RA(config-if)#ip address  2.2.2.2  255.255.255.0 RA(config-if)#cdp enable RA(config-if)#no shutdown RA(config-if)#exit RA(config)#interface e0/3 RA(config-if)#ip address  3.3.3.3   255.255.255.0 RA(config-if)#cdp enable RA(config-if)#no shutdownRA(config-if)#exit  RA(config)#interface e1/0 RA(config-if)#ip address  10.10.1.1  255.255.255.0 RA(config-if)#cdp enable RA(config-if)#no shutdownRA(config-if)#exit RA(config)#router odr RA(config-router)#network  10.0.0.0 RA(config-router)#network  1..0.0.0 RA(config-router)#network  2.0.0.0 RA(config-router)#network  3.0.0.0   5、RB的配置如下: Router(config)#hostname RB RB(config)#interface E0/0 RB(config-if)#ip address 1.1.1.2    255.255.255.0 RB(config-if)#no shutdown RB(config-if)#cdp  enable RB(config)#interface e0/1 RB(config-if)#ip address 172.16.1.1  255.255.255.0RB(config-if)#no shutdownRB(config-if)#exit   6、RC的配置如下:  Router(config)#hostname RC RB(config)#interface E0/0 RB(config-if)#ip address 2.2.2.2   255.255.255.0 RB(config-if)#no shutdown RB(config-if)#cdp  enable RB(config)#interface e0/1 RB(config-if)#ip address 172.16.2.1  255.255.255.0RB(config-if)#no shutdownRB(config-if)#exit   7、RD的配置如下: Router(config)#hostname RC RB(config)#interface E0/0 RB(config-if)#ip address  3.3.3.2    255.255.255.0 RB(config-if)#no shutdown RB(config-if)#cdp  enable RB(config)#interface e0/1 RB(config-if)#ip address 172.16.3.1  255.255.255.0RB(config-if)#no shutdownRB(config-if)#exit   8、Internet的配置如下: Router(config)#hostname InternetInternet(config)#interface loopback 0 Internet(config-if)#ip address 172.16.4.1   255.255.255.0 Internet(config-if)#exit Internet(config)#interface e0/0 Internet(config-if)#ip address 10.10.0.2  255.255.255.0 Internet(config-if)#cdp enable Internet(config-if)#no shutdown Internet(config-if)#exit  9、在RA上查看路由表:   ,再RB上查看路由表: 每台分支路由器的路由表中只包含其直连网络和来自中央路由器的ODR默认静态路由。
展开阅读全文

开通  VIP会员、SVIP会员  优惠大
下载10份以上建议开通VIP会员
下载20份以上建议开通SVIP会员


开通VIP      成为共赢上传

当前位置:首页 > 教育专区 > 小学其他

移动网页_全站_页脚广告1

关于我们      便捷服务       自信AI       AI导航        抽奖活动

©2010-2026 宁波自信网络信息技术有限公司  版权所有

客服电话:0574-28810668  投诉电话:18658249818

gongan.png浙公网安备33021202000488号   

icp.png浙ICP备2021020529号-1  |  浙B2-20240490  

关注我们 :微信公众号    抖音    微博    LOFTER 

客服