Table of nm settings

Home

1 nm settings compared to ifcfg settings

nmcli con mod ifcfg-* file Effect
ipv4.method manual BOOTPROTO=none IPv4 address configured statically
ipv4.method auto BOOTPROTO=dhcp Will look for configuration
    settings from a DHCPv4 server
ipv4.address IPADDR=192.168.0.10 Set static IPv4 address,
"192.168.0.10/24" PREFIX=24 network prefix
ipv4.gateway 192.168.0.1 GATEWAY=192.168.0.1 Set IPv4 Gateway
ipv4.dns 8.8.8.8 DNS1=8.8.8.8 Modify /etc/resolv.conf to
    use this nameserver
ipv4.dns-search DOMAIN=example.com Modify /etc/resolv.conf to use this
example.com   domain in the search directive
ipv4.ignore-auto-dns PEERDNS=no Ignore DNS Server information from
true   the DHCP Server
connection.autoconnect ONBOOT=yes Automatically activate this
yes   connection on boot
connection.id eth0 NAME=eth0 The name of this connection
connection.interface-name DEVICE=eth0 The connection is bound to the
eth0   network interface with this name
802-3-ethernet.mac-address HWADDR= The connection is bound to network
08:00:27:4b:7a:80 08:00:27:4b:7a:80 interface with this MAC Address
ipv4.never-default no DEFROUTE=yes Never use provided interface's
    gateway as default gateway

1.1 Home