# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback #----------------------------- # eth1 - LAN #----------------------------- auto eth1 eth1:0 iface eth1 inet static address 192.168.132.254 network 192.168.132.0 netmask 255.255.255.0 broadcast 192.168.132.255 iface eth1:0 inet static address 192.168.132.1 network 192.168.132.0 netmask 255.255.255.0 broadcast 192.168.132.255 #----------------------------- # eth2 - WAN #----------------------------- auto eth2 iface eth2 inet static address 172.16.132.1 network 172.16.132.0 netmask 255.255.255.0 broadcast 172.16.132.255 gateway 172.16.132.254 #----------------------------- # br0 (bind eth0 + wlan0) - WAN #----------------------------- auto br0 iface br0 inet static address 192.168.133.254 network 192.168.133.0 netmask 255.255.255.0 broadcast 192.168.133.255 bridge_ports eth0 wlan0 bridge_stp off bridge_maxwait 1 iface eth0 inet manual iface wlan0 inet manual