Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Static Routing issue
« previous
next »
Print
Pages: [
1
]
Author
Topic: Static Routing issue (Read 1608 times)
SimpleRezo
Newbie
Posts: 37
Karma: 1
Static Routing issue
«
on:
July 02, 2019, 04:41:52 pm »
Hi !
I am facing with trying to set up a static route with OPNSense.
OPNSense has a WAN connected to a modem.
LAN is 192.168.9.0/24 and on the LAN i need to use 192.168.9.1 as gateway for network 192.168.254.0/24.
Here is that I have done:
- add a "Single Gateway" / LAN / 192.168.9.1
- add a route using that single gateway for 192.168.254.0/24
BUT if i enable the new gateway, LAN is loosing internet connectivity and OPNSense is using this gateway as default route (check by netstat -rn), despite is not marked "default" and the other gateway is of course still marked as Enabled AND Default (and setup for interface WAN).
So, if :
- I boot with the new gateway disabled, the route is not present ;
- If I enable the gateway, the route is added, BUT my LAN is loosing Internet connectivity ;
- If I disable the gateway, the route is still present and working (and LAN has Internet connectivity) !
More (maybe) useful information:
- Gateway switching is Enabled (System/Settings/General)
- Interfaces / LAN / Upstream Gateway set to "auto-detect"
- Interfaces / WAN / Upstream Gateway set to "GW_WAN"
Thanks for your help!
Logged
Clément - SimpleRezo
RMM for OPNsense:
https://srbox.simplerezo.com/
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Static Routing issue