[Dnsmasq-discuss] announcing deprecated router advertisment
Hi, I have configured dnsmasq along with this line: dhcp-range=lan,fdef:12a0:ffe1:200::,slaac,64,deprecated When the RA is received, the lifetime is 1800 seconds. The man page states that deprecated sets the lifetime to 0. Might this be a bug? Anyway, is there a way to exclude the DNS server entry in the RA? :) Thanks, mwarning signature.asc Description: OpenPGP digital signature ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Re: [Dnsmasq-discuss] announce prefix only
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Thanks for elaborating on the options. But what is the A-Bit? I am only aware of the M and O-Bit: http://www.tcpipguide.com/free/t_ICMPv6RouterAdvertisementandRouterSolicitationMess-2.htm On 10/26/2014 11:55 PM, Gui Iribarren wrote: > 26/10/14 15:54, Moritz Warning: >> hi, > >> I get confused a bit with slaac, ra-names etc.. > > hehe... it took me some time to get my head around it too :) > > ra-names it's just a "feature" that you add on top of slaac or ra-stateless > > both slaac and ra-stateless will set the A bit (=yes) > so hosts will autoconfigure themselves addresses > > the difference is that slaac will unset O bit (=no), so hosts will just > get the RA, autoconfig an address, and that's it, > while ra-stateless sets the O bit (=yes), so after hosts get the RA, > they are expected to send a DHCPv6 request for "other" information (dns > server, dns domain...) > > in both cases, tho, the address is autoconfigured, since M bit is unset > (no DHCPv6 transaction to receive an address) > > unless you specify a range, of course, like > dhcp-range=2001:db8::1,2001:db8::400 > which sets the M bit (=yes), so if you append either slaac or > ra-stateless, will result in hosts getting 2 addresses: one > autoconfigured, and one transactd through DHCPv6 > > >> In my case the router does not have Internet access, >> but still, I like the clients to have slaac addresses >> according to some specific prefix (fdef:..). >> So that I do not have to resort to link local addresses. > >> I think I need the A and M bit unset in the RA packets. > > mmh.. you need the A bit *set*, to make hosts have slaac addresses > >> But how can this be accomplished? > > any of the following possibilites > > dhcp-range=2001:db8::,slaac > dhcp-range=2001:db8::,ra-stateless > dhcp-range=2001:db8::,slaac,ra-names > dhcp-range=2001:db8::,ra-stateless,ra-names > > all of those will have M bit unset (no dhcpv6 range specified) > the second (and 4th) allows you to tell hosts for ex. dns domain > dhcp-option=option6:domain-search,red.deltalibre.org.ar > > and the last two, if combined with dhcpv4, will also try to discover > hosts autoconfig addresses and relate those (resolve) to names learned > by dhcpv4 > > hope i didn't mix things up, > cheers! > > gui > > >> Thanks for the help. >> - mwarning > >> ___ >> Dnsmasq-discuss mailing list >> Dnsmasq-discuss@lists.thekelleys.org.uk >> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss > > > -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iQEcBAEBCAAGBQJUTpPKAAoJECHrh56PP4wptMMH/2NC85asjjTb2WfYaAs4gZIi KMQNlEIjxZpPUT4b3tj2K0t6esBZPQDACqBt29KMcvXI8+pZuqKYe00f97xO8t3E C5s2YyfXgdk6Zzv4Jl4ix47UrNVcVFbZ6Pl9IrU+tr1wrEn1a4ygVJiKOo6V7hiX sIeqs9DcC2kWFl2shiZXbweqj7sAQHb8ZuzSg2jFLEfxccfwvRLRPBmq+tCGqva/ 5xPpiV052+/itHH5+Hu2ntU76lcU57qAm9qTiYsoHFO4V11zOcRGIOSzv19GeI50 y8t0a9780fz34yQ9Ly1FpZYEdC89CQ86Fgogwqnl1+dV3yRojBf0Y0h9GHaZFpw= =9fgx -END PGP SIGNATURE- ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
[Dnsmasq-discuss] announce prefix only
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 hi, I get confused a bit with slaac, ra-names etc.. In my case the router does not have Internet access, but still, I like the clients to have slaac addresses according to some specific prefix (fdef:..). So that I do not have to resort to link local addresses. I think I need the A and M bit unset in the RA packets. But how can this be accomplished? Thanks for the help. - - mwarning -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iQEcBAEBCAAGBQJUTW2zAAoJECHrh56PP4wpnrkH/2mp6dcAZKLbRUTTebrOcy7b i1Dx3dcvG33qhlvCwD75DrIl1AsmZ66K4OS/J9HgQNqC6SjKwVbRiVma2cJacMtp o933if/tN79sQGMf/Iw3Z51DDAyP3SYZfRlpAeWSN0lOaPq8P+IyrMTH86vOrXR7 Glhu4lh/BtFapwKBL0BE/ZI1+lIqfdgQ6HQBKQ84ETchuUslUyXjKg5I1sCDKtRF 1h2x/8os07jcFznxCwj0C8n3uJkBOB40oyiyiz1UBprlj+YPFXU295p4bg8qCPPC eGX8/4MKhAsGCMWnF2RMEB1OS6lAqtRXtVfkAFQYZMDUxw/AdzVLbauoO85ZoLU= =Oahq -END PGP SIGNATURE- ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Re: [Dnsmasq-discuss] separate resolv.conf for each interface
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 09/29/2014 09:29 PM, Simon Kelley wrote: > On 29/09/14 14:07, Moritz Warning wrote: >> Hi, >> >> I have dnsmasq running and configured to hand out different DHCP >> ranges on two different interfaces. Pretty standard. Now I need to >> use a different set of DNS servers for each interface. >> >> Is that possible? >> >> So far I have tried to run two dnsmasq instances. I had to patch up >> the OpenWrt init script. But binding to interfaces or IP-addresses >> is not possible because both interfaces share an IP-Address caused >> by network relaying. Well, this approach is somewhat messy. :) >> >> Maybe I can shut down dnsmasq DNS on one interface and use a >> different dnsmasq instance for just DNS on that interface? >> >> Thanks, mwarning > > > So you need to send queries to a different set of upstream DNS > servers, depending which interface the request is coming from? That's > not possible. Well, yes. That is what I need. The one network is a public one and DNS requests should not leak over the private Internet connection. > > I'm not sure what the "both interfaces >> share an IP-Address " stuff is about. That's likely to make it >> very > difficult to do anything like this, since you'll need information from > below the IP layer even to determine which physical inteface a client > is on. Both interfaces have one IPv6 address in common because of odhcpds IPv6 relay feature (https://github.com/sbyx/odhcpd). Well, maybe we can do without. > > > Cheers, > > Simon. > The solutions seems to disable dnsmasqs DNS and use a different program, or to use two dnsmasq instances. Thanks for the reply, mwarning -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iQEcBAEBCAAGBQJUKcboAAoJECHrh56PP4wpSfAH/iFqINq/E+wFKhMScca7Ky0e uhLkeWzm81pfSZpCNXNjJ4jVwS/W0yaYAvXr07ouIYR/Cy32sMQYyfy3iqtXaMQF U0Rxe3Bt94OnrH7DFckX1gfCZ4G3me54RslhufKsZb9FDZjstCbffLmiVxP9VI6+ YpWdqn8lwsiGaW69sh/KqiAUcoD+82OuOKab2qol9msV6OuZr8ddf+J61iVFHhgK ozmHP/b3XgscSKif/zndaGUvYbjFulzF83vQvy7lUi1M7D1+9Stg9fopf7hAWPwq OZS+4/vUVitIra27UlS1/vJ16HXuT/P4GFMcWeOILu/wKDEV9c2tti2ZLpZrph8= =zr00 -END PGP SIGNATURE- ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
[Dnsmasq-discuss] separate resolv.conf for each interface
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, I have dnsmasq running and configured to hand out different DHCP ranges on two different interfaces. Pretty standard. Now I need to use a different set of DNS servers for each interface. Is that possible? So far I have tried to run two dnsmasq instances. I had to patch up the OpenWrt init script. But binding to interfaces or IP-addresses is not possible because both interfaces share an IP-Address caused by network relaying. Well, this approach is somewhat messy. :) Maybe I can shut down dnsmasq DNS on one interface and use a different dnsmasq instance for just DNS on that interface? Thanks, mwarning -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iQEcBAEBCAAGBQJUKVl/AAoJECHrh56PP4wprM8H/iO/DD2+wZ8myESBHz/4+VGx ehuPupyG/6B8SwSuDK7MsQZtQkgFdNHq8bmrG2HWqSh+sJwfZP0EnVZzIayVH4iF k1KjrrzDGqypXilsjDNdTR26p3dSimqEwwttmYdUhvxv4scinzTacSIaNc4QmkF/ +9P7VpFyiy9p/xJlsHdpVh5oRMDp3ddGpCkLLwf5dOn6t8KZe2A9D3UQGdgBSK/f 0fZt142yYp/iFSWxhhML5N3MVDAZ7opAKFcFVQBiB8M4kB4MDk+30WWKIdvqWwIb 7dKaHF/IWoF7WhyVc7qpiFBd+tiJk/wUgo+DrmkaPUuxyt5nKh8D+oMLPdDpEE8= =kMHP -END PGP SIGNATURE- ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Re: [Dnsmasq-discuss] gatway
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ok, thanks. :) On 10/02/2013 04:02 PM, Simon Kelley wrote: > On 02/10/13 14:47, Moritz Warning wrote: > The gateway in our network isn't always present. > So it won't be able to announce a prefix all the time. > Yet, every new computer need to know a prefix > to communicate with other computers on the network. > I would assume that this is common scenario. > >> Isn't that what link-local addresses are for? > > > Btw., ra-names is not really necessary for us. > We just want to gives connected computers a > prefix and at some point in the future the > address and prefix of the gateway as well. > router-advertisements/-solicitations are blocked on the network > except between a computer (client) and the router it is connected to. > It is a public mesh network. :-) > >> I think the place for further study on this is RFC 3775, "Mobility Support >> in IPv6". Specifically look at section 7. I don't understand if that fixes >> the problem you have, but if it does, I'd consider supporting the >> modifications detailed there, somehow. > > >> Cheers, > >> Simon. > > > On 10/02/2013 11:44 AM, Simon Kelley wrote: >>>> On 02/10/13 02:57, Moritz Warning wrote: >>>> Hi, >>>> >>>> is it possible to tell dnsmasq not to announce itself as router? >>>> The problem is that connected computers try to use the router as gateway. >>>> The router is not the gateway of the network, but some other computer. >>>> >>>> For what it matter, this is the IPv6 setting in my Dnsmasq (version 2.66) >>>> configuration: >>>> >>>> dhcp-range=public,fdef:1700:::,ra-names,slaac,64,infinite >>>> >>>>> I don't think it is, except by stopping it from advertising prefixes as >>>>> well, (ie, remove the above line completely). The protocol doesn't >>>>> (AFAIK) allow prefix advertisements which are not also router >>>>> advertisements. >>>> >>>> >>>>> It _might_ be possible to do the ra-names functionality whilst leaving >>>>> router/prefix announcement to another host, it would required code >>>>> changes and I've not thought hard about if it would work or be desirable. >>>> >>>> >>>>> Cheers, >>>> >>>>> Simon. >>>> >>>> >>>> thanks, >>>> mwarning >>>>> >>>>> ___ >>>>> Dnsmasq-discuss mailing list >>>>> Dnsmasq-discuss@lists.thekelleys.org.uk >>>>> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss >>>>> >>>> >>>> >>>> ___ >>>> Dnsmasq-discuss mailing list >>>> Dnsmasq-discuss@lists.thekelleys.org.uk >>>> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss > >> >> ___ >> Dnsmasq-discuss mailing list >> Dnsmasq-discuss@lists.thekelleys.org.uk >> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss >> > > > ___ > Dnsmasq-discuss mailing list > Dnsmasq-discuss@lists.thekelleys.org.uk > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iQEcBAEBAgAGBQJSTCmSAAoJECHrh56PP4wpRtYH/jyavHsCh+30CeUle8CjvTsy ZHHXV1ncgvdtIrQU+1Rsf8Y6WaOa70c49wC7XMw6KVdNk/AljYFi4+I/br7w2DSR DSqCJi5ylBOoJqJfoSu8LvxAKLqklH/AKdsEglo5IoI6gSrOunAgvftSdBGaDGqt 7jCeTa9ZLB8sCp7BHCb6LN5auLP1YFry2DslD/JnpUALlg38zzd2LPB2W0T+mA9/ Up7V8acSrNDMfT0D4h/NaCjkwv4s+NxUxRlo820ZhM7sXS6dLtLkiC2bN79Bhfyq zbpBvusfmNM0Q7b2Y5xP1EUR2w3hpy6cFL2Jg+XWsIFkEDEtzChUC3JU2/6lR8w= =TDKj -END PGP SIGNATURE- ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Re: [Dnsmasq-discuss] gatway
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The gateway in our network isn't always present. So it won't be able to announce a prefix all the time. Yet, every new computer need to know a prefix to communicate with other computers on the network. I would assume that this is common scenario. Btw., ra-names is not really necessary for us. We just want to gives connected computers a prefix and at some point in the future the address and prefix of the gateway as well. router-advertisements/-solicitations are blocked on the network except between a computer (client) and the router it is connected to. It is a public mesh network. :-) On 10/02/2013 11:44 AM, Simon Kelley wrote: > On 02/10/13 02:57, Moritz Warning wrote: > Hi, > > is it possible to tell dnsmasq not to announce itself as router? > The problem is that connected computers try to use the router as gateway. > The router is not the gateway of the network, but some other computer. > > For what it matter, this is the IPv6 setting in my Dnsmasq (version 2.66) > configuration: > > dhcp-range=public,fdef:1700:::,ra-names,slaac,64,infinite > >> I don't think it is, except by stopping it from advertising prefixes as >> well, (ie, remove the above line completely). The protocol doesn't (AFAIK) >> allow prefix advertisements which are not also router advertisements. > > >> It _might_ be possible to do the ra-names functionality whilst leaving >> router/prefix announcement to another host, it would required code changes >> and I've not thought hard about if it would work or be desirable. > > >> Cheers, > >> Simon. > > > thanks, > mwarning >> >> ___ >> Dnsmasq-discuss mailing list >> Dnsmasq-discuss@lists.thekelleys.org.uk >> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss >> > > > ___ > Dnsmasq-discuss mailing list > Dnsmasq-discuss@lists.thekelleys.org.uk > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iQEcBAEBAgAGBQJSTCPaAAoJECHrh56PP4wpb2sIAOBFoJW4qj3XC5hius+zpRQK m2p3O4bxXREb4Leow5pKbWiBfbaqrCogQqAzUo4HlL69GNC9airgkhJWtDzl8fKy 7XsHS6spxwsdyYtjnXCBUAK4RKBOwOW74jqgIEVYX/0nyrKS1rnxHHokAcyj+yZr DJ3cUCNaH372w8nkobRJtNzV6SJG+/fsEZXKiQcY6CuU3SG816pZawKaysBXlIF5 i3jnYp1Tujm6LKM1xVnlE3Xn7w3+60TsF3vUYgK9rMqK6WseY6YSRngSzyqtUndo jY24/7X3fPEuAgc/1AoOhMqQzLf+/8G2Qc2Cp3XZu5aWEE8cntNWjZPNVC63BZo= =mrW6 -END PGP SIGNATURE- ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
[Dnsmasq-discuss] gatway
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, is it possible to tell dnsmasq not to announce itself as router? The problem is that connected computers try to use the router as gateway. The router is not the gateway of the network, but some other computer. For what it matter, this is the IPv6 setting in my Dnsmasq (version 2.66) configuration: dhcp-range=public,fdef:1700:::,ra-names,slaac,64,infinite thanks, mwarning -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iQEcBAEBAgAGBQJSS319AAoJECHrh56PP4wpXgUH/j0D8rSF7qWciHLfmjlLtVhQ NUicHU4rN2ZyX1XTNn9HZi66tziZc3PcOs4y3xg+QKdUCkMKiQAV0CDgRmoqgpe6 ER03eC9ibBm7VLU/TubX2Z1tnHIDFwvkyDSP66LBwTbstyaxmS4cOTX6bzizL0oH fE2lwRMIYLn1eV5G/niLdxkZI+WjrWy/d6bggZ6N4M2GqPnwkHkdvdDRwMgo7F0h 2aZWQs6PUxpFVuHpVYIZcDEvjYI1CBBi9BF6XXaiWIVSktnIQ0AfKYK58E3tkWAI RnRJ0G3Di3DwNGpPJZ2Da6v0pR1PEKMcjzmcvfKgwdFiKBVP2SMa3VHPXkAQz7s= =ign/ -END PGP SIGNATURE- ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Re: [Dnsmasq-discuss] replace dnsmaq by radvd
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/23/2013 11:07 AM, Simon Kelley wrote: > On 23/05/13 09:41, Moritz Warning wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> On 05/23/2013 08:57 AM, Kevin Darbyshire-Bryant wrote: >>> On 22/05/2013 22:43, Moritz Warning wrote: >>>> Sorry for the delay - life is busy. :) >>>> >>>> Actually the ip address of br-private is of type "prefix"::1 >>>> >>>> root@OpenWrt:~# ip -6 address show dev br-private >>>> 8: br-private: mtu 1500 >>>> inet6 fdef:17a0:ffb1:1::1/64 scope global >>>> valid_lft forever preferred_lft forever >>>> inet6 fe80::f887:99ff:fea9:34af/64 scope link >>>> valid_lft forever preferred_lft forever >>>> >>>> Here is the content of my dnsmasq.conf: >>>> enable-ra >>>> dhcp-range=fdef:17a0:ffb1:1::1,constructor:br-private,slaac,64,infinite >>>> dhcp-authoritative >>>> domain-needed >>>> localise-queries >>>> read-ethers >>>> bogus-priv >>>> expand-hosts >>>> dhcp-leasefile=/tmp/dhcp.leases >>>> resolv-file=/tmp/resolv.conf.auto >>>> >>>> >>>> dhcp-range=private,192.168.133.100,192.168.133.249,255.255.255.0,12h >>>> dhcp-option=private,3,192.168.133.1 >>>> dhcp-range=public,10.29.0.1,10.29.254.254,255.255.0.0,2h >>>> dhcp-option=public,3,10.29.131.187 >>>> no-dhcp-interface=eth0.2 >>>> >>>> >>>> The problem is that my computer (attached to br-private) does only >>>> get an ipv4 address and ipv6 link local (fe80::..). >>>> >>>> Any ideas where I should look for errors? >>>> dnsmasq is version 2.62 (IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP >>>> no-DHCPv6 no-Lua TFTP no-conntrack). >>>> >>>> regards, >>>> mwarning >>> >>> Constructor option is 2.66& later. >>> >>> >>> >>> >>> >>> ___ >>> Dnsmasq-discuss mailing list >>> Dnsmasq-discuss@lists.thekelleys.org.uk >>> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss >> >> What a pity. OpenWrt Attitude Adjustment seems to be stuck at 2.62. >> > I don't know the details of OPenWrt development, but there definitely exists > versions with later dnsmasq releases. The constructor: syntax was added at > the suggestion of OpenWrt devs. > > Cheers, > > Simon > > ___ > Dnsmasq-discuss mailing list > Dnsmasq-discuss@lists.thekelleys.org.uk > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss We use the Attitude Adjustment release of OpenWrt which uses dnsmasq 2.62. Trunk is at 2.66 though. Also, it is not about the constructor syntax but doing router advertisements. I couldn't get it to work using 2.62. A later version seems to be necessary. thanks, mwarning -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJRnd2KAAoJECHrh56PP4wpjh0H/RJg/DLeXBP4QcShSse+VS0g HKhuc8RwNHy7GedSZEN1HBbcG4VSbpMftbj8QxihbhbbdmJkcs5bZ3qHIwU40iT4 j9FPISX6/2lFdqmdLEjYLx/cv23cSr5XuIlt1Y/mwq/WLCH0OQwtltQf3HyoT2Ec mKtBaNxOK7Da4iDLOWdDharKBtGoh2t7/tCvH5xKkCCvYVMXMCCS9PgTM4Q3EsUi gYAWWIeIh3Dp6TNITTBzwpEXh96jZrxtSaMoNJYIe1egyQ6JuMM65U3QpKL3VrYb GRXAqpwiZsBFUX4F8H2LGs2JM8Av9sKB9b5Nx3AISY6e9+Ukm9tX9lsn5RI0UuA= =iJl5 -END PGP SIGNATURE- ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Re: [Dnsmasq-discuss] replace dnsmaq by radvd
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/23/2013 08:57 AM, Kevin Darbyshire-Bryant wrote: > On 22/05/2013 22:43, Moritz Warning wrote: >> Sorry for the delay - life is busy. :) >> >> Actually the ip address of br-private is of type "prefix"::1 >> >> root@OpenWrt:~# ip -6 address show dev br-private >> 8: br-private: mtu 1500 >> inet6 fdef:17a0:ffb1:1::1/64 scope global >>valid_lft forever preferred_lft forever >> inet6 fe80::f887:99ff:fea9:34af/64 scope link >>valid_lft forever preferred_lft forever >> >> Here is the content of my dnsmasq.conf: >> enable-ra >> dhcp-range=fdef:17a0:ffb1:1::1,constructor:br-private,slaac,64,infinite >> dhcp-authoritative >> domain-needed >> localise-queries >> read-ethers >> bogus-priv >> expand-hosts >> dhcp-leasefile=/tmp/dhcp.leases >> resolv-file=/tmp/resolv.conf.auto >> >> >> dhcp-range=private,192.168.133.100,192.168.133.249,255.255.255.0,12h >> dhcp-option=private,3,192.168.133.1 >> dhcp-range=public,10.29.0.1,10.29.254.254,255.255.0.0,2h >> dhcp-option=public,3,10.29.131.187 >> no-dhcp-interface=eth0.2 >> >> >> The problem is that my computer (attached to br-private) does only >> get an ipv4 address and ipv6 link local (fe80::..). >> >> Any ideas where I should look for errors? >> dnsmasq is version 2.62 (IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP >> no-DHCPv6 no-Lua TFTP no-conntrack). >> >> regards, >> mwarning > > Constructor option is 2.66 & later. > > > > > > ___ > Dnsmasq-discuss mailing list > Dnsmasq-discuss@lists.thekelleys.org.uk > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss What a pity. OpenWrt Attitude Adjustment seems to be stuck at 2.62. Thanks, mwarning -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJRndYuAAoJECHrh56PP4wpVVwH/A/mYirAFAKArC7NDgP8Ut7p vhGGkQXMhLkkeGjz1/zigEwuMgdmhsrzGtzIhiIEPUTr1ORu1lS8DHyJEbQ1qZ5d eg+IhxW6YzAXm7b64qqdDM6U7T7QHDACGfaFvqw78Gp5JVoEKAYH/Knl6SgA0GN+ 51a66uCTJE1TJSAIItUkqPi8hr1whTmKuSwDKZrNtt2fw3YfdYh/weo+p7Us0Y8Z L3x+Z6P1GW7RdpmOgo7D6MbTbdMIAsKburnsEIMXzZtqwVLIkyzFBVNazGx6Cty0 hsYMeYDELay7fyiIu49wtbiIRk/u6zhgeVgzHZtORqkgEkfmMUcMgLeahz22G/A= =SBnt -END PGP SIGNATURE- ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Re: [Dnsmasq-discuss] replace dnsmaq by radvd
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sorry for the delay - life is busy. :) Actually the ip address of br-private is of type "prefix"::1 root@OpenWrt:~# ip -6 address show dev br-private 8: br-private: mtu 1500 inet6 fdef:17a0:ffb1:1::1/64 scope global valid_lft forever preferred_lft forever inet6 fe80::f887:99ff:fea9:34af/64 scope link valid_lft forever preferred_lft forever Here is the content of my dnsmasq.conf: enable-ra dhcp-range=fdef:17a0:ffb1:1::1,constructor:br-private,slaac,64,infinite dhcp-authoritative domain-needed localise-queries read-ethers bogus-priv expand-hosts dhcp-leasefile=/tmp/dhcp.leases resolv-file=/tmp/resolv.conf.auto dhcp-range=private,192.168.133.100,192.168.133.249,255.255.255.0,12h dhcp-option=private,3,192.168.133.1 dhcp-range=public,10.29.0.1,10.29.254.254,255.255.0.0,2h dhcp-option=public,3,10.29.131.187 no-dhcp-interface=eth0.2 The problem is that my computer (attached to br-private) does only get an ipv4 address and ipv6 link local (fe80::..). Any ideas where I should look for errors? dnsmasq is version 2.62 (IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack). regards, mwarning On 05/15/2013 11:01 PM, Kevin Darbyshire-Bryant wrote: > Sorry top posted I know. However constructor options requires interface to > have host address match the start point of your constructor option before it > will pick up the prefix. > > So BR-private must have address "prefix"::1 so it matches the constructor > range. > > Hope that helps > > Kevin > > -- > Cheers, > > On 15 May 2013, at 17:38, "Moritz Warning" wrote: > > Hi, > > I try to replace radvd by dnsmasq but have trouble to configure dnsmasq. > > This line in /etc/dnsmasq.conf works as expected: > dhcp-range=fdef:17a0:ffb1:1::,slaac > > But actually I like dnsmasq to get the ipv6 prefix from the interface > it should advertise on (br-private). > > This line doesn't seem to work: > dhcp-range=::1,constructor:br-private,slaac > > I have read the manpage but couldn't see anything wrong. > Could someone point out what is wrong? > > regards, > mwarning >> >> ___ >> Dnsmasq-discuss mailing list >> Dnsmasq-discuss@lists.thekelleys.org.uk >> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss > -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJRnTwUAAoJECHrh56PP4wpVbUIAIKzy6CEDrWVL+TKg75m+5Kc oLgAC2pDLS2KTWXEUpFrtswZ1vXbg5TdF1WOOIbVeMyUYwhImNTyeRVSaZCQm1Rn vuRGq1hFmxOUYC30v8h6zOAZjzcVkarnMjHAjzAWpfraOjglt+LyI6cKNdgI3c03 MXpEgK+wXcd3W6rlp09m6yXLJx20TNTK3Y+2r1yIvH9wV2XpbqyB6GKAoj/VVF1E Uj7dVU9lJcucBpbEq6Xu/CR5GKpEHqafHG/i6KmbAB/LAYeoSe1PXRm5cqL3zxTu HQfjnMiXd29quU0HOVbQoJO4+WIuAxCG0qbWEpa3sLRYCfbvgCk1umLYPB+9zYM= =LMOc -END PGP SIGNATURE- ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
[Dnsmasq-discuss] replace dnsmaq by radvd
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I try to replace radvd by dnsmasq but have trouble to configure dnsmasq. This line in /etc/dnsmasq.conf works as expected: dhcp-range=fdef:17a0:ffb1:1::,slaac But actually I like dnsmasq to get the ipv6 prefix from the interface it should advertise on (br-private). This line doesn't seem to work: dhcp-range=::1,constructor:br-private,slaac I have read the manpage but couldn't see anything wrong. Could someone point out what is wrong? regards, mwarning -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJRk7a5AAoJECHrh56PP4wpa5oIAKoOpJTVlcBIukWppwpDHZMO s70TBZPyFHGXTDSA1DtwXmAIhzMVeag4tIzN9Vs8yRmeoiokN0wghz/Qv8BHIgXF KRNKhQKzvSf4b2rTnx70DGvgfI3/3jJgIR9pgFjpeL8cHpRdGdar3qLpAw5Tar0A 2PQ9n2rmKK7NXeWCQk4LqzDUtkQoY8/4s1pj1rQG2ZyMs8vLr1oVLCXbkGNBtv// I8j61j190Ou8zXyolB9NdGbC/p1pvSx8of08DeAZo/TzDfHTWPU8nX8b6/R8Q7CL P/lbSgeF4mvzMHucsmo6jiFma2NGSqpezNvTd3iE9zfrjWqAKugzYNlhGVTnyB8= =OZwN -END PGP SIGNATURE- ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Re: [Dnsmasq-discuss] Local upstream server
On 04/15/2013 04:55 AM, /dev/rob0 wrote: > On Mon, Apr 15, 2013 at 04:30:52AM +0200, Moritz Warning wrote: >> Can I add a domain specific upstream server using a different >> port than 53? Dnsmasq already uses that port. > > This is what I do with BIND named on port 1053. > > server=127.0.0.1#1053 > > See --server in the man page. What you might want is something > similar to this: > > server=/example.dht/127.0.0.1#1053 > > This uses 127.0.0.1:1053 for names under and including only > "example.dht". Heh, how could I have missed that. Thanks! :) ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
[Dnsmasq-discuss] Local upstream server
Hi, I have dnsmasq running on a router and like to experiment with a different way to resolve host names using distributed hash tables (DHTs). For that reason I like dnsmasq to resolve everything belonging to a specific domain (let's say *.p2p) using a different program on the same box. The easiest solution seems to be to have the DHT to also act as an upstream DNS server. Can I add a domain specific upstream server using a different port than 53? Dnsmasq already uses that port. regards, mwarning ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss