From d1bca38043dbcace2e3153dd39af3446765c727d Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 13 Feb 2015 09:48:22 +0100 Subject: [PATCH] dnsmasq: Initial configuration for sysmocom This is untested but in the assembled IDU eth2 is the NJB link and the range/netmask was taken from the ISC DHCPD configuration file. --- recipes-extra/dnsmasq/files/sysmocom-idu/dnsmasq.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/recipes-extra/dnsmasq/files/sysmocom-idu/dnsmasq.conf b/recipes-extra/dnsmasq/files/sysmocom-idu/dnsmasq.conf index 1a198a3..1aa4f39 100755 --- a/recipes-extra/dnsmasq/files/sysmocom-idu/dnsmasq.conf +++ b/recipes-extra/dnsmasq/files/sysmocom-idu/dnsmasq.conf @@ -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= +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 @@ -114,13 +114,14 @@ bogus-priv # repeat this for each network on which you want to supply DHCP # service. #dhcp-range=192.168.0.50,192.168.0.150,12h -dhcp-range=10.0.0.10,10.0.0.200,2h +#dhcp-range=10.0.0.10,10.0.0.200,2h # This is an example of a DHCP range where the netmask is given. This # is needed for networks we reach the dnsmasq DHCP server via a relay # 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 # This is an example of a DHCP range with a network-id, so that # some DHCP options may be set only for this network.