dnsmasq IDU config updates
* DHCP range for 'vlan6' onboard network 172.16.2.0/23 * DHCP range for 'native' onboard network 172.16.4.0/23 * DHCP range for 'admin' port eth1 172.16.6.0/24 * domain name vessel.sob.sysmocom.de * listen on all interfaces, not just one * allow admin to specify static leases (ODU) in /etc/dnsmasq.dhcp-hosts
This commit is contained in:
parent
5a09ef71ff
commit
272a3538bb
|
@ -32,7 +32,7 @@ bogus-priv
|
||||||
|
|
||||||
# Change this line if you want dns to get its upstream servers from
|
# Change this line if you want dns to get its upstream servers from
|
||||||
# somewhere other that /etc/resolv.conf
|
# 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
|
# By default, dnsmasq will send queries to any of the upstream
|
||||||
# servers it knows about and tries to favour servers to are known
|
# 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
|
# If you want dnsmasq to listen for requests only on specified interfaces
|
||||||
# (and the loopback) give the name of the interface (eg eth0) here.
|
# (and the loopback) give the name of the interface (eg eth0) here.
|
||||||
# Repeat the line for more than one interface.
|
# Repeat the line for more than one interface.
|
||||||
interface=eth2
|
#interface=eth2
|
||||||
# Or you can specify which interface _not_ to listen on
|
# Or you can specify which interface _not_ to listen on
|
||||||
#except-interface=
|
#except-interface=
|
||||||
# Or which to listen on by address (remember to include 127.0.0.1 if
|
# 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
|
# 2) Sets the "domain" DHCP option thereby potentially setting the
|
||||||
# domain of all systems configured by DHCP
|
# domain of all systems configured by DHCP
|
||||||
# 3) Provides the domain part for "expand-hosts"
|
# 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
|
# Uncomment this to enable the integrated DHCP server, you need
|
||||||
# to supply the range of addresses available for lease and optionally
|
# 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
|
# agent. If you don't know what a DHCP relay agent is, you probably
|
||||||
# don't need to worry about this.
|
# don't need to worry about this.
|
||||||
#dhcp-range=192.168.0.50,192.168.0.150,255.255.255.0,12h
|
#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
|
# This is an example of a DHCP range with a network-id, so that
|
||||||
# some DHCP options may be set only for this network.
|
# 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.
|
# Include a another lot of configuration options.
|
||||||
#conf-file=/etc/dnsmasq.more.conf
|
#conf-file=/etc/dnsmasq.more.conf
|
||||||
|
|
||||||
|
dhcp-hostsfile=/etc/dnsmasq.dhcp-hosts
|
||||||
|
|
||||||
enable-tftp
|
enable-tftp
|
||||||
tftp-root=/srv/tftp/
|
tftp-root=/srv/tftp/
|
||||||
tftp-secure
|
tftp-secure
|
||||||
|
|
Loading…
Reference in New Issue