init-ifupdown: inmarsat should be dhcp.

From the obn-test config, I wrongly assumed that the inmarsat config should
be static on a vessel. Instead, we need to figure out a way to use dhcp with
linkmon.
This commit is contained in:
Neels Hofmeyr 2015-07-17 14:32:00 +02:00
parent 1ed5160b0d
commit 38579ae767
2 changed files with 2 additions and 22 deletions

View File

@ -37,17 +37,7 @@ iface eth0.2001 inet manual
# VLAN 2002: Reserved for a future Inmarsat satellite modem
# attached to port 6 of the IES-3080
auto eth0.2002
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 120
# Once sob-idu-linkmon sees pings working, it will install a route
# with lower metric.
iface eth0.2002 inet dhcp
# management VLAN of IES-3080 switch (172.16.2.3)
auto eth0.6

View File

@ -37,17 +37,7 @@ iface eth0.2001 inet manual
# VLAN 2002: Reserved for a future Inmarsat satellite modem
# attached to port 6 of the IES-3080
auto eth0.2002
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 120
# Once sob-idu-linkmon sees pings working, it will install a route
# with lower metric.
iface eth0.2002 inet dhcp
# management VLAN of IES-3080 switch (172.16.2.3)
auto eth0.6