DHCP push routes
-
Hello everyone,
iam running a dhcp server on my pfsense for my local net and an openvpn server.
LAN NET: 192.168.0.0/16
VPN NET: 10.0.0.0/24My Problem is now that my linux hosts have multiple interfaces and i am no able to ping the vpn gateway unless i manually set a static route on each host
ETH0 -> WAN (No Pfsense)
ETH1 -> LAN (Pfsense DHCP)Can i push the routes via dhcp like ip route add 10.0.0.0/24 via 192.168.0.1 to my linux hosts so i can reach them via vpn ?
I tried to add the Gateway (192.168.0.1) in DHCP Config but it wont configure it on the linux machines.
On the Windows machines it works because they have only the LAN Interface configured.Thanks in advance
-
push the routes via dhcp like ip route add 10.0.0.0/24 via 192.168.0.1
set Additional BOOTP/DHCP Options in DHCP Server
number 121
type string
value 18:0a:00:00:c0:a8:00:01Tested with Tumbleweed dhclient
https://forum.pfsense.org/index.php?topic=94570.0