Browse Source

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.
jluebbe/system-update
Neels Hofmeyr 6 years ago
parent
commit
38579ae767
  1. 12
      recipes-bsp/init-ifupdown/init-ifupdown-master/sysmocom-idu/interfaces
  2. 12
      recipes-bsp/init-ifupdown/init-ifupdown/sysmocom-idu/interfaces

12
recipes-bsp/init-ifupdown/init-ifupdown-master/sysmocom-idu/interfaces

@ -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

12
recipes-bsp/init-ifupdown/init-ifupdown/sysmocom-idu/interfaces

@ -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

Loading…
Cancel
Save