-
-
Save pellaeon/0d5dd49a20102ca284e4 to your computer and use it in GitHub Desktop.
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 | |
iface eth0 inet static | |
address x.y.54.50 | |
netmask 255.255.255.0 | |
network x.y.54.0 | |
broadcast x.y.54.255 | |
gateway x.y.54.254 | |
# dns-* options are implemented by the resolvconf package, if installed | |
dns-nameservers 8.8.8.8 | |
dns-search demo.openstack.xxxx.tw | |
auto eth1 | |
iface eth1 inet static | |
address 172.17.1.1 | |
netmask 255.255.255.0 | |
network 172.17.1.0 | |
broadcast 172.17.1.255 |
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 | |
iface eth0 inet manual | |
up ifconfig $IFACE 0.0.0.0 up | |
up ip link set $IFACE promisc on | |
down ip link set $IFACE promisc off | |
down ifconfig $IFACE down | |
auto br-ex | |
iface br-ex inet static | |
address x.y.54.54 | |
netmask 255.255.255.0 | |
network x.y.54.0 | |
broadcast x.y.54.255 | |
gateway x.y.54.254 | |
# dns-* options are implemented by the resolvconf package, if installed | |
dns-nameservers 8.8.8.8 | |
dns-search demo.openstack.xxxx.tw | |
auto eth1 | |
iface eth1 inet static | |
address 172.17.1.5 | |
netmask 255.255.255.0 | |
network 172.17.1.0 | |
broadcast 172.17.1.255 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment