[Dnsmasq-discuss] dnsmasq's AdvRouterAddr On equivalent

Brian Haley brian.haley at hp.com
Thu Apr 17 20:12:27 UTC 2014


On 04/17/2014 09:20 AM, Simon Kelley wrote:
> On 15/04/14 23:31, Jorge Schrauwen wrote:
>> Hey All, 
>>
>> I had a bit of trouble getting ra to work on OpenBSD but manually compiling 2.69 seems to have done the trick. (Yay!) 
>> I was porting over my old radvd.conf from linux and I have this option set "AdvRouterAddr On". I cannot seem to find the equalivant in dnsmasq. 
>>
>> I want me router's global address 2001:DEAD:BEEF:DDDD::1 to be advertised as the default route and not the link-local. 
>> This breaks some firewall bits that I sadly don't have control over. I could always go back to a dnsmasq+radvd setup but I want to retire the linux server that currently runs radvd. 
>>
>> Some pointers appreciated! 
> 
> This isn't currently supported by dnsmasq, sorry.
> 
> It would be worth considering supporting rfc3775 sections 7.2 and 7.3.
> Would that be sensible stand-alone, or is other stuff needed too?

I'd think that's pretty good, since you don't need sections 7.1 and 7.4 unless
you're going to be a home agent.  It looks like you already support sending a
Source Link-Layer Address option in the RA (section 7.5), and the shorter
intervals might already be there too?

-Brian


>> Below is my current configuration (anonimized): 
>> ##### dnsmasq configuration 
>> ### listen on interface 
>> interface=vlan150 
>> interface=vlan200 
>> interface=vlan300 
>>
>> ### dns 
>> ## hosts (import /etc/hosts) 
>> #no-hosts 
>> #addn-hosts=/etc/dnsmasq.d/hosts 
>> ## custom resolvers 
>> resolv-file=/etc/dnsmasq.d/resolvers 
>> ## domain configuration 
>> domain=example.org 
>> domain-needed 
>> expand-hosts 
>> bogus-priv 
>>
>> ### dhcp 
>> ## options 
>> dhcp-authoritative 
>> dhcp-option=option:netbios-nodetype,8 
>> dhcp-option=option6:dns-server,[::] 
>> dhcp-option-force=option:ntp-server,172.16.db.1 
>> dhcp-option-force=option6:ntp-server,[2001:DEAD:BEEF:AAAA::1] 
>>
>> ## static leases 
>> dhcp-hostsfile=/etc/dnsmasq.d/reservations 
>>
>> ## ipv4 
>> dhcp-range=vlan150,172.16.db.100,172.16.db.225,24h 
>> dhcp-range=vlan200,172.16.db.220,172.16.db.225,48h 
>> dhcp-range=vlan300,172.16.db.200,172.16.db.225,48h 
>>
>> ## ipv6 
>> enable-ra 
>> dhcp-range=vlan150,2001:DEAD:BEEF:DDDD::,ra-stateless,ra-names,64,24h 
>> dhcp-range=vlan200,2001:DEAD:BEEF:EEEE::,ra-stateless,ra-names,64,48h 
>> dhcp-range=vlan300,2001:DEAD:BEEF:AAAA::,ra-stateless,ra-names,64,48h 
>>
>> ### logging 
>> ## specify syslog facility (- to disable) 
>> log-facility=- 
>> ## verbose logging 
>> #log-dhcp 
>> #log-queries 
>>
>> _______________________________________________
>> Dnsmasq-discuss mailing list
>> Dnsmasq-discuss at lists.thekelleys.org.uk
>> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>>
> 
> 
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> 




More information about the Dnsmasq-discuss mailing list