Re: [Dnsmasq-discuss] DNSMasq DHCPv6 seems to fail with dhcp6c
Am 09.03.2012 22:21, schrieb Simon Kelley: > nt at all. I'll install it here in > the next couple of days and see if I can reproduce the problem. > > Later > > > Cheers, > > Simon. Hi Simon, thanks for your time! :) FYI: When I use dibbler-server, my cisco wlan-ap gets an ipv6-address leased with default config. Conrad ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Re: [Dnsmasq-discuss] DNSMasq DHCPv6 seems to fail with dhcp6c
On 09/03/12 21:14, Conrad Kostecki wrote: > Hi Simon, > yes, i can alter it. I've removed this line, but it did not help :( > > Ah well, worth a try. I haven't tested the WIDE dhcp6 client at all. I'll install it here in the next couple of days and see if I can reproduce the problem. Later Cheers, Simon. ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Re: [Dnsmasq-discuss] DNSMasq DHCPv6 seems to fail with dhcp6c
Hi Simon, yes, i can alter it. I've removed this line, but it did not help :( Conrad Am 09.03.2012 22:08, schrieb Simon Kelley: > On 09/03/12 20:50, Conrad Kostecki wrote: >> Hello! >> I've here an WLAN-AP from Cisco. It's the WAP4410N. >> It supports nativly IPv6 and DHCPv6. >> >> My Problem is, it seems not got get an IP from DNSMasq for IPv6. As I >> have SSH on this AP, i debugged a little bit. >> There is the client "dhcp6c" installed. >> >> The config there is: >> interface br0 { >> send rapid-commit; >> request dns-servers; >> request domain; >> }; > It it possible to alter that config? If so can you try without "send > rapid-commit", to see if that improves things? > > Cheers, > > Simon. > > ___ > 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
Re: [Dnsmasq-discuss] DNSMasq DHCPv6 seems to fail with dhcp6c
On 09/03/12 20:50, Conrad Kostecki wrote: > Hello! > I've here an WLAN-AP from Cisco. It's the WAP4410N. > It supports nativly IPv6 and DHCPv6. > > My Problem is, it seems not got get an IP from DNSMasq for IPv6. As I > have SSH on this AP, i debugged a little bit. > There is the client "dhcp6c" installed. > > The config there is: > interface br0 { > send rapid-commit; > request dns-servers; > request domain; > }; It it possible to alter that config? If so can you try without "send rapid-commit", to see if that improves things? Cheers, Simon. ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
[Dnsmasq-discuss] DNSMasq DHCPv6 seems to fail with dhcp6c
Hello! I've here an WLAN-AP from Cisco. It's the WAP4410N. It supports nativly IPv6 and DHCPv6. My Problem is, it seems not got get an IP from DNSMasq for IPv6. As I have SSH on this AP, i debugged a little bit. There is the client "dhcp6c" installed. The config there is: interface br0 { send rapid-commit; request dns-servers; request domain; }; I am attaching verbose log files of dnsmasq-dhcp and dhcp6c. Can someone look into it? Is this a problem with dnsmasq, or is this the fault of Cisco and dhcp6c? As I see in the log, there seems to be given an IP to my AP, but my AP does not use it? Thanks! Conrad Mar/09/2012 21:41:56 <3>[interface] (9) Mar/09/2012 21:41:56 <5>[br0] (3) Mar/09/2012 21:41:56 <3>begin of closure [{] (1) Mar/09/2012 21:41:56 <3>[send] (4) Mar/09/2012 21:41:56 <3>[rapid-commit] (12) Mar/09/2012 21:41:56 <3>end of sentence [;] (1) Mar/09/2012 21:41:56 <3>[request] (7) Mar/09/2012 21:41:56 <3>[dns-servers] (11) Mar/09/2012 21:41:56 <3>end of sentence [;] (1) Mar/09/2012 21:41:56 <3>[request] (7) Mar/09/2012 21:41:56 <3>[domain] (6) Mar/09/2012 21:41:56 <3>end of sentence [;] (1) Mar/09/2012 21:41:56 <3>end of closure [}] (1) Mar/09/2012 21:41:56 <3>end of sentence [;] (1) Mar/09/2012 21:41:56 duplicated requested option: interface ID Mar/09/2012 21:41:56 duplicated requested option: reconfigure message Mar/09/2012 21:41:56 duplicated requested option: opt_20 Mar/09/2012 21:41:56 extracted an existing DUID from /var/dhcpv6/dhcp6c_duid: 00:01:00:01:16:ed:2f:f5:00:21:29:7c:a8:e4 Mar/09/2012 21:41:56 link local addr is fe80::221:29ff:fe7c:a8e4 Mar/09/2012 21:41:56 res addr is fe80::221:29ff:fe7c:a8e4/28 Mar/09/2012 21:41:56 found an interface br0 harware 1773 Mar/09/2012 21:41:56 create iaid 2173308 for interface br0 Mar/09/2012 21:41:56 found an interface br0 harware 7f959bb3 Mar/09/2012 21:41:56 found interface br0 iaid 2173308 Mar/09/2012 21:41:56 interface br0 iaid is 2173308 Mar/09/2012 21:41:56 interface br0 go parse the lease file Mar/09/2012 21:41:56 open_netlink_socket called Mar/09/2012 21:41:56 netlink_send_rtmsg called Mar/09/2012 21:41:56 netlink_recv_rtgenmsg called Mar/09/2012 21:41:56 netlink_recv_rtgenmsg error Mar/09/2012 21:41:56 netlink_send_rtgenmsg called Mar/09/2012 21:41:56 netlink_recv_rtgenmsg called Mar/09/2012 21:41:56 get_if_flags called Mar/09/2012 21:41:56 get_if_flags called Mar/09/2012 21:41:56 get_if_flags called Mar/09/2012 21:41:56 interface managed flags set Mar/09/2012 21:41:56 interface otherconf flags set Mar/09/2012 21:41:56 get_if_flags called Mar/09/2012 21:41:56 get_if_flags called Mar/09/2012 21:41:56 get_if_flags called Mar/09/2012 21:41:56 netlink_recv_rtgenmsg error Mar/09/2012 21:41:56 create an event 0x1000eb40 xid 0 for state 0 Mar/09/2012 21:41:56 reset a timer on br0, state=INIT, timeo=0, retrans=861 Mar/09/2012 21:41:56 go client6_mainloop() Mar/09/2012 21:41:57 ifp 0x10004008 event 0x1000eb40 a new XID (4f321) is generated Mar/09/2012 21:41:57 client ID and request options Mar/09/2012 21:41:57 set elapsed time Mar/09/2012 21:41:57 set client ID Mar/09/2012 21:41:57 set rapid commit Mar/09/2012 21:41:57 set IA_NA iaidinfo: iaid 2173308 renewtime 4294967295 rebindtime 4294967295 Mar/09/2012 21:41:57 set identity association Mar/09/2012 21:41:57 set option request Mar/09/2012 21:41:57 send dst if br0 addr is ff02::1:2 scope id is 4 Mar/09/2012 21:41:57 send solicit to ff02::1:2 Mar/09/2012 21:41:57 DUID is 00:01:00:01:16:ed:2f:f5:00:21:29:7c:a8:e4, DUID_LEN is 14 Mar/09/2012 21:41:57 removing ID (ID: 00:01:00:01:16:ed:2f:f5:00:21:29:7c:a8:e4) Mar/09/2012 21:41:57 DUID is , DUID_LEN is 0 Mar/09/2012 21:41:57 reset a timer on br0, state=SOLICIT, timeo=0, retrans=1067 Mar/09/2012 21:41:58 client ID and request options Mar/09/2012 21:41:58 set elapsed time Mar/09/2012 21:41:58 set client ID Mar/09/2012 21:41:58 set rapid commit Mar/09/2012 21:41:58 set IA_NA iaidinfo: iaid 2173308 renewtime 4294967295 rebindtime 4294967295 Mar/09/2012 21:41:58 set identity association Mar/09/2012 21:41:58 set option request Mar/09/2012 21:41:58 send dst if br0 addr is ff02::1:2 scope id is 4 Mar/09/2012 21:41:58 send solicit to ff02::1:2 Mar/09/2012 21:41:58 DUID is 00:01:00:01:16:ed:2f:f5:00:21:29:7c:a8:e4, DUID_LEN is 14 Mar/09/2012 21:41:58 removing ID (ID: 00:01:00:01:16:ed:2f:f5:00:21:29:7c:a8:e4) Mar/09/2012 21:41:58 DUID is , DUID_LEN is 0 Mar/09/2012 21:41:58 reset a timer on br0, state=SOLICIT, timeo=1, retrans=2217 Mar/09/2012 21:42:01 client ID and request options Mar/09/2012 21:42:01 set elapsed time Mar/09/2012 21:42:01 set client ID Mar/09/2012 21:42:01 set rapid commit Mar/09/2012 21:42:01 set IA_NA iaidinfo: iaid 2173308 renewtime 4294967295 rebindtime 4294967295 Mar/09/2012 21:42:01 set identity association Mar/09/2012 21:42:01 set option request Mar/09/2012 21:42:01 send dst if br0 addr is ff02::1:2 scope id is 4 Mar/09/2012 21:42:01 send solicit to ff02::1:2 Mar/09/2012 21:42:01 DUID is 00:01:00:01:16:
Re: [Dnsmasq-discuss] Detect conflicting DHCP servers
Contacting DHCP servers is a task for a DHCP client, not a DHCP server. There are a number of scripts available which will send a request and listen to all responses (not just the first), generating an alert if any unexpected nodes responded. Google "rogue DHCP detect". On Fri, Mar 9, 2012 at 3:25 AM, james garner wrote: > Dear list, > > our DHCP requests are handled by dnsmasq on the main server. Every now and > then a technically illiterate person connects a device to the network that > by default acts as DHCP-server, may it be a print server or a switch. Is > there a way to tell dnsmasq to periodically scan for other DHCP-servers and > give a warning if necessary? > Thanks > > ___ > 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] Feature Request(s)
Hi Simon - I'm a big fan of DNSMasq, it's great software, thanks all for your hard work. I had three requests/questions I just wanted to throw out there that would come in handy for simplifying configuration in what I think would be an intuitive way. For the most part, this is related to consolidating DNSMasq implementations into a single config file and extending cmd line syntax to reduce reliance on external files. I really like the self contained simple nature of DNSMasq and I won't be happy until it's as powerful and cryptic as Perl ;) 1) address=/domain/ip works great as described, but *.domain and *.*.domain (etc...) also resolv based on this syntax. Syntax like address=/.domain/ip that would prevent *.domain from resolving, or address=/..domain/ip would prevent *.*.domain but allow *.domain, something in that vain, would come in handy. That way, single A records could be overridden with address=/.host/ip so I could keep everything in a single dnsmasq.conf file without maintaining a separate addn-hosts file. Seems like this could extend functionality in a very intuitive, backwards-compatible way without adding much messiness to config or documentation. 2) Any reason why an /etc/hosts syntax line can't be put in a dnsmasq.conf file? As far as I can tell it wouldn't break the dnsmasq syntax, and it would allow for consolidating files in a very intuitive, minimalist way. 3) If #1 & #2 aren't feasible, how about something like a=host,ip that would allow for an A/PTR pair in more traditional dnsmasq.conf style syntax, to reduce the need for an addn-hosts file. 4) How come cname= only works for local hosts? Would that be difficult to implement so you could create CNAMEs for A records hosted on upstream servers? regards, Rob ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
[Dnsmasq-discuss] Detect conflicting DHCP servers
Dear list, our DHCP requests are handled by dnsmasq on the main server. Every now and then a technically illiterate person connects a device to the network that by default acts as DHCP-server, may it be a print server or a switch. Is there a way to tell dnsmasq to periodically scan for other DHCP-servers and give a warning if necessary? Thanks ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss