Red Hat Enterprise Linux 7: Setting up network using a NetworkManager connection editor GUI tool (nm-connection-editor command).
1) If you have “Minimal Install” of RHEL then you need to install group “X Window system” and packages xterm, liberation-sans-fonts and nm-connection-editor. If you have “Server with GUI” or “GNOME Desktop” Base Environment installed then you don’t have to install anything – just run nm-connection-editor command.
1.1) Install group “X Window system”
yum groupinstall "X Window system"
1.2) Install packages xterm, liberation-sans-fonts and nm-connection-editor
yum install xterm
yum install liberation-sans-fonts
yum install nm-connection-editor
2) Once group “X Window system” and packages xterm, liberation-sans-fonts and nm-connection-editor are installed run xinit command.
xinit
3) Run command nm-connection-editor from xterm window:
nm-connection-editor
3.1) To find out Network Interface name use command “ip a” or nmcli dev
ip a
nmcli dev
3.2) Fill in desired network configuration details (IP addr, netmask, default gateway and DNS servers) to nm-connection-editor window.
4) To pick up new updated network details (IP addr, netmask, default gateway and DNS servers) run command:
nmcli con up <connection_name>
5) Verify network configuration
5.1) To check your IP address, please use “ip a” command:
ip a
5.2) To verify your default gateway, please use “ip r” command:
ip r
5.3) To verify DNS servers configuration, please use dig command:
dig redhat.com
NOTE: you need to install bind-utils package for dig command.
yum install bind-utils
5.4) You can also try to ping some remote server:
ping redhat.com
Related Video Tutorials:
Red Hat Enterprise Linux v7 networking
Calculate netmask, network and broadcast address – EASY!
Network Interface naming convention in Red Hat 7
Setting up network without NetworkManager in Redhat 7
Setting up network using NetworkManager and network scripts in Redhat 7
Setting up network using a NetworkManager text user interface (nmtui) in Red Hat 7 – EASY!!!
Setting up network in Red Hat 7 in less than a minute – QUICK & EASY!!!
Setting up network using a NetworkManager command line interface (nmcli) in Red Hat 7
nmcli cheat! Setting up network using nmcli in Red Hat 7 in less than a 30 seconds – QUICK & EASY!!!
Setting up network using a NetworkManager connection editor GUI tool in Red Hat 7 – EASY!!!
Complete Beginners Guide to Linux Network Configuration – GUI & Easy!
NetworkManager connection priority – manage network profile priority in Linux.