ip

Adding routes

Add static route to network 192.168.122.0/24 on 192.168.1.200

ip route add 192.168.122.0/24 via 192.168.1.200 dev eth0

Removing routes

Remove route added in the example above

ip route del 192.168.122.0/24