# 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 #----------------------------- # eth0 - WLAN #----------------------------- auto eth0 iface eth0 inet static address 192.168.43.254 network 192.168.43.0 netmask 255.255.255.0 broadcast 192.168.43.255 #----------------------------- # eth1 - LAN #----------------------------- auto eth1 eth1:ns iface eth1 inet static address 192.168.42.254 network 192.168.42.0 netmask 255.255.255.0 broadcast 192.168.42.255 iface eth1:ns inet static address 192.168.42.1 network 192.168.42.1 netmask 255.255.255.255 broadcast 192.168.42.1 #----------------------------- # eth2 - WAN #----------------------------- # The primary network interface auto eth2 iface eth2 inet static address 172.16.42.1 netmask 255.255.255.0 network 172.16.42.0 broadcast 172.16.42.255 gateway 172.16.42.254 #post-up vconfig add eth2 7 #post-down vconfig rem eth2.7 ## dns-* options are implemented by the resolvconf package, if installed #dns-nameservers 172.16.42.1 #dns-search b3-bornim.netz #iface eth2 inet static # address 172.17.42.1 # netmask 255.255.255.0 # network 172.17.42.0 # broadcast 172.17.42.255 # gateway 172.17.42.254 # post-up vconfig add eth2 7 # post-down vconfig rem eth2.7 # # dns-* options are implemented by the resolvconf package, if installed # dns-nameservers 172.16.42.1 # dns-search b3-bornim.netz #auto eth2:atb #iface eth2:atb inet static # address 10.2.1.50 # netmask 255.255.255.0 # network 10.2.1.0 #auto dsl-b3 #iface dsl-b3 inet ppp # pre-up /sbin/ifconfig eth2 up # line maintained by pppoeconf # pre-up /sbin/ifconfig eth2.7 up # line maintained by pppoeconf # provider dsl-b3 #----------------------------- # eth3 - ATB #----------------------------- #auto eth3 #iface eth3 inet static # address 10.2.1.50 # netmask 255.255.255.0 # network 10.2.1.0 # #gateway 10.2.1.1