Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.1 Legacy Series
»
OPNsense advertising default gateway via OSPF even when gateway is down
« previous
next »
Print
Pages: [
1
]
Author
Topic: OPNsense advertising default gateway via OSPF even when gateway is down (Read 1888 times)
matthewsdi
Newbie
Posts: 7
Karma: 1
OPNsense advertising default gateway via OSPF even when gateway is down
«
on:
March 25, 2020, 08:37:03 pm »
INTERNET <=> CABLE MODEM <=> OPNsense <=> OSPF-ROUTER <=> Client Computer
I've got a problem with OSPF, in that it keeps advertising that it has a default gateway even when the internet is unreachable to OPNsense. My OSPF router has other paths with a higher cost to the internet, but because OPNsense keeps advertising the default route my Client Computers get routed to nowhere.
Originally I thought it was because the cable modem(OPNsense gateway for static IP) is up, so I added 8.8.8.8 as the monitor IP for that gateway and it now correctly shows Offline when the upstream provider goes down, but it still seems to advertise a default route to downstream OSPF routers.
Does anyone know how to configure this correctly? I can only find an option to always advertise default route which is the opposite of what I want, and the manual reads as though the default should be to not distribute.
Logged
fabian
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: OPNsense advertising default gateway via OSPF even when gateway is down
«
Reply #1 on:
March 25, 2020, 09:11:03 pm »
This is an FRR feature which does not interact with gateway monitoring. As long as the cable is not unplugged, it will think that it is online. I do not know if there is any FRR setting to check it differently.
Logged
matthewsdi
Newbie
Posts: 7
Karma: 1
Re: OPNsense advertising default gateway via OSPF even when gateway is down
«
Reply #2 on:
March 25, 2020, 09:37:59 pm »
I really appreciate the response. That's what I was afraid of. I'll dig into FRR docs. Thanks
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
20.1 Legacy Series
»
OPNsense advertising default gateway via OSPF even when gateway is down