50 lines
1.0 KiB
Plaintext
50 lines
1.0 KiB
Plaintext
# 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 192.168.2.254
|
|
network 192.168.2.0
|
|
netmask 255.255.255.0
|
|
broadcast 192.168.2.255
|
|
gateway 192.168.2.1
|
|
dns-nameservers 127.0.0.1
|
|
dns-search anw-km.netz
|
|
|
|
#auto dsl-provider
|
|
#iface dsl-provider inet ppp
|
|
# pre-up /sbin/ifconfig eth2 up # line maintained by pppoeconf
|
|
# provider dsl-provider
|
|
|
|
|
|
#-----------------------------
|
|
# eth1 - LAN
|
|
#-----------------------------
|
|
|
|
auto eth1
|
|
iface eth1 inet static
|
|
address 192.168.122.254
|
|
network 192.168.122.0
|
|
netmask 255.255.255.0
|
|
broadcast 192.168.122.255
|
|
|
|
auto eth1:0
|
|
iface eth1:0 inet static
|
|
address 192.168.122.53
|
|
network 192.168.122.0
|
|
netmask 255.255.255.0
|
|
broadcast 192.168.122.255
|