2015-02-13 14:15:24 +00:00
|
|
|
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
|
|
|
|
|
|
|
|
# The loopback interface
|
|
|
|
auto lo
|
|
|
|
iface lo inet loopback
|
|
|
|
|
2015-04-18 20:32:58 +00:00
|
|
|
# eth0 is attached to the IDU-internal managed switch (IES-3080)
|
2015-02-13 14:15:24 +00:00
|
|
|
# in the future we will use VLANs to use individual switch ports as
|
2015-04-18 20:32:58 +00:00
|
|
|
# break-out interfaces. For now we simply do DHCP.
|
|
|
|
|
|
|
|
# VLAN 2000: The iridium openport satellite modem attached to
|
|
|
|
# port 1 of the IES-3080
|
|
|
|
auto eth0.2000
|
|
|
|
iface eth0.2000 inet static
|
2015-04-15 22:33:17 +00:00
|
|
|
address 192.168.0.254
|
|
|
|
netmask 255.255.255.0
|
|
|
|
network 192.168.0.0
|
2015-04-18 20:32:58 +00:00
|
|
|
post-up ip r add 10.6.1.0/24 via 192.168.0.1
|
2015-04-20 18:51:37 +00:00
|
|
|
post-up ip r add 5.9.81.48/32 via 192.168.0.1 metric 100
|
2015-04-18 20:32:58 +00:00
|
|
|
|
|
|
|
# VLAN 2001: Reserved for a future C-Band satellite modem
|
|
|
|
# attached to port 8 of the IES-3080
|
|
|
|
auto eth0.2001
|
|
|
|
iface eth0.2001 inet manual
|
|
|
|
|
2015-05-01 17:46:50 +00:00
|
|
|
# VLAN 2002: Reserved for a future Inmarsat satellite modem
|
|
|
|
# attached to port 7 of the IES-3080
|
|
|
|
auto eth0.2002
|
|
|
|
iface eth0.2002 inet dhcp
|
|
|
|
|
2015-04-18 20:32:58 +00:00
|
|
|
# management VLAN of IES-3080 switch (172.16.2.3)
|
|
|
|
auto eth0.6
|
|
|
|
iface eth0.6 inet manual
|
2015-02-13 14:15:24 +00:00
|
|
|
|
|
|
|
#eth1 is our admin interface and will provide dhcp to clients
|
|
|
|
auto eth1
|
|
|
|
iface eth1 inet static
|
2015-02-13 18:20:38 +00:00
|
|
|
address 172.16.6.1
|
2015-02-13 14:15:24 +00:00
|
|
|
netmask 255.255.255.0
|
2015-02-13 18:20:38 +00:00
|
|
|
network 172.16.6.0
|
2015-02-13 14:15:24 +00:00
|
|
|
|
|
|
|
# eth2 is attached to the IDU-internal SOB-JB02-SW
|
|
|
|
auto eth2
|
|
|
|
iface eth2 inet manual
|
|
|
|
pre-up ifconfig $IFACE up
|
|
|
|
pre-down ifconfig $IFACE down
|
|
|
|
|
|
|
|
# * br0 is a bridge interface on top of eth2
|
|
|
|
# * we use the bridging code so we can run mstpd and become the root bridge
|
|
|
|
auto br0
|
2015-02-13 18:20:38 +00:00
|
|
|
iface br0 inet static
|
2015-02-13 14:15:24 +00:00
|
|
|
bridge_ports eth2
|
|
|
|
bridge_maxwait 0
|
2015-02-13 18:20:38 +00:00
|
|
|
address 172.16.4.1
|
|
|
|
netmask 255.255.254.0
|
|
|
|
network 172.16.4.0
|
2015-02-13 14:15:24 +00:00
|
|
|
|
2015-04-18 20:32:58 +00:00
|
|
|
# management VLAN towards {N,P}JB
|
2015-02-13 14:15:24 +00:00
|
|
|
auto br0.6
|
2015-04-18 20:32:58 +00:00
|
|
|
iface br0.6 inet manual
|
|
|
|
|
|
|
|
# bridge for VLAN 6: management VLAN
|
|
|
|
auto br-mgmt
|
|
|
|
iface br-mgmt inet static
|
|
|
|
bridge_ports br0.6 eth0.6
|
|
|
|
bridge_maxwait 0
|
2015-02-13 14:15:24 +00:00
|
|
|
address 172.16.2.1
|
|
|
|
netmask 255.255.254.0
|
|
|
|
network 172.16.2.0
|
|
|
|
|
|
|
|
# 172.16.1.1 is the service IP address for SOBMGMT
|
2015-04-18 20:32:58 +00:00
|
|
|
auto br-mgmt:0
|
|
|
|
iface br-mgmt:0 inet static
|
2015-02-13 14:15:24 +00:00
|
|
|
address 172.16.1.1
|
|
|
|
netmask 255.255.255.255
|
2015-04-15 22:35:46 +00:00
|
|
|
|
2015-04-25 14:51:43 +00:00
|
|
|
# GSM management VLAN
|
2015-04-15 22:35:46 +00:00
|
|
|
auto br0.7
|
|
|
|
iface br0.7 inet static
|
2015-04-18 20:32:58 +00:00
|
|
|
address 172.16.7.1
|
|
|
|
netmask 255.255.255.0
|
|
|
|
network 172.16.7.0
|
2015-04-25 14:51:43 +00:00
|
|
|
|
|
|
|
# admin WiFi
|
|
|
|
auto br0.1001
|
|
|
|
iface br0.1001 inet static
|
|
|
|
address 172.16.8.1
|
|
|
|
netmask 255.255.255.0
|
|
|
|
network 172.16.8.0
|
|
|
|
|
|
|
|
# onboad WiFi
|
|
|
|
auto br0.1002
|
|
|
|
iface br0.1002 inet static
|
|
|
|
address 172.16.128.1
|
|
|
|
netmask 255.255.252.0
|
|
|
|
network 172.16.128.0
|
|
|
|
|
|
|
|
# remote WiFi
|
|
|
|
auto br0.1003
|
|
|
|
iface br0.1003 inet static
|
|
|
|
address 172.16.132.1
|
|
|
|
netmask 255.255.252.0
|
|
|
|
network 172.16.132.0
|