In file named after the interface you want to use as gateway: e.g. /etc/sysconfig/network-scripts/route-eth0 Create entries : ADDRESS=192.168.4.0 NETMASK=255.255.255.0 GATEWAY=192.168.1.250 NnJoy 🙂
Setting a route for a nic in Linux
Posted on