Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
[SOLVED] Static route configuration issue
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] Static route configuration issue (Read 6614 times)
tofaz
Jr. Member
Posts: 58
Karma: 4
[SOLVED] Static route configuration issue
«
on:
November 08, 2018, 03:07:29 am »
Hi all,
I am trying to setup a static route on my LAN interfance in order to link a second network behind a router on my private network. My private network is a 10.0.0.0/24 and the other network is a 172.16.0.0/24. The router has the interface1 with 10.0.0.160 and interface2 with 172.16.0.1.
I have added a new gateway in System->Gateways->Single as 10.0.0.160 on the LAN interface.
But when I'm going to add the static route in System->Routes->Configuration, it is not allowing me to add a route for the network 172.16.0.0 on the LAN new added gateway (Message "Specify a valid network matching the gateways ip protocol").
Am I doing something wrong?
I have tried on another kind of firewall and it is allowing me to add the static route.
Thank you!
«
Last Edit: November 12, 2018, 04:19:26 am by 2fun0
»
Logged
tofaz
Jr. Member
Posts: 58
Karma: 4
Re: Static route configuration issue
«
Reply #1 on:
November 12, 2018, 04:18:46 am »
I have found the issue. The route has to be specified as network/mask, so in my case 172.16.0.0/24 worked.
I honestly was too used to the PFsense GUI.
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: [SOLVED] Static route configuration issue
«
Reply #2 on:
November 12, 2018, 08:33:56 am »
Hi there,
Thanks for posting your solution.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
[SOLVED] Static route configuration issue