Book Image

Mastering Linux Network Administration

By : Jay LaCroix
Book Image

Mastering Linux Network Administration

By: Jay LaCroix

Overview of this book

Linux is everywhere. Whether you run a home office, a small business, or manage enterprise systems, Linux can empower your network to perform at its very best. Armed with the advanced tools and best practice guidance of this practical guide, you'll be able to mold Linux networks to your will, empowering your systems and their users to take advantage of all that Linux-based networks have to offer. Understand how Linux networks function and get to grips with essential tips and tricks to manage them - whether you're already managing a networks, or even just starting out. With Debian and CentOS as its source, this book will divulge all the details you need to manage a real Linux-based network. With detailed activities and instructions based on real-world scenarios, this book will be your guide to the exciting world of Linux networking.
Table of Contents (17 chapters)
Mastering Linux Network Administration
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Naming the network device


Nowadays, it's not uncommon for a computer to have multiple network interfaces. For example, if you're using a laptop (other than an Ultrabook), it's likely that you have a wired, as well as a wireless, network interface. Each network interface will have its own IP address and they operate independently of each other. In fact, you can even route traffic between multiple interfaces, though this is typically disabled by default in most Linux distributions. Just like each interface has its own IP address, each will also be identified by the system by its own device name. Before we discuss this further, go ahead and take a look at the device names on your system. Open up a terminal and type the following command:

ip addr show

Your output will look like this:

The output of the ip command, showing network interfaces and address assignments

In this example, we see three network interfaces listed. The first, lo, is the local loopback adapter. The second listing, eth0, is the...