Created
February 7, 2014 01:12
-
-
Save tracker1/8855795 to your computer and use it in GitHub Desktop.
network config, multiple ips for a single interface.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 | |
#wan ip | |
iface eth0:0 inet static | |
address 184.183.6.212 | |
netmask 255.255.255.240 | |
gateway 184.183.6.209 | |
dns-nameservers 8.8.8.8 8.8.4.4 | |
auto eth0:0 | |
#lan ip | |
iface eth0:1 inet static | |
address 192.168.44.212 | |
netmask 255.255.255.0 | |
auto eth0:1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment