init-ifupdown: add IDU eth0.2002 inmarsat config

This commit is contained in:
Neels Hofmeyr 2015-07-06 23:02:29 +02:00
parent 1422f63b03
commit c09cac566d
2 changed files with 24 additions and 6 deletions

View File

@ -24,10 +24,19 @@ auto eth0.2001
iface eth0.2001 inet manual
# VLAN 2002: Reserved for a future Inmarsat satellite modem
# attached to port 7 of the IES-3080
# attached to port 6 of the IES-3080
auto eth0.2002
#iface eth0.2002 inet dhcp
iface eth0.2002 inet manual
iface eth0.2002 inet static
address 10.156.136.99
netmask 255.255.255.224
network 10.156.136.96
#gateway 10.156.136.97 # no route should be installed, linkmon will do that.
# Switch off rp_filter
post-up /sbin/sysctl net.ipv4.conf.eth0/2002.rp_filter=2
# Set a route with high metric nr so a ping -I on this iface will work:
post-up ip r add 5.9.81.48/32 via 10.156.136.97 metric 101
# Once sob-idu-linkmon sees pings working, it will install a route
# with lower metric.
# management VLAN of IES-3080 switch (172.16.2.3)
auto eth0.6

View File

@ -24,10 +24,19 @@ auto eth0.2001
iface eth0.2001 inet manual
# VLAN 2002: Reserved for a future Inmarsat satellite modem
# attached to port 7 of the IES-3080
# attached to port 6 of the IES-3080
auto eth0.2002
#iface eth0.2002 inet dhcp
iface eth0.2002 inet manual
iface eth0.2002 inet static
address 10.156.136.99
netmask 255.255.255.224
network 10.156.136.96
#gateway 10.156.136.97 # no route should be installed, linkmon will do that.
# Switch off rp_filter
post-up /sbin/sysctl net.ipv4.conf.eth0/2002.rp_filter=2
# Set a route with high metric nr so a ping -I on this iface will work:
post-up ip r add 5.9.81.48/32 via 10.156.136.97 metric 101
# Once sob-idu-linkmon sees pings working, it will install a route
# with lower metric.
# management VLAN of IES-3080 switch (172.16.2.3)
auto eth0.6