Chapter 3

Basic Linux Network Configuration

IN THIS CHAPTER

Bullet Configuring network interfaces with Cockpit

Bullet Looking directly at network configuration files

Bullet Using the ifconfig command to display network status

In many cases, configuring a Linux server for networking is a snap. When you install Linux, the installation program automatically detects your network adapters and installs the appropriate drivers. Then, you're prompted for basic network configuration information, such as the computer’s IP address, host name, and so on.

However, you may need to manually change your network settings after installation. You may also need to configure advanced networking features that aren’t configured during installation. In this chapter, you discover the basic procedures for configuring Linux networking services.

Using Cockpit to Configure Network Interfaces

Before you can use a network interface to access a network, you have to configure the interface’s basic TCP/IP options, such as its IP address, host name, Domain Name System (DNS) servers, and so on. By default, Linux server is configured to use Dynamic Host Configuration Protocol (DHCP), which means that your server has a dynamic and unpredictable ...

Get Networking All-in-One For Dummies, 8th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.