[Xorp-users] Questions on OSPF

Kristian Larsson kristian at spritelink.net
Thu Sep 13 06:45:12 PDT 2007


Hansi wrote:
> Hello All,
> 
> I'm currently learning how to configure OSPFv2 on two XORP machines just 
> to establish adjacency with one another. In a p2p link type, is it still 
> necessary to explicitly set the 'neighbor' parameter of each machine 
> before adjacency is established? Furthermore, would it be possible to 
> set the router-id to its loopback address? instead of say.. the ip 
> address of the interface on which ospf will be used?

The neighbor command is only useful if you are using a medium on which 
the routers cannot broadcast and thus cannot discover each other.
If you're using ethernet (which I presume from your NIC names) you do 
not have to use the neighbor statements. I would advice configuring the 
interfaces as link-type p2p as this avoids DR election and unnecessary 
CPU load.

Yes, you can use your loopback as router-id, it's actually the prefered 
way of configuring things.

    Kristian.



More information about the Xorp-users mailing list