Check which network interface is in use. In the example above, the eth0 network interface is active.

Step 3

To add your additional IP as an alias, you must modify the record for the network interface used in /etc/network/interfaces. This file is responsible for managing the network configuration in Debian. Enter the following to make this change:

[root@localhost ~]# vi /etc/network/interfaces

# This file describes the network interfaces available on your system# and how to activate them. For more information, see interfaces(5).