Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • Dude... seriously, thank you so much. I truly appreciate it. I really needed that. SO - if you wouldn't mind - in order to duplicate what is on my RHEL 6 server, the below is the way to do it?
    – ripvw32
    Commented May 21 at 22:43
  • Keep routes: ens1f0 10.0.0.0/24 0.0.0.0 eno5np0 10.38.149.240/28 0.0.0.0
    – ripvw32
    Commented May 21 at 22:43
  • Remove route: sudo nmcli connection modify eno5np0 -ipv4.routes "0.0.0.0/0 10.38.149.241" (remove default route from NIC0)
    – ripvw32
    Commented May 21 at 22:45
  • Add routes: sudo nmcli connection modify ens1f0 +ipv4.routes "0.0.0.0/0 10.0.0.1" (add default route to NIC1) sudo nmcli connection modify eno5np0 +ipv4.routes "10.0.0.0/8 10.38.149.241" sudo nmcli connection modify ens1f0 +ipv4.routes "0.0.0.0/32 10.0.0.1"
    – ripvw32
    Commented May 21 at 22:45