<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Back again – further digging, I think I’ve got it going with RA’s from the router (M bit set off, O bit set on which makes sense) and the wide-dhcp6 (dhcp6s) dhcp server on Debian – with single line config that seems to work.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>So I’m just misunderstanding how to setup a DHCPV6 only dnsmasq, without it making RA’s.?<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:EN-GB'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:EN-GB'> dnsmasq-discuss-bounces@lists.thekelleys.org.uk [mailto:dnsmasq-discuss-bounces@lists.thekelleys.org.uk] <b>On Behalf Of </b>kim-dnsmasq@bluemoose.org.uk<br><b>Sent:</b> 29 December 2012 10:01<br><b>To:</b> dnsmasq-discuss@lists.thekelleys.org.uk<br><b>Subject:</b> [Dnsmasq-discuss] IPV6 RA configuration<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hi,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>This may be a simple lack of comprehension on my part (I’m convinced IPV6 will be easier for those who never new V4… <span style='font-family:Wingdings'>J</span>) but can someone please point me in the right direction…<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I think I’m trying to configure dnsmasq to send a router advertisement pointing to a different system (ie not itself). I can’t see a way to do that – which may mean it’s a bad idea!<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Background – I’ve got a Billion DSL router and a Debian box – the Billion has native IPV4 and V6 to the world (thank you A&A), internally it actually runs dnsmasq I believe, but it’s not trivial to get a shell so I’ve left that alone. The Debian box is running anyway so I use that as an internal DNS with dnsmasq (just updated to 2.65 from the sid deb packages, although I’m still on squeeze) , and as a NAT gateway for all the sorts of things which are popping up with RJ45’s on these days I don’t want to give public V4’s. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>IPV4 – fine – dnsmasq on Debian handles DHCP for the NAT range, and happily hands out details telling those things to use the debian box as a gateway. Via MAC based tags, a few others get given a fixed IP and default gateway straight to the Billion router – all well.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Initially the Billion came setup for V6 -running both router advertisements and DHCPV6 – which would be fine, but of course it sets IPV6 DNS to only the external ISP servers, so any internal only hosts (printers etc) aren’t listed. So if a host does DNS over V4 it can see all the printers etc, if it uses V6 it only sees the public DNS. Now I know I could go and set up every single device in the A&A public DNS, and that would fix it but that feels silly – all I want is to have the IPV6 config point to the internal Debian dnsmasq and all will be fine.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The billion seems to run dnsmasq, radvd and dhcp6s, but I can’t easily get shell access to edit to the config files directly, so I ‘ve turned them off in the web interface and I’m trying to advertise the right config from dnsmasq on the debian box.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’m happy using V6 autoconfig addresses (seems half the point of V6 for clients) but I think I need to send router advertisments pointing the default gateway directly to the Billion router, not to the Debian box where dnsmasq is running (no reason to send the packets via Debian as no NAT involved in V6). I then need to use DHCPV6 to set the DNS server to the debian box and all will be well.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I can’t find a way to specify the default gateway sent in the RA from dnsmasq – entirely logically it sends its own address and only that.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I tried to get clever and turn RA’s back on from the Billion router and disable them on dnsmasq – leaving DHCPV6 on Debian to set DNS and turning it off on the router – it sort of works but only some of the time which makes me think I’ve missed the point.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Any thoughts? – are RA’s inherently only ever set to the router they are sent from? What’s the best way to set up a network with the DNS on one box and the router on another.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks in advance – sorry this is such a long mail!<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Cheers<o:p></o:p></p><p class=MsoNormal>Kim<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>