[SOLVED] Static route configuration issue

Started by tofaz, November 08, 2018, 03:07:29 AM

Previous topic - Next topic
November 08, 2018, 03:07:29 AM Last Edit: November 12, 2018, 04:19:26 AM by 2fun0
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!



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.

Hi there,

Thanks for posting your solution. :)


Cheers,
Franco