red hat 8 default route for secondary ip address code example Example: how to put a route to host on redhat ~]# ip route add 192.0.2.0/24 via 10.0.0.1 [dev ifname]