[Xorp-users] Questions on OSPF

Atanu Ghosh atanu at ICSI.Berkeley.EDU
Thu Sep 13 11:51:32 PDT 2007


>>>>> "Kristian" == Kristian Larsson <kristian at spritelink.net> writes:

    Kristian> 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?

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

I am fairly sure that it is necessary to use the neighbour statements.

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

The requirement is that the router-id is unique for each router so any
value can be used. By convention either the loopback address or the
lowest IP address of all the interfaces is used, hence reducing the
chance of collision.

    Kristian>     Kristian.

    Atanu.



More information about the Xorp-users mailing list