动态路由由ENSP设置

划分IP及环回地址

r1:

Interface                         IP Address/Mask      Physical   Protocol  
GigabitEthernet0/0/0              192.168.1.1/30       up         up        
GigabitEthernet0/0/1              unassigned           down       down      
GigabitEthernet0/0/2              unassigned           down       down      
LoopBack0                         192.168.1.2/27       up         up(s)     
NULL0                             unassigned           up         up(s)  

r2:

Interface                         IP Address/Mask      Physical   Protocol  
GigabitEthernet0/0/0              192.168.1.2/30      up         up        
GigabitEthernet0/0/1              unassigned           down       down      
GigabitEthernet0/0/2              unassigned           down       down      
LoopBack0                         192.168.1.33/27      up         up(s)     
NULL0                             unassigned           up         up(s)  

r3:

Interface                         IP Address/Mask      Physical   Protocol  
GigabitEthernet0/0/0              192.168.1.3/30     up         up        
GigabitEthernet0/0/1              192.168.1.193/30     up         up        
GigabitEthernet0/0/2              unassigned           down       down      
LoopBack0                         192.168.1.65/27      up         up(s)     
NULL0                             unassigned           up         up(s)  

r4:

Interface                         IP Address/Mask      Physical   Protocol  
GigabitEthernet0/0/0              192.168.1.225/30     up         up        
GigabitEthernet0/0/1              unassigned           down       down      
GigabitEthernet0/0/2              unassigned           down       down      
LoopBack0                         4.4.4.4/24           up         up(s)     
NULL0                             unassigned           up         up(s)   

配置OSPF:

area0:

r1:

 r2:

r3:

area1:

[r3-ospf-1-area-0.0.0.1]network 192.168.1.192 0.0.0.255

DR/BDR选举

手工认证

[r1-GigabitEthernet0/0/0]ospf authentication-mode md5 1 cipher 123456

[r2-GigabitEthernet0/0/0]ospf authentication-mode md5 1 cipher 123456

[r3-GigabitEthernet0/0/0]ospf authentication-mode md5 1 cipher 123456

[r4-GigabitEthernet0/0/0]ospf authentication-mode md5 1 cipher 123456

全网可达:

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值