[Xorp-users] help establishing OSPF adjacencies

Nick Feamster feamster@lcs.mit.edu
Mon, 17 Oct 2005 13:43:26 -0400


Hi,

I can't seem to find much documentation on configuring OSPF in XORP,
which is understandable since it is quite new.  btw, thanks for
implementing this!

I am trying to get an adjacency established between two nodes.  Standard
error/xorpsh shows me this on the two machines.  Both of the eth0
interfaces below are configured with a prefix-length of /24 so they
should, in theory, be in the same subnet.  

I'm wondering why the LSA databases below don't show the adjacency.  Any
potential hangups I should know about?

Thanks,
Nick


Machine 1:
----------
Standard error (LSA announcements)
...
[ 22201   +92 xrl_io.cc send ] send(interface = eth0, vif = eth0, src =
128.31.1.14, dst = 224.0.0.5, payload_size = 44
...


xorpsh
Xorp> show ospf4 database 0.0.0.0 
Type       ID               Adv Rtr           Seq      Age  Opt  Cksum Len
Router  *128.31.1.14      128.31.1.14      0x80000001   326  0x2 0x3e12  36

 interface eth0 {
        description "ethernet adapter"
        disable: false
        discard: true
        vif eth0 {
             disable: false
             address 128.31.1.14 {
                prefix-length: 24
                disable: false
             }
        }
    }

....

    ospf4 {
        router-id: 128.31.1.14

        area 0.0.0.0 {
           interface eth0 {
                vif eth0 {
                  address 128.31.1.14 {
                    interface-cost: 5
                  }
                }
           }
       }
   }


Machine 2:
----------
[ 18333   +92 xrl_io.cc send ] send(interface = eth0, vif = eth0, src =
128.31.1.15, dst = 224.0.0.5, payload_size = 44

xorpsh
Xorp> show ospf4 database 0.0.0.0 
Type       ID               Adv Rtr           Seq      Age  Opt  Cksum Len
Router  *128.31.1.15      128.31.1.15      0x80000001   326  0x2 0x3e12  36