summaryrefslogtreecommitdiff
path: root/man/dnsmasq.8
diff options
context:
space:
mode:
authorSimon Kelley <simon@thekelleys.org.uk>2019-03-27 22:33:28 +0000
committerSimon Kelley <simon@thekelleys.org.uk>2019-03-27 22:33:28 +0000
commitae5b7e04a1025167f1b80840e61432a3cea9625c (patch)
treefe0452cbf91e4c96bdd143ae092d96f422c4a248 /man/dnsmasq.8
parent305ffb5ef0ba5ab1df32ef80f266a4c9e395ca13 (diff)
downloaddnsmasq-ae5b7e04a1025167f1b80840e61432a3cea9625c.tar.gz
Add --shared-network DHCP configuration.
Diffstat (limited to 'man/dnsmasq.8')
-rw-r--r--man/dnsmasq.821
1 files changed, 21 insertions, 0 deletions
diff --git a/man/dnsmasq.8 b/man/dnsmasq.8
index 9c30d2b..00cbf5f 100644
--- a/man/dnsmasq.8
+++ b/man/dnsmasq.8
@@ -1741,6 +1741,27 @@ It is permissible to add more than one alias using more than one \fB--bridge-int
\fB--bridge-interface=int1,alias1,alias2\fP is exactly equivalent to
\fB--bridge-interface=int1,alias1 --bridge-interface=int1,alias2\fP
.TP
+.B --shared-network=<interface>|<addr>,<addr>
+The DHCP server determines which dhcp ranges are useable for allocating and
+address to a DHCP client based on the network from which the DHCP request arrives,
+and the IP configuration of the server's interface on that network. The shared-network
+option extends the available subnets (and therefore dhcp ranges) beyond the
+subnets configured on the arrival interface. The first argument is either the
+name of an interface or an address which is configured on a local interface, and the
+second argument is an address which defines another subnet on which addresses can be allocated.
+To be useful, there must be suitable dhcp-range which allows address allocation on this subnet
+and this dhcp-range MUST include the netmask. Use shared-network also needs extra
+consideration of routing. Dnsmasq doesn't have the usual information which it uses to
+determine the default route, so the default route option (or other routing) MUST be
+manually configured. The client must have a route to the server: if the two-address form
+of shared-network is used, this will be to the first specified address. If the interface,address
+form is used, there must be a route to all of the addresses configured on the interface.
+
+The two-address form of shared-network is also usable with a DHCP relay: the first address
+is the address of the relay and the second, as before, specifies an extra subnet which
+may be allocated.
+
+.TP
.B \-s, --domain=<domain>[,<address range>[,local]]
Specifies DNS domains for the DHCP server. Domains may be be given
unconditionally (without the IP range) or for limited IP ranges. This has two effects;