Office_Networks/123/interfaces.123
2018-05-08 03:01:03 +02:00

72 lines
1.5 KiB
Plaintext

# 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/*
#-----------------------------
# lo - loopback interface
#-----------------------------
auto lo
iface lo inet loopback
#-----------------------------
# eth0 - LAN 1 (WLAN)
#-----------------------------
auto eth0
iface eth0 inet static
address 192.168.143.254
network 192.168.143.0
netmask 255.255.255.0
broadcast 192.168.143.255
#-----------------------------
# eth1 - LAN 2 (Buero Netzwerk)
#-----------------------------
auto eth1
iface eth1 inet static
address 192.168.142.254
network 192.168.142.0
netmask 255.255.255.0
broadcast 192.168.142.255
auto eth1:ns
iface eth1:ns inet static
address 192.168.142.1
network 192.168.142.1
netmask 255.255.255.255
broadcast 192.168.142.1
pre-up /sbin/ifconfig eth1 up
#-----------------------------
# eth2 - WAN
#-----------------------------
auto eth2
iface eth2 inet static
address 172.16.142.1
netmask 255.255.255.0
network 172.16.142.0
broadcast 172.16.142.255
gateway 172.16.142.254
# dns-* options are implemented by the resolvconf package, if installed
#dns-nameservers 127.0.0.1
#dns-search 123.netz
#-----------------------------
# eth3 - LAN 3 (Gast Netzwerk)
#-----------------------------
auto eth3
iface eth3 inet static
address 192.168.144.254
network 192.168.144.0
netmask 255.255.255.0
broadcast 192.168.144.255