Ben Stienstra

Linux, Unix, network, radio and more...

User Tools

Site Tools


centos_7_static_routes

CentOS 7 - static routes

  • Note the correct connection:
    nmcli c
  • Edit connection:
    nmcli c edit <uuid>
    nmcli> set ipv4.routes 192.168.122.0/24 10.10.10.1
    nmcli> save persistent
    nmcli> quit
  • Activate:
    nmcli c up <nic name>
centos_7_static_routes.txt · Last modified: 2015/02/26 16:08 by admin