Re: [Dnsmasq-discuss] Cannot assign IPv6 address for /96 subnet

2013-03-20 Thread Sheng Yang
On Fri, Mar 15, 2013 at 7:25 AM, Simon Kelley si...@thekelleys.org.uk wrote: On 14/03/13 01:57, Sheng Yang wrote: Interesting, the newer version seems no longer allow such line in the configuration file? dhcp-range=fc00:3:1602::7473,96,static dnsmasq keeps complaining about bad dhcp-range,

Re: [Dnsmasq-discuss] Cannot assign IPv6 address for /96 subnet

2013-03-15 Thread Simon Kelley
On 14/03/13 01:57, Sheng Yang wrote: Interesting, the newer version seems no longer allow such line in the configuration file? dhcp-range=fc00:3:1602::7473,96,static dnsmasq keeps complaining about bad dhcp-range, for version 2.66test21. Use the 2.62 is fine(though different cidr not working

Re: [Dnsmasq-discuss] Cannot assign IPv6 address for /96 subnet

2013-03-08 Thread Simon Kelley
On 07/03/13 22:38, Sheng Yang wrote: Hi Simon, Any chance you can reproduce it? If dhcp-range can accept a prefix rather than 64 then hand it out, I think dhcp-host should also able to do so... I just tested 2.66test21, and it worked fine for me. I didn't test earlier code. I've

Re: [Dnsmasq-discuss] Cannot assign IPv6 address for /96 subnet

2013-03-07 Thread Sheng Yang
Hi Simon, Any chance you can reproduce it? If dhcp-range can accept a prefix rather than 64 then hand it out, I think dhcp-host should also able to do so... --Sheng On Wed, Feb 20, 2013 at 2:58 AM, Simon Kelley si...@thekelleys.org.uk wrote: On 20/02/13 02:16, Sheng Yang wrote: Hi Simon,

Re: [Dnsmasq-discuss] Cannot assign IPv6 address for /96 subnet

2013-03-03 Thread Dan Williams
On Fri, 2013-03-01 at 16:58 -0500, Pavel Simerda wrote: - Original Message - From: Joakim Langlet joakim.lang...@seaview.se Pavel and Dan, Thank you for your answers. It makes it a lot easier for me to understand the problems I have with Ubuntu 12.04 and also Debian Wheezy

Re: [Dnsmasq-discuss] Cannot assign IPv6 address for /96 subnet

2013-02-28 Thread Joakim Langlet
Pavel and Dan, Thank you for your answers. It makes it a lot easier for me to understand the problems I have with Ubuntu 12.04 and also Debian Wheezy RC-1 currently. I use DHCPv6 for address assignment (nicely serviced by dnsmasq) and radvd is used to announce the /96 networks. This all works. I

Re: [Dnsmasq-discuss] Cannot assign IPv6 address for /96 subnet

2013-02-27 Thread Dan Williams
On Sat, 2013-02-23 at 12:24 +0100, Joakim Langlet wrote: tis 2013-02-19 klockan 18:02 -0600 skrev Dan Williams: On Tue, 2013-02-19 at 21:06 +, Simon Kelley wrote: So, I did some testing. I configured an server interface with prefix-length 96, and configured dnsmasq with a dhcp-range

Re: [Dnsmasq-discuss] Cannot assign IPv6 address for /96 subnet

2013-02-23 Thread Joakim Langlet
tis 2013-02-19 klockan 18:02 -0600 skrev Dan Williams: On Tue, 2013-02-19 at 21:06 +, Simon Kelley wrote: So, I did some testing. I configured an server interface with prefix-length 96, and configured dnsmasq with a dhcp-range and 96 prefix. Using dhclient, I got a lease

Re: [Dnsmasq-discuss] Cannot assign IPv6 address for /96 subnet

2013-02-19 Thread Simon Kelley
So, I did some testing. I configured an server interface with prefix-length 96, and configured dnsmasq with a dhcp-range and 96 prefix. Using dhclient, I got a lease successfully. The only problem is that dhclient configured the client's interface with prefix-length 64. I moment's thought

Re: [Dnsmasq-discuss] Cannot assign IPv6 address for /96 subnet

2013-02-19 Thread Sheng Yang
Hi Simon, Did you use dhcphost option? dhcp-range works for me(if I specify a range), but not with dhcp-host option(when I specify dhcp-range as static). --Sheng On Tue, Feb 19, 2013 at 1:06 PM, Simon Kelley si...@thekelleys.org.uk wrote: So, I did some testing. I configured an server

Re: [Dnsmasq-discuss] Cannot assign IPv6 address for /96 subnet

2013-02-14 Thread Joakim Langlet
tis 2013-02-12 klockan 20:36 -0800 skrev Sheng Yang: On Tue, Feb 12, 2013 at 6:48 PM, Brian Haley brian.ha...@hp.com wrote: On 02/12/2013 05:43 PM, Sheng Yang wrote: I am also a little dubious here, but if people want to get some smaller subnet, do they able to get it anyway on IPv6?

Re: [Dnsmasq-discuss] Cannot assign IPv6 address for /96 subnet

2013-02-13 Thread Simon Kelley
On 12/02/13 22:42, Sheng Yang wrote: No, it still doesn't work. I am using Debian package, version 2.62. Would it be possible to try 2.65 instead? A lot of fixes have gone into the DHCPv6 code since 2.62. 2.65 is in unstable, or the stuff required to build a Debian package is in the dnsmasq

Re: [Dnsmasq-discuss] Cannot assign IPv6 address for /96 subnet

2013-02-13 Thread Sheng Yang
Same result with 2.65... I just compiled it and tried. --Sheng On Wed, Feb 13, 2013 at 1:42 PM, Simon Kelley si...@thekelleys.org.uk wrote: On 12/02/13 22:42, Sheng Yang wrote: No, it still doesn't work. I am using Debian package, version 2.62. Would it be possible to try 2.65 instead? A

Re: [Dnsmasq-discuss] Cannot assign IPv6 address for /96 subnet

2013-02-12 Thread Sheng Yang
Sadly it's just a typo... I added it because I am failed to get it work. After restart dnsmasq, it would not listen on dhcp-server port, based on netstat output. Here is the correct line of dhcphost.txt id:00:03:00:01:06:4f:66:00:00:2e,[fc00:3:1602::dca1],vvt1,infinite --Sheng On Tue, Feb 12,

Re: [Dnsmasq-discuss] Cannot assign IPv6 address for /96 subnet

2013-02-12 Thread Simon Kelley
On 12/02/13 22:00, Sheng Yang wrote: Sadly it's just a typo... I added it because I am failed to get it work. After restart dnsmasq, it would not listen on dhcp-server port, based on netstat output. Here is the correct line of dhcphost.txt

Re: [Dnsmasq-discuss] Cannot assign IPv6 address for /96 subnet

2013-02-12 Thread Sheng Yang
I am also a little dubious here, but if people want to get some smaller subnet, do they able to get it anyway on IPv6? --Sheng On Tue, Feb 12, 2013 at 1:06 PM, Brian Haley brian.ha...@hp.com wrote: On 02/08/2013 09:59 PM, Sheng Yang wrote: Hi Simon, I found I can't assign IPv6 address for

Re: [Dnsmasq-discuss] Cannot assign IPv6 address for /96 subnet

2013-02-12 Thread Brian Haley
On 02/12/2013 05:43 PM, Sheng Yang wrote: I am also a little dubious here, but if people want to get some smaller subnet, do they able to get it anyway on IPv6? You typically use a /64 on a link, but you can use longer. The problem is that address auto-configuration will only work if the

Re: [Dnsmasq-discuss] Cannot assign IPv6 address for /96 subnet

2013-02-12 Thread Sheng Yang
On Tue, Feb 12, 2013 at 6:48 PM, Brian Haley brian.ha...@hp.com wrote: On 02/12/2013 05:43 PM, Sheng Yang wrote: I am also a little dubious here, but if people want to get some smaller subnet, do they able to get it anyway on IPv6? You typically use a /64 on a link, but you can use longer.

Re: [Dnsmasq-discuss] Cannot assign IPv6 address for /96 subnet

2013-02-11 Thread Simon Kelley
On 09/02/13 02:59, Sheng Yang wrote: Hi Simon, I found I can't assign IPv6 address for /96 subnet. I specified DHCP range use 96 bits prefixes: dhcp-range=fc00:3:1602::7473,96,static And here is nic: 2: eth0:BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc pfifo_fast state UP qlen 1000

Re: [Dnsmasq-discuss] Cannot assign IPv6 address for /96 subnet

2013-02-11 Thread Sheng Yang
Yes, I just tried, and that works. I am using dhcp-host files to assign all the ips on the network, I guess that's what goes wrong... Here is the file content: id:00:03:00:01:06:4f:66:00:00:2e,[fc00:3:1602::dca1/96],test1,infinite And config file: resolv-file=/etc/dnsmasq-resolv.conf