DNS1=12.34.56.78 DNS2=12.34.56.79
Parent | command | Options | Usage |
---|---|---|---|
connection conn con |
down | deactivate the specified active connection(s) | |
modify / mod | add / modify / remove properties in the connection profile | ||
reload | reload all connection files from disk
NetworkManager does not monitor changes to connection. So you need to run this command so that NetworkManager reloads the connection profiles from disk when a change is made. |
||
show | --active | list active connections only | |
--order [options] |
|
||
up | activate a connection | ||
device | (none) / status | (default action) print status of devices | |
reapply ifName | attempt to update device ifName with changes to the currently active connection made since it was last applied
This is not available on RHEL < 7.3
|
||
general | (none) / status | (default action) show overall status of NetworkManager | |
reload | (none) | reload NetworkManager's configuration and perform certain updates, like flushing caches or rewriting external state to disk | |
conf | reload NetworkManager's configuration from disk, except for connections. To do so, run nmcli con reload | ||
dns-rc | update DNS configuration, which usually involves writing /etc/resolv.conf anew |
ipv4.addresses: 12.34.56.78/32
ipv6.addresses: --
DHCP4.OPTION[1]: broadcast_address = 192.168.1.255 DHCP4.OPTION[7]: ip_address = 192.168.1.103 DHCP4.OPTION[9]: requested_broadcast_address = 1
ipv4.dns: 12.34.56.78,12.34.56.79 ipv4.dns-search: myCompany.tld ipv4.dns-options: (default) ipv4.dns-priority: 0
NAME UUID TYPE DEVICE myEssid 6ae98f8f-4d42-8db8-7a8a-29b931a57157 wifi wlo1 tun0 032e09f7-badd-39d6-4623-02e0c22a66b4 tun tun0 netplan-eno2 b180a970-372e-e833-8635-ff1f330b7d90 ethernet --
NAME UUID TYPE DEVICE eth0 5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03 802-3-ethernet eth0 br-d18efa87a21a d2f29960-dc17-43b9-91e8-f55fbe3a8f4b bridge br-d18efa87a21a docker0 cfd3bb11-9e20-43ca-a901-3480cbf7fcab bridge docker0 br-6a59b1f211e9 436c0a45-09dc-49c1-affe-df222a871acc bridge br-6a59b1f211e9