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

测试结果及分析

相关推荐
神梦流4 分钟前
GE 引擎的内存优化终局:静态生命周期分析指导下的内存分配与复用策略
linux·运维·服务器
凡人叶枫6 分钟前
C++中输入、输出和文件操作详解(Linux实战版)| 从基础到项目落地,避坑指南
linux·服务器·c语言·开发语言·c++
符哥200828 分钟前
用Apollo + RxSwift + RxCocoa搭建一套网络请求框架
网络·ios·rxswift
相思难忘成疾31 分钟前
通向HCIP之路:第四步:边界网关路由协议—BGP(概念、配置、特点、常见问题及其解决方案)
网络·华为·hcip
Lsir10110_44 分钟前
【Linux】进程信号(下半)
linux·运维·服务器
君陌社区·网络安全防护中心1 小时前
基于Mininet模拟SDN环境
网络
Porco.w1 小时前
C#与三菱PLC FX5U通信
网络·c#
skywalk81631 小时前
unbound dns解析出现问题,寻求解决之道
运维·服务器·dns·unbound
枷锁—sha1 小时前
Burp Suite 抓包全流程与 Xray 联动自动挖洞指南
网络·安全·网络安全
酉鬼女又兒1 小时前
零基础入门Linux指南:每天一个Linux命令_pwd
linux·运维·服务器