Create a new file named /etc/sysconfig/network-scipts/route-eth0
This file is titled route-eth0 to correspond to the adapter that we want to send the
through in order to get to the selected route.
The contents of the file will simply be the ip subnet that you want to get to, and the
IP address of the interface that you want to send the traffic to in order to get to the
specified subnet.
10.2.0.0/16via10.0.0.24
3. Restart the Network Services:
systemctlrestartnetwork.service
4. Verify the route:
route-n
Debian & Ubuntu Installation:
1. Get Interface Name:
Run an ifconfig or ip addr in order to grab the interface name, that you want to set the route traffic to go through.