...
Edit the file /etc/iproute2/rt_tables and add new routing table entry with id "1" named "rt1"
In order to add new routing entry to the new routing table use the "ip route" command.
This command will add new temporary entry to the routing table.Add a default gateway entry :
Code Block default via <interface default gateway> dev <interface name> table <routing table name>
Example : For adding the default gateway 192.168.1.1 to interface eth1Code Block language bash theme RDark ip route add default via 192.168.1.1 dev eth1 table rt1
Add a routing entry :
Code Block ip route add <destinamtion ip address or subnet> dev <interface name> table <routing table name>
Example : For adding the route entry to subnet 192.168.1.x to interface eth1Code Block language bash theme RDark ip route add 192.168.1.0/24 dev eth1 table rt1
- After confirming the needed network connectivity to the monitored device.
Add New Routing Rules
The