Merge commit '8c70168d4001d029a60ab155042785ff831f3f9b' into dora
This commit is contained in:
commit
bcbe10686b
|
@ -69,8 +69,30 @@ iface br-mgmt:0 inet static
|
||||||
address 172.16.1.1
|
address 172.16.1.1
|
||||||
netmask 255.255.255.255
|
netmask 255.255.255.255
|
||||||
|
|
||||||
|
# GSM management VLAN
|
||||||
auto br0.7
|
auto br0.7
|
||||||
iface br0.7 inet static
|
iface br0.7 inet static
|
||||||
address 172.16.7.1
|
address 172.16.7.1
|
||||||
netmask 255.255.255.0
|
netmask 255.255.255.0
|
||||||
network 172.16.7.0
|
network 172.16.7.0
|
||||||
|
|
||||||
|
# admin WiFi
|
||||||
|
auto br0.1001
|
||||||
|
iface br0.1001 inet static
|
||||||
|
address 172.16.8.1
|
||||||
|
netmask 255.255.255.0
|
||||||
|
network 172.16.8.0
|
||||||
|
|
||||||
|
# onboad WiFi
|
||||||
|
auto br0.1002
|
||||||
|
iface br0.1002 inet static
|
||||||
|
address 172.16.128.1
|
||||||
|
netmask 255.255.252.0
|
||||||
|
network 172.16.128.0
|
||||||
|
|
||||||
|
# remote WiFi
|
||||||
|
auto br0.1003
|
||||||
|
iface br0.1003 inet static
|
||||||
|
address 172.16.132.1
|
||||||
|
netmask 255.255.252.0
|
||||||
|
network 172.16.132.0
|
||||||
|
|
|
@ -15,7 +15,7 @@ SRC_URI = "http://www.thekelleys.org.uk/dnsmasq/${@['archive/', ''][float(d.getV
|
||||||
|
|
||||||
inherit pkgconfig update-rc.d systemd
|
inherit pkgconfig update-rc.d systemd
|
||||||
|
|
||||||
PR = "r2"
|
PR = "r3"
|
||||||
|
|
||||||
INITSCRIPT_NAME = "dnsmasq"
|
INITSCRIPT_NAME = "dnsmasq"
|
||||||
INITSCRIPT_PARAMS = "defaults"
|
INITSCRIPT_PARAMS = "defaults"
|
||||||
|
|
|
@ -4,6 +4,9 @@
|
||||||
# as the long options legal on the command line. See
|
# as the long options legal on the command line. See
|
||||||
# "/usr/sbin/dnsmasq --help" or "man 8 dnsmasq" for details.
|
# "/usr/sbin/dnsmasq --help" or "man 8 dnsmasq" for details.
|
||||||
|
|
||||||
|
# we are the only (valid) DHCP server on the networks that we serve
|
||||||
|
dhcp-authoritative
|
||||||
|
|
||||||
# Change these lines if you want dnsmasq to serve MX records.
|
# Change these lines if you want dnsmasq to serve MX records.
|
||||||
# Only one of mx-host and mx-target need be set, the other defaults
|
# Only one of mx-host and mx-target need be set, the other defaults
|
||||||
# to the name of the host running dnsmasq.
|
# to the name of the host running dnsmasq.
|
||||||
|
@ -28,7 +31,7 @@ bogus-priv
|
||||||
# which can trigger dial-on-demand links needlessly.
|
# which can trigger dial-on-demand links needlessly.
|
||||||
# Note that (amongst other things) this blocks all SRV requests,
|
# Note that (amongst other things) this blocks all SRV requests,
|
||||||
# so don't use it if you use eg Kerberos.
|
# so don't use it if you use eg Kerberos.
|
||||||
#filterwin2k
|
filterwin2k
|
||||||
|
|
||||||
# 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
|
||||||
|
@ -44,7 +47,7 @@ bogus-priv
|
||||||
# If you don't want dnsmasq to read /etc/resolv.conf or any other
|
# If you don't want dnsmasq to read /etc/resolv.conf or any other
|
||||||
# file, getting its servers for this file instead (see below), then
|
# file, getting its servers for this file instead (see below), then
|
||||||
# uncomment this
|
# uncomment this
|
||||||
#no-resolv
|
no-resolv
|
||||||
|
|
||||||
# If you don't want dnsmasq to poll /etc/resolv.conf or other resolv
|
# If you don't want dnsmasq to poll /etc/resolv.conf or other resolv
|
||||||
# files for changes and re-read them then uncomment this.
|
# files for changes and re-read them then uncomment this.
|
||||||
|
@ -54,6 +57,10 @@ bogus-priv
|
||||||
# non-public domains.
|
# non-public domains.
|
||||||
#server=/localnet/192.168.0.1
|
#server=/localnet/192.168.0.1
|
||||||
|
|
||||||
|
# Add neptune as upstream DNS resolver. This will be DNATed by our
|
||||||
|
# firewall script the corresponding internal address depending on the outgoing interface
|
||||||
|
server=5.9.81.48
|
||||||
|
|
||||||
# Add local-only domains here, queries in these domains are answered
|
# Add local-only domains here, queries in these domains are answered
|
||||||
# from /etc/hosts or DHCP only.
|
# from /etc/hosts or DHCP only.
|
||||||
#local=/localnet/
|
#local=/localnet/
|
||||||
|
@ -130,11 +137,15 @@ dhcp-range=mgmt,172.16.2.10,172.16.3.254,255.255.254.0,168h
|
||||||
dhcp-range=native,172.16.4.10,172.16.4.254,255.255.254.0,168h
|
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 for administrative access via eth1
|
||||||
dhcp-range=admin,172.16.6.2,172.16.6.255,255.255.255.0,24h
|
dhcp-range=admin,172.16.6.2,172.16.6.254,255.255.255.0,24h
|
||||||
|
|
||||||
# DHCP range for all BTS
|
# DHCP range for all BTS
|
||||||
dhcp-range=gsm,172.16.7.10,172.16.7.255,255.255.255.0,168h
|
dhcp-range=gsm,172.16.7.10,172.16.7.254,255.255.255.0,168h
|
||||||
|
|
||||||
|
# DHCH range for WiFi networks
|
||||||
|
dhcp-range=wifi-admin,172.16.8.10,172.16.8.254,255.255.255.0,24h
|
||||||
|
dhcp-range=wifi-onboard,172.16.128.10,172.16.131.254,255.255.252.0,24h
|
||||||
|
dhcp-range=wifi-remote,172.16.132.10,172.16.135.254,255.255.252.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.
|
||||||
|
@ -217,8 +228,8 @@ dhcp-range=gsm,172.16.7.10,172.16.7.255,255.255.255.0,168h
|
||||||
# DNS server - 6
|
# DNS server - 6
|
||||||
# broadcast address - 28
|
# broadcast address - 28
|
||||||
|
|
||||||
# Set the NTP time server addresses to 192.168.0.4 and 10.10.0.5
|
# Set the NTP time server addresses to 172.16.1.1
|
||||||
#dhcp-option=42,192.168.0.4,10.10.0.5
|
dhcp-option=42,172.16.1.1
|
||||||
|
|
||||||
# Set the NTP time server address to be the same machine as
|
# Set the NTP time server address to be the same machine as
|
||||||
# is running dnsmasq
|
# is running dnsmasq
|
||||||
|
@ -268,7 +279,7 @@ dhcp-range=gsm,172.16.7.10,172.16.7.255,255.255.255.0,168h
|
||||||
#dhcp-leasefile=/var/lib/misc/dnsmasq.leases
|
#dhcp-leasefile=/var/lib/misc/dnsmasq.leases
|
||||||
|
|
||||||
# Set the cachesize here.
|
# Set the cachesize here.
|
||||||
#cache-size=150
|
cache-size=1000
|
||||||
|
|
||||||
# If you want to disable negative caching, uncomment this.
|
# If you want to disable negative caching, uncomment this.
|
||||||
#no-negcache
|
#no-negcache
|
||||||
|
|
Loading…
Reference in New Issue