[Xorp-users] OSPF neighbor death

Arsi Antila bbb999 at zerodistance.fi
Thu Jan 10 03:43:08 PST 2008


When OSPF p2p neighbor dies, the routes advertised by that neighbor are
not deleted. Is this correct? In broadcast mode the routes for a dead
neighbor are deleted.

The sequence of steps is shown below. Network 192.10.0.0/24 is
advertised by the OSPF neighbor. In broadcast mode this network is not
shown with 'show route table ipv4 unicast final' after the neighbor has
died.


-- Start both routers --

root at sisa1a> show ospf4 neighbor
  Address         Interface             State      ID              Pri  
Dead
10.1.0.1         eth0/eth0              Full      10.1.0.1         128    
38

root at sisa1a> show route table ipv4 unicast final
10.1.0.0/24     [connected(0)/0]
                > via eth0/eth0
192.10.0.0/24   [ospf(110)/2]
                > to 10.1.0.1 via eth0/eth0

-- Neighbor dies --


root at sisa1a> show ospf4 neighbor
  Address         Interface             State      ID              Pri  
Dead
10.1.0.1         eth0/eth0              Down      10.1.0.1           0     
0

root at sisa1a> show route table ipv4 unicast final
10.1.0.0/24     [connected(0)/0]
                > via eth0/eth0
192.10.0.0/24   [ospf(110)/2]
                > to 10.1.0.1 via eth0/eth0



------------------------------------------

interfaces {
  restore-original-config-on-shutdown: false
  interface eth0 {
    default-system-config
  }
}

protocols {
  ospf4 {
    router-id: 10.1.0.2

    area 0.0.0.0 {
      interface eth0 {
        link-type: "p2p"
        vif eth0 {
          address 10.1.0.2 {
            router-dead-interval: 40
            neighbor 10.1.0.1 {
              router-id: 10.1.0.1
            }
          }
        }
      }
    }
  }
}



More information about the Xorp-users mailing list