devstack_custom/tools/xen/templates/interfaces.in

24 lines
468 B
Text
Raw Normal View History

2011-10-27 05:29:08 +00:00
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto eth1
iface eth1 inet static
2011-10-27 06:29:49 +00:00
# A host-only ip that let's the interface come up, otherwise unused
address 10.255.255.255
2011-10-27 05:29:08 +00:00
netmask @ETH1_NETMASK@
2011-10-27 06:29:49 +00:00
up ifconfig eth1 up
2011-10-27 05:29:08 +00:00
post-up ethtool -K eth1 tx off
auto eth2
iface eth2 inet static
address @ETH2_IP@
netmask @ETH2_NETMASK@
auto eth3
iface eth3 inet static
address @ETH3_IP@
netmask @ETH3_NETMASK@