Cisco模拟器-OSPF路由协议

设计要求用两台双口路由器连接不同IP网段的计算机,并使用OSFP协议发现路由表使不同IP网段的计算机可以相互通信。

通过设计,可以连通IP地址网段不同的局域网,可应用在园区网的互连和互通的实现上。

复制代码
 主要配置步骤
路由器0:
Router>enable
Router#config terminal
Router(config)#interface FastEthernet 0/0
Router(config-if)#ip address 200.1.3.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#interface FastEthernet 0/1
Router(config-if)# ip address 200.1.1.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#router ospf 1
Router(config-router)#network 200.1.3.0 0.0.0.255 area 1
Router(config-router)#network 200.1.1.0 0.0.0.255 area 1

路由器1:
Router>enable
Router#config terminal
Router(config)#interface FastEthernet 0/0
Router(config-if)#ip address 200.1.2.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#interface FastEthernet 0/1
Router(config-if)# ip address 200.1.1.2 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#router ospf 1
Router(config-router)#network 200.1.2.0 0.0.0.255 area 1
Router(config-router)#network 200.1.1.0 0.0.0.255 area 1

测试结果及分析

相关推荐
Kainy19 小时前
93条CVE怎么核对?用Syft生成SBOM加Grype匹配,把服务器漏洞排查从体力活变成三步自动化
运维·服务器·自动化
Fu2067211 天前
第一阶段项目
linux·服务器·网络
吴建旭 智宅焕1 天前
智能家居全国交付的确定性架构设计与实现:从不确定转化到交付基础设施
运维·智能家居·devops
张张123y1 天前
Cordis 插件模型:契约、提供者、插件、作用域、策略包五件套讲透
网络·人工智能·开源·后端开发·ai agent
可涵不会debug2 天前
dufs轻量文件服务器教程:中文界面、WebDAV、上传分享与远程访问
运维·服务器
数据库急诊室_阿哲2 天前
一周慢查询日志审计:1200 条里有多少真问题
运维·数据库·dba
新*2 天前
ES 7.17 三节点 Docker 集群的自动备份:从 NFS 被拦住到用 ACL 根治权限
运维·elasticsearch·docker·slm·快照备份
Decay__2 天前
PostgreSQL DBA 日常运维手册 —— 会话、锁阻塞、慢查询、膨胀与每日巡检
运维·数据库·sql·postgresql
木子欢儿2 天前
Ubuntu 26.04 LTS 安装Python 3.12
linux·运维·服务器·python·ubuntu
时间的拾荒人2 天前
Linux 库的制作与使用(下):链接、加载与动态链接原理
linux·运维·动态库·静态库