diff --git a/meta-sysmocom-bsp/recipes-bsp/init-ifupdown/init-ifupdown/sysmocom-idu/interfaces b/meta-sysmocom-bsp/recipes-bsp/init-ifupdown/init-ifupdown/sysmocom-idu/interfaces index 81d41326b4..8dc4b0ffaa 100644 --- a/meta-sysmocom-bsp/recipes-bsp/init-ifupdown/init-ifupdown/sysmocom-idu/interfaces +++ b/meta-sysmocom-bsp/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 @@ -46,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 diff --git a/meta-sysmocom-bsp/recipes-extra/dnsmasq/files/sysmocom-idu/dnsmasq.conf b/meta-sysmocom-bsp/recipes-extra/dnsmasq/files/sysmocom-idu/dnsmasq.conf index 1d50a91c59..03ded0b097 100755 --- a/meta-sysmocom-bsp/recipes-extra/dnsmasq/files/sysmocom-idu/dnsmasq.conf +++ b/meta-sysmocom-bsp/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.