devstack/tools/xen/templates/interfaces.in
root b115341253 Generalize xen network config
Allow dhcp for IP addresses.
dhclient3 bug workaround.
Refactor code to improve network creation logic.

Change-Id: Ia3e2e65bbe8b68cf4832595cb7c283c3dc84db19
2012-02-14 15:30:34 -08:00

27 lines
578 B
Plaintext

auto lo
iface lo inet loopback
# If eth3 is static, the order should not matter
# and eth0 will have the default gateway. If not,
# we probably want the default gateway to be
# what is on the public interface. Hence changed
# the order here.
auto eth3
iface eth3 inet static
address @ETH3_IP@
netmask @ETH3_NETMASK@
auto eth1
iface eth1 inet static
address @ETH1_IP@
netmask @ETH1_NETMASK@
post-up ethtool -K eth1 tx off
auto eth2
iface eth2 inet static
address @ETH2_IP@
netmask @ETH2_NETMASK@
auto eth0
iface eth0 inet dhcp