...
Code Block | ||
---|---|---|
| ||
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet dhcp # Second IP auto eth0:1 iface eth0:1 inet static address 64.73.220.111 gateway 64.73.220.1 netmask 255.255.255.0 |
Based on my home server work, I might need a name server entry, but I am not convinced I do based on my readings. I understand resolv.conf is supposed to be the source for the name serve entrie and even the static ip entry will use it.
References
Best article yet - https://www.garron.me/en/linux/add-secondary-ip-linux.html
...