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 f29c295..2bf920b 100644 --- a/recipes-bsp/init-ifupdown/init-ifupdown-master/sysmocom-idu/interfaces +++ b/recipes-bsp/init-ifupdown/init-ifupdown-master/sysmocom-idu/interfaces @@ -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 diff --git a/recipes-bsp/init-ifupdown/init-ifupdown/sysmocom-idu/interfaces b/recipes-bsp/init-ifupdown/init-ifupdown/sysmocom-idu/interfaces index f29c295..2bf920b 100644 --- a/recipes-bsp/init-ifupdown/init-ifupdown/sysmocom-idu/interfaces +++ b/recipes-bsp/init-ifupdown/init-ifupdown/sysmocom-idu/interfaces @@ -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