OSPF多区域配置(三)

本文详细介绍了如何配置OSPF多区域网络,包括两个区域area0和area1,通过规划route ID,配置路由器接口IP,启动OSPF协议并宣告路由,最终实现两台客户机之间的互通。在配置过程中,分析了路由表信息,验证了网络的负载均衡和可达性。
摘要由CSDN通过智能技术生成

拓扑图:

1.两个区域:area0和area1

2.route ID规划

(1)R1:1.1.1.1

(2)R2:2.2.2.2

(3)R3:3.3.3.3

(4)R4:4.4.4.4

3.目的:验证最终两台客户机之间能否互通

具体操作:

一、给路由器不同端口配置相应IP地址

1.路由器R1

R1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#int f1/0
R1(config-if)#ip add 192.168.10.1 255.255.255.0
R1(config-if)#no shut
R1(config-if)#
*Mar  1 00:08:25.447: %LINK-3-UPDOWN: Interface FastEthernet1/0, changed state to up
*Mar  1 00:08:26.447: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to up
R1(config-if)#int f0/0
R1(config-if)#ip add 192.168.20.1 255.255.255.0
R1(config-if)#no shut
R1(config-if)#
*Mar  1 00:09:07.287: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
*Mar  1 00:09:08.287: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R1(config-if)#int f0/1
R1(config-if)#ip add 192.168.50.2 255.255.255.0
R1(config-if)#no shut
R1(config-if)#
*Mar  1 00:09:33.911: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up
*Mar  1 00:09:34.911: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
R1(config-if)#do show ip int b
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            192.168.20.1    YES manual up                    up      
FastEthernet0/1            192.168.50.2    YES manual up                    up      
FastEthernet1/0            192.168.10.1    YES manual up                    up      
R1(config-if)#

2.路由器R2

R2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#int f0/0
R2(config-if)#ip add 192.168.20.2 255.255.255.0
R2(config-if)#no shut
R2(config-if)#
*Mar  1 00:10:40.915: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
*Mar  1 00:10:41.915: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R2(config-if)#int f0/1
R2(config-if)#ip add 192.168.30.1 255.255.255.0
R2(config-if)#no shut
R2(config-if)#
*Mar  1 00:11:04.627: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up
*Mar  1 00:11:05.627: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
R2(config-if)#do show ip int b
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            192.168.20.2    YES manual up                    up      
FastEthernet0/1            192.168.30.1    YES manual up                    up      
R2(config-if)#

3..路由器R3

R3#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R3(config)#int f0/0
R3(config-if)#ip add 192.168.30.2 255.255.255.0
R3(config-if)#no shut
R3(config-if)#
*Mar  1 00:12:01.899: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
*Mar 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值