Suppose you have a LAN on 192.168.$W.0/24, and from there you connect to
other subnets via VPN: 192.168.$X.0/24, 192.168.$Y.0/24, 192.168.$Z.0/24
.... your Ethernet interface sets the route to the $W subnet when it's
brought up. Could you set a single route to 192.168.0.0/16 pointing to
the VPN gateway?
Oh yeah, the VPN gateway is another host on the $W subnet.
My theory here is that the $W route will take priority, and that the
catchall /16 route will grab all the $X, $Y and $Z traffic. Do I need to
use iproute2 to set routing priority, or will this work with good 'ol
/sbin/route?
--
/dev/rob0 - preferred_email=i$((28*28+28))@softhome.net
or put "not-spam" or "/dev/rob0" in Subject header to reply
|