[c-nsp] Conflicting OSPF router-ids in separate VRFs

Mateusz Blaszczyk blahu77 at gmail.com
Thu Mar 5 03:23:48 EST 2009


2009/3/5 Justin Shore <justin at justinshore.com>:
> I'm trying to get multiple OSPF instances to work in separate VRFs with all
> OSPF instances using the same router-id.

As you noticed it won't work

[...]

> I have OSPF configured inside the VRF in question.  This is the first of the
> production GRE tunnels we've turned up for this product offering. Tunnel2999
> is my beta tunnel and Tunnel3013 is the production tunnel:
>
> Neighbor ID     Pri   State           Dead Time   Address         Interface
> %OSPF: Router process 3013 is not running, please configure a router-id
> 192.168.100.1     0   FULL/  -        00:00:38    10.125.124.2    Tunnel2999

[...]

> 7613-1(config-router)#router-id 10.125.124.1
> OSPF: router-id 10.125.124.1 in use by ospf process 2999

Since router-id doesn't have to be any configured IP on the box you
could do something like below and still have a "good" template.

router ospf 2999 vrf bla1
  router-id 2.9.9.9

router ospf 3013 vrf bla2
 router-id 3.0.1.3

and everything should be just fine.
You can "encode" these 32bits whatever you like.


Best Regards,

-mat
-- 
pgp-key 0x1C655CAB


More information about the cisco-nsp mailing list