75 lines
1.6 KiB
Plaintext
75 lines
1.6 KiB
Plaintext
# 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
|
|
|
|
|
|
#-----------------------------
|
|
# eth2 - WAN
|
|
#-----------------------------
|
|
|
|
auto eth2
|
|
iface eth2 inet static
|
|
address 192.168.16.254
|
|
network 192.168.16.0
|
|
netmask 255.255.255.0
|
|
broadcast 192.168.16.255
|
|
# VDSL needs vlan
|
|
post-up vconfig add eth2 7
|
|
post-down vconfig rem eth2.7
|
|
|
|
auto dsl-provider
|
|
iface dsl-provider inet ppp
|
|
pre-up /sbin/ifconfig eth2.7 up # line maintained by pppoeconf
|
|
provider dsl-provider
|
|
|
|
|
|
#-----------------------------
|
|
# eth1 - LAN + WLAN
|
|
#-----------------------------
|
|
|
|
auto eth1 eth1:0
|
|
iface eth1 inet static
|
|
#pre-up ( /sbin/modprobe -r dmfe ; /sbin/modprobe -r tulip ; modprobe tulip; )
|
|
address 192.168.52.254
|
|
network 192.168.52.0
|
|
netmask 255.255.255.0
|
|
broadcast 192.168.52.255
|
|
iface eth1:0 inet static
|
|
address 192.168.52.53
|
|
network 192.168.52.0
|
|
netmask 255.255.255.0
|
|
broadcast 192.168.52.255
|
|
|
|
## - ownloud local net
|
|
## -
|
|
auto eth1:1
|
|
iface eth1:1 inet static
|
|
address 192.168.43.254
|
|
network 192.168.43.0
|
|
netmask 255.255.255.0
|
|
broadcast 192.168.43.255
|
|
|
|
|
|
#-----------------------------
|
|
# eth0 - WLAN
|
|
#-----------------------------
|
|
|
|
auto eth0
|
|
iface eth0 inet static
|
|
address 192.168.42.254
|
|
network 192.168.42.0
|
|
netmask 255.255.255.0
|
|
broadcast 192.168.42.255
|
|
|
|
|
|
|
|
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
|