From 38579ae767ff90824e2821a64ba560c30ebe1266 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Fri, 17 Jul 2015 14:32:00 +0200 Subject: [PATCH] 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. --- .../init-ifupdown-master/sysmocom-idu/interfaces | 12 +----------- .../init-ifupdown/sysmocom-idu/interfaces | 12 +----------- 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/recipes-bsp/init-ifupdown/init-ifupdown-master/sysmocom-idu/interfaces b/recipes-bsp/init-ifupdown/init-ifupdown-master/sysmocom-idu/interfaces index f3c8d56..89adfc1 100644 --- a/recipes-bsp/init-ifupdown/init-ifupdown-master/sysmocom-idu/interfaces +++ b/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 diff --git a/recipes-bsp/init-ifupdown/init-ifupdown/sysmocom-idu/interfaces b/recipes-bsp/init-ifupdown/init-ifupdown/sysmocom-idu/interfaces index f3c8d56..89adfc1 100644 --- a/recipes-bsp/init-ifupdown/init-ifupdown/sysmocom-idu/interfaces +++ b/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