Re: [Dnsmasq-discuss] It works: multiple dnsmasqs running

2012-10-15 Thread Simon Kelley
On 13/10/12 19:39, Gene Czarcinski wrote: Attached is the patch that worked. Do you intend to incorporate this into dnsmasq? Yes, I'll add the equivalent of this and Vladislav's patch to git today. Good work, thanks for chasing this. I still have the setting of IPV6_V6ONLY and I do not

Re: [Dnsmasq-discuss] It works: multiple dnsmasqs running

2012-10-15 Thread Simon Kelley
On 13/10/12 19:39, Gene Czarcinski wrote: I again proved to myself that specifying listen-address=ip4-address and listen-address=ip6-address does not work with dhcp6 whereas specifying interface=eth0 does. I am not sure how/why it seems to work with dhcp4 (as demonstrated by libvirt) but not

Re: [Dnsmasq-discuss] Windows Server 2008 R2 issue

2012-10-15 Thread Simon Kelley
On 13/10/12 17:34, Brian Haley wrote: Hi, I'm having trouble getting a Windows Server 2008 R2 virtual machine to get a lease from dnsmasq running on Ubuntu Linux. An R1, and any other OS, has no problems. The version of dnsmasq is 2.58-3. My config is as follows: eth0 - public interface -

Re: [Dnsmasq-discuss] dnsmasq caching lease file?

2012-10-15 Thread Simon Kelley
On 14/10/12 00:41, Tautvydas Bruzas wrote: Hi, I am running into the issue where dnsmasq seems to be caching dhcp leases for a defined period of time and doesn't reload them on SIGHUP. I have and openstack install and it uses dnsmasq to serve VMs and IP address, it starts dnsmasq with these

Re: [Dnsmasq-discuss] dnsmasq caching lease file?

2012-10-15 Thread richardvo...@gmail.com
You're confusing configuration with DHCP leases. If you map an IP address to MAC address in the nova-br100.conf file, then the VM will take out a DHCP for a fixed time. Until that lease expires, the IP address will not be given to another VM, even if you change the nova-br100.conf file. Look

Re: [Dnsmasq-discuss] It works: multiple dnsmasqs running

2012-10-15 Thread Gene Czarcinski
On 10/15/2012 06:47 AM, Simon Kelley wrote: On 13/10/12 19:39, Gene Czarcinski wrote: I again proved to myself that specifying listen-address=ip4-address and listen-address=ip6-address does not work with dhcp6 whereas specifying interface=eth0 does. I am not sure how/why it seems to work with

Re: [Dnsmasq-discuss] It works: multiple dnsmasqs running

2012-10-15 Thread Simon Kelley
On 15/10/12 15:48, Gene Czarcinski wrote: On 10/15/2012 06:47 AM, Simon Kelley wrote: On 13/10/12 19:39, Gene Czarcinski wrote: I again proved to myself that specifying listen-address=ip4-address and listen-address=ip6-address does not work with dhcp6 whereas specifying interface=eth0 does.

Re: [Dnsmasq-discuss] It works: multiple dnsmasqs running

2012-10-15 Thread Gene Czarcinski
On 10/15/2012 12:04 PM, Simon Kelley wrote: On 15/10/12 15:48, Gene Czarcinski wrote: On 10/15/2012 06:47 AM, Simon Kelley wrote: On 13/10/12 19:39, Gene Czarcinski wrote: I again proved to myself that specifying listen-address=ip4-address and listen-address=ip6-address does not work with

Re: [Dnsmasq-discuss] Windows Server 2008 R2 issue

2012-10-15 Thread Brian Haley
On 10/15/2012 06:58 AM, Simon Kelley wrote: On 13/10/12 17:34, Brian Haley wrote: Hi, I'm having trouble getting a Windows Server 2008 R2 virtual machine to get a lease from dnsmasq running on Ubuntu Linux. An R1, and any other OS, has no problems. The version of dnsmasq is 2.58-3. My

Re: [Dnsmasq-discuss] Windows Server 2008 R2 issue

2012-10-15 Thread Simon Kelley
On 15/10/12 19:12, Brian Haley wrote: The option 116 thing is a red herring. I think the crucial difference between R1 and R2 is that R2 is R2 is setting the Broadcast flag in its requests, so that dnsmasq is sending replies to 255.255.255.255. Thanks, I looked at that trace many times and

Re: [Dnsmasq-discuss] It works: multiple dnsmasqs running

2012-10-15 Thread Simon Kelley
On 15/10/12 18:05, Gene Czarcinski wrote: I did not really need that because I had already instrumented iface_check(). It is failing because iface_check() is checking the wrong list. Instead of checking the daemon-if_names and daemon-if_addrs lists which it does, it should be checking the

Re: [Dnsmasq-discuss] It works: multiple dnsmasqs running

2012-10-15 Thread Gene Czarcinski
On 10/15/2012 04:02 PM, Simon Kelley wrote: On 15/10/12 18:05, Gene Czarcinski wrote: I did not really need that because I had already instrumented iface_check(). It is failing because iface_check() is checking the wrong list. Instead of checking the daemon-if_names and daemon-if_addrs lists