In RHEL 7 the default networking service is provided by NetworkManager. NetworkManager is a dynamic network control and configuration daemon that attempts to keep network devices and connections up and active when they are available.
The NetworkManager Command Line tool, nmcli, is used to control the NetworkManager.
Example – create a DHCP network connection:
- nmcli c add type ethernet con-name nat-conn ifname ens33
- nmcli c up nat-conn
- more /etc/sysconfig/network-scripts/ifcfg-nat-conn
- ip addr show