04-09-2021
11:55 PM
- last edited on
06-02-2023
12:38 PM
by
Translator
Hi!
I have problem to get default route into vrf routing table.
We have own MPLS network. In one site we have CE1 device that have static default route in
vrf si-tekniikka
to firewall. Another CE2 device is another site and same
vrf si-tekniikka
configured in bgp process. I can see default route behind that CE1 device.
CE2 has also OSPF process in that
vrf si-tekniikka
OSPF process are configured to
redistribute bgp
6666 subnets. Other side OSPF is
vrf si-tekniikka
but i can see only own interfaces in
vrf si-tekniikka
routing table.
show ip ospf
database external show that routes are in database but i can't see
default route in vrf si-tekniikka
routing table. How can i manage to make this work?
vrf si-tekniikka OSPF ---> OSPF vrf si-tekniikka CE2 --> vrf si-tekniikka CE1 - >
default static route to firewall
I hope you understand what i am trying to do..
Solved! Go to Solution.
04-10-2021
09:32 AM
- last edited on
06-02-2023
12:41 PM
by
Translator
Hi Petri,
The reason the LSA is in the OSPF database and not installed in the RIB, is that when the route is redistributed from BGP to OSPF, the Down bit is set on the LSA. This mechanism is used to avoid routing loops. The other router, which is running in
vrf-lite
mode, will not install it by default.
You need to use the
capability vrf-lite
under the ospf process on the router behind CE2, so that the route will be installed even if the Down bit is set on the external LSA.
router ospf 1 vrf si-tekniikka
capability vrf-lite
For more information, please refer to the following documentation:
Regards,
04-09-2021 11:59 PM
Hello,
post a schematic drawing of your topology, as well as the full configurations of all devices involved.
04-10-2021
09:32 AM
- last edited on
06-02-2023
12:41 PM
by
Translator
Hi Petri,
The reason the LSA is in the OSPF database and not installed in the RIB, is that when the route is redistributed from BGP to OSPF, the Down bit is set on the LSA. This mechanism is used to avoid routing loops. The other router, which is running in
vrf-lite
mode, will not install it by default.
You need to use the
capability vrf-lite
under the ospf process on the router behind CE2, so that the route will be installed even if the Down bit is set on the external LSA.
router ospf 1 vrf si-tekniikka
capability vrf-lite
For more information, please refer to the following documentation:
Regards,
04-11-2021 08:48 PM
Hi!
Thank you very much! This solved my problem.
-Petri
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide