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 manually

Configuring the network manually

From the course: Learning CentOS Linux

Start my 1-month free trial

Configuring the network manually

- [Instructor] If we're configuring the network on CentOS manually, we'll find the network configurations in the etc/sysconfig/network-scripts folder. In here, we'll find the configuration file for each network interface on the system and other files that take certain actions with the network interfaces based on various conditions. We won't dig into those here, but if you start adding network interfaces or want to tie specific activities to changes in the network conditions, you might need to edit them. For now, we'll focus on this first file here, for my system's primary network interface. The name may be different on your system. The name of the interface comes from the Predictable Network Interface Device Naming Scheme, and in my case, I see en01, the first onboard ethernet adaptor. To edit the interface configuration file, I'll type vi ifcfg-en01. Inside the file, I see some particular settings for the network device, including the device name, the hardware or Mac address for this…

Contents