How can set a gateway to a specific route? For example,
all traffic going to 192.168.1.0 network should go through
192.168.1.254.What I want to avoid doing a setting 192.168.1.254 as I
already have one to leads to another network. In other words, how can
I get:
~:route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 192.168.1.254 255.255.255.128 UG 0 0 0 eth0
anothernetwork * somemask U 0 0 0 eth0
default somegwip 0.0.0.0 UG 0 0 0 eth0