From the course: Learning CentOS Linux

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Configuring the network with NetworkManager

Configuring the network with NetworkManager

From the course: Learning CentOS Linux

Start my 1-month free trial

Configuring the network with NetworkManager

- [Instructor] CentOS, like Redhat, Fedora, Ubuntu, and many other distributions, comes with NetworkManager enabled and in control of network connections. If you're accustomed to configuring the network through config files, as administrators have done for a long time, using NetworkManager can be a little strange, but it's part of the distro, and so if you're learning CentOS, it's a good idea to know how to use it. Whether you keep it enabled is up to you. Let's take a quick look at using NetworkManager to configure this server's network connection, first, to use DHCP, and then to use static address. NetworkManager has a few user interfaces. There are GUI clients for various desktop environments and what's called the Text UI, or TUI, that simulates a graphical interface at the command line. But for whatever reason, that's still incomplete, so we'll use the command line or CLI version here. The command for that is nmcli. Clever, right? nmcli has a lot of options and features, and we…

Contents