OSFP邻居建立不成功邻居表为空问题

发布时间:  2012-07-26 浏览次数:  73 下载次数:  0
问题描述
OSFP邻居建立不成功,邻居表为空。
R1----------R2之间建立OSPF邻居不成功,邻居表为空
<R1>disp ospf peer                                                          
                                                                                
                 OSPF Process 1 with Router ID 135.4.1.157                      
                                Neighbors                                       
                                                                                
  Last neighbor down event:                                                     
  ROUTER ID: 135.4.1.156 LOCAL ADDRESS: 135.4.1.154 REMOTE ADDRESS: 135.4.1.153 
TIME: Nov  7 09:25:15 2007 REASON: DeadInterval timer expired  
      
告警信息

      
处理过程
1、检查链路,端口状态正常,暂时排除链路问题。
2、检查配置,
   R1配置没有问题:
 interface Ethernet1/0                                                           
 ip address 135.4.1.154 255.255.255.252  
 ospf 1                                                                          
 area 0.0.0.0                                                                   
  network 135.4.1.152 0.0.0.3                                                   
  network 135.4.1.157 0.0.0.0
R2配置发现接口配置了从地址,而且是从地址与R1建立OSPF邻居的。
interface Ethernet0/0/1                                                         
 ip address 135.4.2.153 255.255.255.252                                         
 ip address 135.4.1.153 255.255.255.252 sub 
ospf 1                                                                          
 area 0.0.0.0                                                                   
  network 135.4.1.152 0.0.0.3                                                   
  network 135.4.1.156 0.0.0.0                                                   
  
OSPF邻居关系不能基于从地址来形成。
把R2接口的从地址设置为主地址后问题解决。
interface Ethernet0/0/1                                                         
 ip address 135.4.1.153 255.255.255.252  
 ip address 135.4.2.153 255.255.255.252   sub
[R2]disp ospf peer                                                           
                                                                                
                 OSPF Process 1 with Router ID 135.4.1.156                      
                                Neighbors                                       
                                                                                
  Area 0.0.0.0 interface 135.4.1.153(Ethernet0/0/1)'s neighbor(s)               
  RouterID: 135.4.1.157     Address: 135.4.1.154                                
        State: Full  Mode: Hold    Priority: 1                                  
        DR: 135.4.1.154  BDR: None                                              
        Dead timer expires in 38s                                               
        Neighbor has been up for 00:00:03                                      
      
根因
1、链路问题。
2、配置问题。
3、其他。
      
建议与总结
OSPF邻居利用主IP地址作为在接口上发送的所有HELLO分组的源地址。
邻居关系不能基于从IP地址来形成的。
      

END