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

105 lines
2.4 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
#-----------------------------
# enp0s20f0 - WLAN
#-----------------------------
auto enp0s20f0
iface enp0s20f0 inet static
address 192.168.64.254
network 192.168.64.0
netmask 255.255.255.0
broadcast 192.168.64.255
iface enp0s20f0 inet6 static
address fd5c:45d3:2a6e:1:ec4:7aff:feac:5ece
netmask 64
autoconf 0
dad-attempts 0
accept_ra 0
#-----------------------------
# enp0s20f1 - LAN
#-----------------------------
auto enp0s20f1
iface enp0s20f1 inet static
address 192.168.63.254
network 192.168.63.0
netmask 255.255.255.0
broadcast 192.168.63.255
## - add route 172.16.1.0/24 (gw-replacement)
#post-up route add -net 172.16.1.0 netmask 255.255.255.0 dev eth1
iface enp0s20f1 inet6 static
address fd5c:45d3:2a6e:1:ec4:7aff:feac:5ecf
netmask 64
autoconf 0
dad-attempts 0
accept_ra 0
auto enp0s20f1:ns
iface enp0s20f1:ns inet static
address 192.168.63.1
network 192.168.63.1
netmask 255.255.255.255
broadcast 192.168.63.1
pre-up /sbin/ifconfig enp0s20f1 up
auto enp0s20f1:resc
iface enp0s20f1:resc inet static
address 172.16.1.254
network 172.16.1.0
netmask 255.255.255.0
broadcast 172.16.1.255
pre-up /sbin/ifconfig enp0s20f1 up
#-----------------------------
# enp0s20f2 - WAN
#-----------------------------
auto enp0s20f2
iface enp0s20f2 inet static
address 172.16.63.1
network 172.16.63.0
netmask 255.255.255.0
broadcast 172.16.63.255
gateway 172.16.63.254
#post-up vconfig add enp0s20f2 7
#post-up vconfig add enp0s20f2 8
#post-down vconfig rem enp0s20f2.7
#post-down vconfig rem enp0s20f2.8
# This is an autoconfigured IPv6 interface
iface enp0s20f2 inet6 auto
# - Entertain TV
# -
#auto enp0s20f2.8
#iface enp0s20f2.8 inet dhcp
# ## - Start igmpproxy
# post-up /usr/local/igmpproxy/sbin/igmpproxy /usr/local/igmpproxy/etc/igmpproxy.conf &
# #post-up /usr/local/igmpproxy/sbin/igmpproxy -d -v /usr/local/igmpproxy/etc/igmpproxy.conf > /var/log/igmpproxy.log 2>&1 &
# - VDSL
# -
#auto dsl-ckubu
#iface dsl-ckubu inet ppp
# pre-up /sbin/ifconfig enp0s20f2 up # line maintained by pppoeconf
# pre-up /sbin/ifconfig enp0s20f2.7 up # line maintained by pppoeconf
#