[Dnsmasq-discuss] Clear prefix autonomous flag on router advertising

Lonnie Abelbeck lists at lonnie.abelbeck.com
Tue Oct 13 21:21:39 BST 2015


On Oct 13, 2015, at 2:03 PM, Carlos Carvalho <carlos at fisica.ufpr.br> wrote:

> Shaun Lynch (em2slyn at yahoo.com) wrote on Tue, Oct 13, 2015 at 01:16:35AM BRT:
>> I am building a IPv4-IPv6 dual-stack gateway device for a virtual sandbox in which to experiment with different system configurations. The current gateway uses Debian 8.2 as the host operating system along with radvd for router advertising that is configured as follows: 
>> 
>> interface eth1
>> {
>>     AdvSendAdvert on;
>>     AdvManagedFlag on;
>>     AdvOtherConfigFlag on;
>> 
>>     prefix ::/64
>>     {
>>         AdvAutonomous off;
>>     };
>> };
>> 
>> My objective is to provide client computers with the address of the default gateway while using a separate DHCPv6 server to provide the host address and DNS information.
> 
>> So far I have been able to configure dnsmasq in a DHCPv6 stateful
>> configuration with the included DHCPv6 service; however, I cannot seem to
>> determine which options set the managed address (M) and other (O) flags and
>> clears the prefix autonomous (A) flag to disable generation of the stateless
>> address for stand-alone router advertising.
> 
> As stated in the manual, in the description of the enable-ra option, by default
> M is set and A unset. You can change them with the mode atribute of the
> dhcp-range declaration.

Here is a useful table of the flags and dnsmasq options (Thanks to Igor)

DHCPv6 and RA with dnsmasq
https://weirdfellow.wordpress.com/2014/09/05/dhcpv6-and-ra-with-dnsmasq/

Lonnie

PS: Simon, possibly your docs could include a similar table ?




More information about the Dnsmasq-discuss mailing list