# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). source /etc/network/interfaces.d/* # The loopback network interface auto lo iface lo inet loopback iface eth0 inet manual iface eth0 inet6 manual iface eth1 inet manual iface eth1 inet6 manual auto bond0 iface bond0 inet manual bond-mode 4 bond-miimon 100 bond_xit_hash_policy layer2+3 bond_lacp_rate slow slaves eth0 eth1 iface bond0.10 inet manual vlan-raw-device bond0.10 iface bond0.20 inet manual vlan-raw-device bond0.20 iface bond0.30 inet manual vlan-raw-device bond0.30 # the public interface on vlan 10 auto br_wan iface br_wan inet static address 192.168.1.13 netmask 255.255.255.255 bridge_ports bond0.10 bridge_stp off bridge_fd 0 bridge_maxwait 0 # the DMZ on vlan 20 auto br_dmz iface br_dmz inet static address 192.168.1.12 netmask 255.255.255.255 bridge_ports bond0.20 bridge_stp off bridge_fd 0 bridge_maxwait 0 # the private (LAN) interface on vlan 30 auto br_lan iface br_lan inet dhcp bridge_ports bond0.30 bridge_stp off bridge_fd 0 bridge_maxwait 0