89 lines
1.7 KiB
Plaintext
89 lines
1.7 KiB
Plaintext
#/etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
|
|
|
|
# The loopback interface
|
|
auto lo
|
|
iface lo inet loopback
|
|
|
|
# The first network card - this entry was created during the Debian installation
|
|
# (network, broadcast and gateway are optional)
|
|
#auto eth1
|
|
#iface eth1 inet static
|
|
# address 192.168.178.2
|
|
# netmask 255.255.255.0
|
|
# network 192.168.178.0
|
|
# broadcast 192.168.178.255
|
|
# gateway 192.168.178.1
|
|
|
|
|
|
auto bond0
|
|
iface bond0 inet static
|
|
pre-up /sbin/modprobe bonding mode=802.3ad
|
|
up /sbin/ifenslave bond0 eth0
|
|
up /sbin/ifenslave bond0 eth1
|
|
address 172.16.0.1
|
|
broadcast 172.16.3.255
|
|
netmask 255.255.252.0
|
|
|
|
iface bond0 inet6 static
|
|
address 2001:748:306::1
|
|
netmask 64
|
|
|
|
# WLAN
|
|
auto vlan24
|
|
iface vlan24 inet static
|
|
vlan_raw_device bond0
|
|
address 172.16.4.1
|
|
broadcast 172.16.8.255
|
|
netmask 255.255.252.0
|
|
|
|
iface vlan24 inet6 static
|
|
address 2001:748:306:24::1
|
|
netmask 64
|
|
|
|
# pptp
|
|
auto vlan22
|
|
iface vlan22 inet static
|
|
vlan_raw_device bond0
|
|
address 192.168.178.2
|
|
netmask 255.255.255.0
|
|
|
|
iface vlan22 inet6 static
|
|
address 2001:748:306:22::1
|
|
netmask 64
|
|
|
|
# freifunk
|
|
auto vlan23
|
|
iface vlan23 inet static
|
|
vlan_raw_device bond0
|
|
address 10.112.23.1
|
|
netmask 255.255.255.255
|
|
|
|
iface vlan23 inet6 static
|
|
address 2001:748:306:23::1
|
|
netmask 64
|
|
|
|
# NOC
|
|
auto vlan42
|
|
iface vlan42 inet static
|
|
vlan_raw_device bond0
|
|
address 172.16.42.1
|
|
broadcast 172.16.42.255
|
|
netmask 255.255.255.0
|
|
up /usr/local/bin/network-foo
|
|
|
|
iface vlan42 inet6 static
|
|
address 2001:748:306:42::1
|
|
netmask 64
|
|
|
|
# AFU Druck
|
|
auto vlan25
|
|
iface vlan25 inet static
|
|
vlan_raw_device bond0
|
|
address 172.16.25.1
|
|
broadcast 172.16.25.255
|
|
netmask 255.255.255.0
|
|
|
|
iface vlan25 inet6 static
|
|
address 2001:748:306:25::1
|
|
netmask 64
|