Unable to annouce static routes with Quagga OSPFd
-
Hi,
I'm adding static routes to my pfsense using for example:
route add -net 10.1.88.0/24 -interface ovpns1 -staticI want to annouce these routes with my ospf daemon.
I use the option "Redistribute kernel" but still I can't see these routes advertised to the neighboring routers.
Here is my ospfd conf:
**_interface em0
interface ovpns1router ospf
redistribute connected
redistribute kernel
network 10.1.3.0/24 area 0.0.0.0
network 10.0.88.0/30 area 0.0.0.0_**Any idea about the problem?
Thank you!
-
are the routes showing up in the routing table? (Diagnostics->Routing tables)
have you tried adding the routes, the normal way ? (using the webgui system->routing->routes). This only works if you have interfaces assigned to your openvpn instances.
Also might be worth restarting quagga.if all else fails you could use the zebra static routes:
goto quagga webgui –> raw config-->zebra.conf
ip route 10.1.88.0/24 ovpns1
in global settings –> check Redistribute static
fyi: all openvpn related routes, shouldn't be done with static routes ... it should be done using openvpns' builtin tools for routing.
-
Yes the routes are displayed in the routing table:
10.0.88.0/24 10.0.88.2 UGS 0 1500 ovpns1They appear even in Quagga Zebra Routes:
K>* 10.0.88.0/24 via 10.0.88.2, ovpns1But I can't see them in Quagga OSPF Database. So it's normal that their not announced;
Adding routes using the GUI is not really what I need.
In deed when add routes to the zebra daemon I can see them announced.
I have tried adding static routes to quagga ospf in debian and their are announced with no problems!!
(What I'm trying to do is annoncing client routes once their connected to my openvpn server. So I need to add static routes)