From e2042ff2914bef59f811944dcf8c34b3d0dd7e99 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 15 Apr 2015 18:33:17 -0400 Subject: [PATCH 1/3] init-ifupdown: Force manual IP configuration for Openport Interfaces file from roh, not tested by me. Fixes: IDU#1491 --- .../init-ifupdown/sysmocom-idu/interfaces | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/recipes-bsp/init-ifupdown/init-ifupdown/sysmocom-idu/interfaces b/recipes-bsp/init-ifupdown/init-ifupdown/sysmocom-idu/interfaces index 81d41326b4..49525247f2 100644 --- a/recipes-bsp/init-ifupdown/init-ifupdown/sysmocom-idu/interfaces +++ b/recipes-bsp/init-ifupdown/init-ifupdown/sysmocom-idu/interfaces @@ -6,9 +6,13 @@ iface lo inet loopback # eth0 is attached to the IDU-internal managed switch # in the future we will use VLANs to use individual switch ports as -# break-out interfaces. For now we simply do DHCP. -iface eth0 inet dhcp - post-up ip r add 10.6.1.0/24 via 192.168.0.1 +# break-out interfaces. For now we simply do static config for use with +# the iridium openport satmodem +iface eth0 inet static + address 192.168.0.254 + netmask 255.255.255.0 + network 192.168.0.0 + post-up ip r add 10.6.1.0/24 via 192.168.0.1 #eth1 is our admin interface and will provide dhcp to clients auto eth1 From 8d89f603d3db9bcdb24bf34b8b1a37335d0ad42f Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 15 Apr 2015 18:35:46 -0400 Subject: [PATCH 2/3] interface: Add Vlan #7 for all GSM basestations Untested, simply copy and pasted from the ticket Related: SYS#1491 --- .../init-ifupdown/init-ifupdown/sysmocom-idu/interfaces | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/recipes-bsp/init-ifupdown/init-ifupdown/sysmocom-idu/interfaces b/recipes-bsp/init-ifupdown/init-ifupdown/sysmocom-idu/interfaces index 49525247f2..8dc4b0ffaa 100644 --- a/recipes-bsp/init-ifupdown/init-ifupdown/sysmocom-idu/interfaces +++ b/recipes-bsp/init-ifupdown/init-ifupdown/sysmocom-idu/interfaces @@ -50,3 +50,9 @@ auto br0.6:0 iface br0.6:0 inet static address 172.16.1.1 netmask 255.255.255.255 + +auto br0.7 +iface br0.7 inet static + address 172.16.7.1 + netmask 255.255.255.0 + network 172.16.7.0 From 259e1fa468e8af48c6e3382fe5de025d10bb8fbc Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 15 Apr 2015 18:37:44 -0400 Subject: [PATCH 3/3] dnsmasq: Add DHCP for BTS in the new vlan Fixes: SYS#1491 --- recipes-extra/dnsmasq/files/sysmocom-idu/dnsmasq.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes-extra/dnsmasq/files/sysmocom-idu/dnsmasq.conf b/recipes-extra/dnsmasq/files/sysmocom-idu/dnsmasq.conf index 1d50a91c59..03ded0b097 100755 --- a/recipes-extra/dnsmasq/files/sysmocom-idu/dnsmasq.conf +++ b/recipes-extra/dnsmasq/files/sysmocom-idu/dnsmasq.conf @@ -132,6 +132,9 @@ dhcp-range=native,172.16.4.10,172.16.4.254,255.255.254.0,168h # DHCP range for administrative access via eth1 dhcp-range=admin,172.16.6.2,172.16.6.255,255.255.255.0,24h +# DHCP range for all BTS +dhcp-range=gsm,172.16.7.10,172.16.7.255,255.255.255.0,168h + # This is an example of a DHCP range with a network-id, so that # some DHCP options may be set only for this network.