????
| Current Path : /etc/network/interfaces.d/ |
| Current File : //etc/network/interfaces.d/50-cloud-init.cfg |
# This file is generated from information provided by
# the datasource. Changes to it will not persist across an instance.
# To disable cloud-init's network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
auto lo
iface lo inet loopback
dns-nameservers 67.207.67.3 67.207.67.2
auto eth0
iface eth0 inet static
address 157.245.6.140
netmask 255.255.240.0
mtu 1500
post-up route add default gw 157.245.0.1 || true
pre-down route del default gw 157.245.0.1 || true
post-up ifup eth0:1
auto eth0:1
iface eth0:1 inet static
address 10.17.0.5
netmask 255.255.0.0
post-up route add -net 10.17.0.0 netmask 255.255.0.0 gw 10.17.0.1 || true
pre-down route del -net 10.17.0.0 netmask 255.255.0.0 gw 10.17.0.1 || true
auto eth1
iface eth1 inet static
address 10.108.0.2
netmask 255.255.240.0
mtu 1500
post-up route add -net 0.0.0.0 netmask 255.255.240.0 gw 0.0.0.0 || true
pre-down route del -net 0.0.0.0 netmask 255.255.240.0 gw 0.0.0.0 || true