OSPF 多区域配置

ospf

 

实验拓扑及网络规划:如上图

 

 

实验任务和目标:

任务1.按照实验要求连接拓扑。

任务2.完成所有网络基本IP配置【环回除外】,并测试网络联通性。

任务3.启动骨干区域AREA 0OSPF进程。

任务4.启动末节区域AREA 1OSPF进程。

任务5.启动完全末节区域AREA12OSPF进程。

任务6.测试网络连通性,观察路由表,观察内置表,观察邻居表,观察BORD-ROUTER【截图验证】

任务7.修改AREA 12的完全末节区域为标准区域,配置环回接口。

任务8.发布OSPF AS外部直连环回接口OSPF  AS中,并配置ROUTER 6的缺省路由,并测试ROUTER 7ROUTER 6的环回连通性【截图验证】

任务9.观察路由表,观察BORD-ROUTER【截图验证】。

 

 

实验操作过程及配置说明:

 

任务1.按照实验要求连接拓扑。

 

11

 

 

任务2.完成所有网络基本IP配置【环回除外】,并测试网络联通性。

 

 

r1#show ip int bri

Interface                  IP-Address      OK? Method Status                Protocol

Serial0/0                  192.168.1.1     YES manual up                    up     

Serial0/1                  192.168.1.5     YES manual up                    up     

Serial0/2                  192.168.1.9     YES manual up                    up     

Serial0/3                  10.1.1.2        YES manual up                    up     

 

r2#show ip int bri

Interface                  IP-Address      OK? Method Status                Protocol

Serial0/0                  192.168.1.2     YES manual up                    up     

Serial0/1                  192.168.1.6     YES manual up                    up     

Serial0/2                  unassigned      YES unset  administratively down down   

Serial0/3                  unassigned      YES unset  administratively down down   

Ethernet1/0                unassigned      YES unset  administratively down down   

Ethernet1/1                192.168.1.13    YES manual up                    up     

Ethernet1/2                unassigned      YES unset  administratively down down 

 

r3#show ip int bri

Interface                  IP-Address      OK? Method Status                Protocol

Serial0/0                  unassigned      YES unset  administratively down down   

Serial0/1                  unassigned      YES unset  administratively down down   

Serial0/2                  192.168.1.10    YES manual up                    up     

Serial0/3                  unassigned      YES unset  administratively down down   

Ethernet1/0                unassigned      YES unset  administratively down down   

Ethernet1/1                192.168.1.14    YES manual up                    up     

Ethernet1/2                unassigned      YES unset  administratively down down   

Ethernet1/3                unassigned      YES unset  administratively down down   

 

 

r4#show ip int bri

Interface                  IP-Address      OK? Method Status                Protocol

Serial0/0                  192.168.12.1    YES manual up                    up     

Serial0/1                  192.168.12.5    YES manual up                    up     

Serial0/2                  192.168.12.9    YES manual up                    up     

Serial0/3                  10.12.12.2      YES manual up                    up     

 

 

r5#show ip int bri

Interface                  IP-Address      OK? Method Status                Protocol

Serial0/0                  192.168.12.2    YES manual up                    up     

Serial0/1                  192.168.12.6    YES manual up                    up     

Serial0/2                  unassigned      YES unset  administratively down down   

Serial0/3                  unassigned      YES unset  administratively down down   

Ethernet1/0                unassigned      YES unset  administratively down down   

Ethernet1/1                192.168.12.13   YES manual up                    up     

Ethernet1/2                unassigned      YES unset  administratively down down   

Ethernet1/3                unassigned      YES unset  administratively down down

 

 

r6#show ip int bri

Interface                  IP-Address      OK? Method Status                Protocol

Serial0/0                  unassigned      YES unset  administratively down down   

Serial0/1                  unassigned      YES unset  administratively down down   

Serial0/2                  192.168.12.10   YES manual up                    up     

Serial0/3                  unassigned      YES unset  administratively down down   

Ethernet1/0                unassigned      YES unset  administratively down down   

Ethernet1/1                192.168.12.14   YES manual up                    up     

Ethernet1/2                unassigned      YES unset  administratively down down   

Ethernet1/3                unassigned      YES unset  administratively down down   

 

 

r7#show ip int bri

Interface                  IP-Address      OK? Method Status                Protocol

Serial0/0                  unassigned      YES unset  administratively down down   

Serial0/1                  10.1.1.1        YES manual up                    up     

Serial0/2                  10.12.12.1      YES manual up                    up     

Serial0/3                  unassigned      YES unset  administratively down down

 

 

 

任务3.启动骨干区域AREA 0OSPF进程。

 

r7(config)#router ospf 10

r7(config-router)#router-id 7.7.7.7

r7(config-router)#network 10.1.1.1 0.0.0.0 a 0

r7(config-router)#network 10.12.12.1 0.0.0.0 a 0

r7(config-router)#end

 

r1(config)#router ospf 10

r1(config-router)#router-id 1.1.1.1

r1(config-router)#network 10.1.1.2 0.0.0.0 a 0

r1(config-router)#end

 

r4(config)#router ospf 10

r4(config-router)#router-id 4.4.4.4

r4(config-router)#network 10.12.12.2 0.0.0.0 a 0

r4(config-router)#end

 

 

任务4.启动末节区域AREA 1OSPF进程。(stub)

 

r1(config)#router ospf 10

r1(config-router)#network 192.168.1.1 0.0.0.0 area 1

r1(config-router)#network 192.168.1.5 0.0.0.0 area 1

r1(config-router)#network 192.168.1.9 0.0.0.0 area 1

r1(config-router)#network 10.1.1.2 0.0.0.0 area 0

r1(config-router)#area 1 stub

 

r2(config)#router ospf 10

r2(config-router)#network 192.168.1.2 0.0.0.0 area 1

r2(config-router)#network 192.168.1.6 0.0.0.0 area 1

r2(config-router)#network 192.168.1.13 0.0.0.0 area 1

r2(config-router)#area 1 stub

 

r3(config)#router ospf 10

r3(config-router)#network 192.168.1.10 0.0.0.0 area 1

r3(config-router)#network 192.168.1.14 0.0.0.0 area 1

r3(config-router)#area 1 stub

 

r1#show ip route

Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP

       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

       E1 - OSPF external type 1, E2 - OSPF external type 2

       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2

       ia - IS-IS inter area, * - candidate default, U - per-user static route

       o - ODR, P - periodic downloaded static route

 

Gateway of last resort is not set

     10.0.0.0/24 is subnetted, 2 subnets

O       10.12.12.0 [110/128] via 10.1.1.1, 00:46:23, Serial0/3

C       10.1.1.0 is directly connected, Serial0/3

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值