From 4918bd550573844441a287a67202a6a3f0f6126a Mon Sep 17 00:00:00 2001 From: Neil Jerram Date: Wed, 10 Jun 2015 22:23:20 +0100 Subject: [PATCH] Documenation updates for --bridge-interface and "off-link". --- CHANGELOG | 6 ++++++ man/dnsmasq.8 | 17 +++++++++++------ man/es/dnsmasq.8 | 12 ++++++++---- man/fr/dnsmasq.8 | 18 ++++++++++++------ src/dhcp.c | 9 +++++---- src/dhcp6.c | 2 +- src/radv.c | 6 +++--- 7 files changed, 46 insertions(+), 24 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index a5bd4dc..7d8f73f 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -128,6 +128,12 @@ version 2.73 Add AddDhcpLease and DeleteDhcpLease DBus methods. Thanks to Nicolas Cavallari for the patch. + + Allow configuration of router advertisements without the + "on-link" bit set. Thanks to Neil Jerram for the patch. + + Extend --bridge-interface to DHCPv6 and router + advertisements. Thanks to Neil Jerram for the patch. version 2.72 diff --git a/man/dnsmasq.8 b/man/dnsmasq.8 index f811dc3..ffa0c7b 100644 --- a/man/dnsmasq.8 +++ b/man/dnsmasq.8 @@ -833,7 +833,7 @@ and for details.) For IPv6, the mode may be some combination of -.B ra-only, slaac, ra-names, ra-stateless, ra-advrouter. +.B ra-only, slaac, ra-names, ra-stateless, ra-advrouter, off-link. .B ra-only tells dnsmasq to offer Router Advertisement only on this subnet, @@ -873,6 +873,9 @@ enables a mode where router address(es) rather than prefix(es) are included in t This is described in RFC-3775 section 7.2 and is used in mobile IPv6. In this mode the interval option is also included, as described in RFC-3775 section 7.3. +.B off-link +tells dnsmasq to advertise the prefix without the on-link (aka L) bit set. + .TP .B \-G, --dhcp-host=[][,id:|*][,set:][,][,][,][,ignore] Specify per host parameters for the DHCP server. This allows a machine @@ -1597,11 +1600,13 @@ option also forces the leasechange script to be called on changes to the client-id and lease length and expiry time. .TP .B --bridge-interface=,[,] -Treat DHCP request packets arriving at any of the interfaces -as if they had arrived at . This option is necessary when -using "old style" bridging on BSD platforms, since -packets arrive at tap interfaces which don't have an IP address. -A trailing '*' wildcard can be used in each . +Treat DHCP (v4 and v6) request and IPv6 Router Solicit packets +arriving at any of the interfaces as if they had arrived at +. This option allows dnsmasq to provide DHCP and RA +service over unaddressed and unbridged Ethernet interfaces, e.g. on an +OpenStack compute host where each such interface is a TAP interface to +a VM, or as in "old style bridging" on BSD platforms. A trailing '*' +wildcard can be used in each . .TP .B \-s, --domain=[,
[,local]] Specifies DNS domains for the DHCP server. Domains may be be given diff --git a/man/es/dnsmasq.8 b/man/es/dnsmasq.8 index 65e4b72..81c745a 100644 --- a/man/es/dnsmasq.8 +++ b/man/es/dnsmasq.8 @@ -1062,10 +1062,14 @@ esta opci cuando hay cambios hechos a el client-id y tiempos de arriendo y vencimiento. .TP .B --bridge-interface=,[,] -Tratar paquetes de pedidos DHCP que llegan a cualquiera de las interfaces -como si hubieran llegado a la interface . Esta opción -es necesaria al usar bridging estilo viejo en plataformas BSD, dado a que -los paquetes llegan a interfaces tap que no tienen una dirección IP. +Tratar paquetes de pedidos DHCP (v4 y v6) y de IPv6 Router Solicit que +llegan a cualquiera de las interfaces como si hubieran llegado +a la interface . Esta opción permite que dnsmasq +puede proporcionar los servicios DHCP y RA a través de interfaces +ethernet sin dirección y sin puente; por ejemplo en un nodo de cálculo +de OpenStack, donde cada una de esas interfaces es una interfaz TAP +para una máquina virtual, o al usar bridging estilo viejo en +plataformas BSD. .TP .B \-s, --domain=[,] Especifica los dominios DNS para el servidor DHCP. Dominios pueden ser diff --git a/man/fr/dnsmasq.8 b/man/fr/dnsmasq.8 index e0d1e9a..b4cc16d 100644 --- a/man/fr/dnsmasq.8 +++ b/man/fr/dnsmasq.8 @@ -852,7 +852,7 @@ et pour plus de détails). Pour IPv6, le mode peut-être une combinaison des valeurs -.B ra-only, slaac, ra-names, ra-stateless. +.B ra-only, slaac, ra-names, ra-stateless, off-link. .B ra-only indique à dnsmasq de n'effectuer que des annonces de routeur (Router @@ -888,6 +888,9 @@ peut-être combiné avec et .B slaac. +.B off-link +indique à dnsmasq d'annoncer le préfixe sans le bit L (sur lien). + .TP .B \-G, --dhcp-host=[][,id:|*][,set: