Linux routing table help
This question isn't really too much to do with pfsense (However I run run 2 pfsense boxes!)
I'm trying to add a route in a linux machine (which is using busybox).
i wish to add a route to a 10.87.96.0/24 network.
The hops should be as follows:
10.87.1.1 (default gateway which has a IPSEC tunnel)
10.87.0.1 (Other end of IPSEC tunnel)
10.87.0.29 (A router which knows how to get to my required network_
10.87.96.0/24 (My required network I wish to be able to reach)
My routing table looks like this:
Destination Gateway Genmask Flags Metric Ref Use Iface
10.87.1.0 * 255.255.255.0 U 0 0 0 eth0
default 10.87.1.1 0.0.0.0 UG 0 0 0 eth0
However every time I try and:
route add -net 10.87.96.0 netmask 255.255.255.0 gw 10.87.0.1
I get route:
SIOC[ADD|DEL]RT: Network is unreachable
dotdash last edited by
The next hop needs gateway to be reachable from one of your local interfaces. You would need to configure your IPSec tunnel so that it included the network you needed to reach.