adding route in linux 7 code example Example: how to put a route to host on redhat Click to copy~]# ip route add 192.0.2.0/24 via 10.0.0.1 [dev ifname]