# /etc/network/interfaces - vps: LAN, WAN (WAN on eth0)
#
# ::copy::
# ::maintainer::
#
# on vps machines usually the only interface available get the pubblic
# address, to mantain coerence with our network structure, we define
# the internal network on a dummy interface
#
# note that you can manage the net-firewall module in this way,
# assigning dummy0 to the trusted interface (LAN), and eth0 to the
# untrusted one (WAN)
#
auto lo
	iface lo inet loopback

# WAN=eth0 ::network_eth0.desc::
#
auto eth0
	iface eth0 inet static
	address ::network.wan_address::
	netmask ::network.wan_netmask::
	gateway ::network.wan_gateway::
	mtu ::network_eth0.mtu::
	::network_eth0.parms::

# LAN=dummy0 ::network_dummy0.desc::
#
auto dummy0
	iface dummy0 inet static
	address ::network.network::.::network.address::
	netmask ::network.netmask::
	::network_dummy0.parms::

source /etc/network/interfaces.d/*

# /etc/network/interfaces (eof)
