[Dnsmasq-discuss] dnsmasq's AdvRouterAddr On equivalent

Jorge Schrauwen jorge at blackdot.be
Thu Apr 17 21:22:18 UTC 2014


----- Original Message -----
> From: "Simon Kelley" <simon at thekelleys.org.uk>
> To: dnsmasq-discuss at lists.thekelleys.org.uk
> Sent: Thursday, April 17, 2014 3:20:20 PM
> Subject: Re: [Dnsmasq-discuss] dnsmasq's AdvRouterAddr On equivalent
> 
> 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?
> 
> 
> Cheers,
> 
> Simon.

(Because I was dump and sleepy, I hit reply in stead of reply all the first time.)

Section 7.2 and 7.3 from rfc3775 is all that is needed. From what I can tell the "AdvRouterAddr On" does nothing more than advertise the router with the global address instead of the local one.

Regards

Jorge
> 
> 
> > 
> > Regards
> > 
> > 
> > Jorge
> > 
> > 
> > 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