# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). #----------------------------- # lo - loopback interface #----------------------------- auto lo iface lo inet loopback #----------------------------- # eth2 - WAN #----------------------------- auto eth2 iface eth2 inet static address 172.16.162.1 network 172.16.162.0 netmask 255.255.255.0 broadcast 172.16.162.255 gateway 172.16.162.254 dns-nameservers 127.0.0.1 dns-search blk.netz #----------------------------- # eth1 - LAN #----------------------------- auto eth1 iface eth1 inet static address 192.168.162.254 network 192.168.162.0 netmask 255.255.255.0 broadcast 192.168.162.255 auto eth1:0 iface eth1:0 inet static address 192.168.162.1 network 192.168.162.0 netmask 255.255.255.0 broadcast 192.168.162.255 #----------------------------- # br0 (bind eth0 + wlan0) - WAN #----------------------------- auto br0 iface br0 inet static address 192.168.163.254 network 192.168.163.0 netmask 255.255.255.0 broadcast 192.168.163.255 bridge_ports eth0 wlan0 bridge_stp off bridge_maxwait 1 iface eth0 inet manual iface wlan0 inet manual auto eth1:rescue iface eth1:rescue inet static address 172.16.1.1 network 172.16.1.0 netmask 255.255.255.0 broadcast 172.16.1.255