To cover all the aspects of network configuration for a Linux system administrator, we need huge books. So, in this little section, we will cover only the essential topics that every Ubuntu Server administrator will need to set up and change the network settings.
In this section, we will have a look at the core files for the network settings for the Ubuntu Server.
Note
Note that after modifying any of these files, you should restart the network process by typing in the following command:
sudo /etc/init.d/networking restart
Unlike Red Hat manners, Ubuntu and all the Debian-based distributions use a unique file to configure all the network interfaces; this file is named /etc/network/interfaces
. In general, for Ubuntu servers, you will find the loopback and Ethernet interfaces. For loopback interfaces (127.0.0.1), its configuration is standard and doesn't need any modification from your side. For Ethernet interfaces, you will...