O'Reilly logo

Essential Linux® Administration: A Comprehensive Guide for Beginners by Serge Palladino, Chuck Easttom

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Network Configuration

In Chapter 9, “TCP/IP,” you were introduced to basic TCP/IP concepts and shown some basic utilities you could use in Linux. You also saw how to use a basic method to configure the network card’s IP address from the shell. In this chapter, we will delve deeper into how to configure network settings in Linux, both from the shell and the desktop.

Configuring the Network Card

If you wanted, you could give this eth0 interface an IP address using the ifconfig command.

ifconfig eth0 10.0.0.11 netmask 255.255.255.0 up

You saw this command in Chapter 9. Unfortunately, simply executing this at the shell is a temporary option. To make this permanent, you will need to add this command in your /etc/rc.local file, which is run ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required