Cisco 路由器1.5作业 OSPF

要求


使用动态路由OSPF协议实现全网联通

在这里插入图片描述


一、基础配置


1、路由器1配置

en
conf t
int f0/0
ip add  192.168.1.18  255.255.255.252
no shut
exit

int s0/0/0
ip add  192.168.0.233   255.255.255.252
clock rate 64000
no shut
exit

int s0/1/1
ip add  192.168.0.229   255.255.255.252
no shut
exit


2、路由器2配置

en
conf t
int f0/0
ip add  192.168.1.21  255.255.255.252
no shut
exit

int s0/0/0
ip add  192.168.0.234   255.255.255.252
no shut
exit

int s0/1/0
ip add  192.168.0.238   255.255.255.252
clock rate 64000
no shut
exit


3、路由器3配置

en
conf t
int f0/0
ip add  192.168.1.26  255.255.255.252
no shut
exit

int s0/1/1
ip add  192.168.0.230   255.255.255.252
clock rate 64000
no shut
exit

int s0/1/0
ip add  192.168.0.237   255.255.255.252
no shut
exit


4、路由器4配置

en
conf t
int f0/0
ip add  192.168.1.17  255.255.255.252
no shut
exit

int f0/1
ip add  172.16.149.254    255.255.255.0
no shut
exit


5、路由器5配置

en
conf t
int f0/0
ip add  192.168.1.22  255.255.255.252
no shut
exit

int f0/1
ip add  172.16.150.254    255.255.255.0
no shut
exit


6、路由器6配置

en
conf t
int f0/0
ip add  192.168.1.25  255.255.255.252
no shut
exit

int f0/1
ip add  172.16.151.254    255.255.255.0
no shut
exit


二、OSPF配置


1、路由器1配置

en
conf t
router ospf  149
router-id   0.0.0.1
network  192.168.1.16    0.0.0.3   area  149
network  192.168.0.232    0.0..0.3   area  149
network  192.168.0.228    0.0.0.3   area  149

2、路由器2配置

en
conf t
router ospf  149
router-id   0.0.0.2
network  192.168.1.20    0.0.0.3   area  149
network  192.168.0.232    0.0..0.3   area  149
network  192.168.0.236    0.0.0.3   area  149

3、路由器3配置

en
conf t
router ospf  149
router-id   0.0.0.3
network  192.168.1.24    0.0.0.3   area  149
network  192.168.0.236    0.0..0.3   area  149
network  192.168.0.228    0.0.0.3   area  149

4、路由器4配置

en
conf t
router ospf  149
router-id   0.0.0.4
network  192.168.1.16    0.0.0.3   area  149
network  172.16.149.0    0.0.0.255   area  149


5、路由器5配置

en
conf t
router ospf  149
router-id   0.0.0.5
network  192.168.1.20    0.0.0.3   area  149
network  172.16.150.0    0.0.0.255   area  149

6、路由器6配置

en
conf t
router ospf  149
router-id   0.0.0.1
network  192.168.1.24    0.0.0.3   area  149
network  172.16.151.0    0.0.0.255   area  149

三、测试联通

  • 2
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值