diff --git a/recipes-extra/dnsmasq/files/sysmocom-idu/dnsmasq.conf b/recipes-extra/dnsmasq/files/sysmocom-idu/dnsmasq.conf index a2b32d0..1d50a91 100755 --- a/recipes-extra/dnsmasq/files/sysmocom-idu/dnsmasq.conf +++ b/recipes-extra/dnsmasq/files/sysmocom-idu/dnsmasq.conf @@ -32,7 +32,7 @@ bogus-priv # Change this line if you want dns to get its upstream servers from # somewhere other that /etc/resolv.conf -#resolv-file= +#resolv-file=/etc/resolv.conf.dhcp # By default, dnsmasq will send queries to any of the upstream # servers it knows about and tries to favour servers to are known @@ -72,7 +72,7 @@ bogus-priv # If you want dnsmasq to listen for requests only on specified interfaces # (and the loopback) give the name of the interface (eg eth0) here. # Repeat the line for more than one interface. -interface=eth2 +#interface=eth2 # Or you can specify which interface _not_ to listen on #except-interface= # Or which to listen on by address (remember to include 127.0.0.1 if @@ -106,7 +106,7 @@ interface=eth2 # 2) Sets the "domain" DHCP option thereby potentially setting the # domain of all systems configured by DHCP # 3) Provides the domain part for "expand-hosts" -#domain=thekelleys.org.uk +domain=vessel.sob.sysmocom.de # Uncomment this to enable the integrated DHCP server, you need # to supply the range of addresses available for lease and optionally @@ -121,7 +121,17 @@ interface=eth2 # agent. If you don't know what a DHCP relay agent is, you probably # don't need to worry about this. #dhcp-range=192.168.0.50,192.168.0.150,255.255.255.0,12h -dhcp-range=172.16.2.2,172.16.3.254,255.255.254.0,168h + +# DHCP range for the management network of the SOB-JB +dhcp-range=mgmt,172.16.2.10,172.16.3.254,255.255.254.0,168h + +# DHCP range for native IP, this is just temporary so we see if +# there are any devices with wrong configuration +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 + # This is an example of a DHCP range with a network-id, so that # some DHCP options may be set only for this network. @@ -288,6 +298,8 @@ dhcp-range=172.16.2.2,172.16.3.254,255.255.254.0,168h # Include a another lot of configuration options. #conf-file=/etc/dnsmasq.more.conf +dhcp-hostsfile=/etc/dnsmasq.dhcp-hosts + enable-tftp tftp-root=/srv/tftp/ tftp-secure