[Dnsmasq-discuss] dns-server in opts file doesn't work

2013-12-17 Thread Shixiong Shang
Hi, experts: I tried to leverage opts file to modify the recursive dns server IP conveyed in RA. The entry in the opts file is shown below: tag:tag1,option6:dns-server,[2001:4860:4860::] I tcpdumped the outgoing RA message, but the dns server IP is still set to the IPv6 address dnsmasq

[Dnsmasq-discuss] Difference between SLAAC and RA-ONLY mode

2013-12-17 Thread Shixiong Shang
Hi, guys: I tried both “slaac” mode and “ra-only” modes with dnsmasq version 2.66. One thing I noticed was, both modes set the same bit value in the RA: M-bit = 0, O-bit = 0, A-bit = 1, L-bit = 1. I am wondering what’s the difference between these two modes then? Would you please shed some

Re: [Dnsmasq-discuss] default lease time for dhcp-host entries ?

2013-12-17 Thread Simon Kelley
On 16/12/13 21:37, Maule Mark wrote: okay, thank you for checking. I just pushed a fix into git for the parsing bug. Cheers, Simon. On Monday, December 16, 2013 3:27 PM, Simon Kelleysi...@thekelleys.org.uk wrote: On 16/12/13 21:00, Maule Mark wrote: As an alternative to a fake tag

Re: [Dnsmasq-discuss] Difference between SLAAC and RA-ONLY mode

2013-12-17 Thread Simon Kelley
On 17/12/13 12:29, Shixiong Shang wrote: Hi, guys: I tried both “slaac” mode and “ra-only” modes with dnsmasq version 2.66. One thing I noticed was, both modes set the same bit value in the RA: M-bit = 0, O-bit = 0, A-bit = 1, L-bit = 1. I am wondering what’s the difference between these two

Re: [Dnsmasq-discuss] dns-server in opts file doesn't work

2013-12-17 Thread Simon Kelley
On 17/12/13 12:30, Shixiong Shang wrote: Hi, experts: I tried to leverage opts file to modify the recursive dns server IP conveyed in RA. The entry in the opts file is shown below: tag:tag1,option6:dns-server,[2001:4860:4860::] I tcpdumped the outgoing RA message, but the dns server IP

Re: [Dnsmasq-discuss] dnsmasq and AD flag forwarding

2013-12-17 Thread Simon Kelley
On 16/12/13 11:13, Tomas Hozza wrote: - Original Message - I can see at least one bug in the code: in the code-path taken to answer a query from the cache, the value of the AD flag is never changed: it simply takes the value that it had in the query. I guess the authenticated status of

Re: [Dnsmasq-discuss] default lease time for dhcp-host entries ?

2013-12-17 Thread Maule Mark
Thanks Simon.  Will this work its way into a released version soon?  If not, are there canned instructions for how to generate an srpm given a clone of the repo? thanks Mark On Tuesday, December 17, 2013 10:32 AM, Simon Kelley si...@thekelleys.org.uk wrote: On 16/12/13 21:37, Maule Mark

Re: [Dnsmasq-discuss] Difference between SLAAC and RA-ONLY mode

2013-12-17 Thread Shixiong Shang
Hi, Simon: Thanks a lot for your quick clarification! Just want to make sure I clearly understand what you mean….if the dhcp-range contains a range of IPv6 address, then slaac should enable dhcpv6 + ra; if the dhcp-range contains the single IPv6 address, then slack will only do ra, but not

[Dnsmasq-discuss] IPv6 host file syntax

2013-12-17 Thread Shixiong Shang
Hi, expert: I am using dnsmasq as DHCPv6 server and I created host file for my IPv6 DHCP range. The first field is DUID calculated by MAC, followed by hostname, and then IPv6 address. 00:03:00:06:fa:16:3e:03:63:36,host-2001-db8-3--1.openstacklocal,2001:db8:3::1

Re: [Dnsmasq-discuss] DHCPv6 same host different subnets

2013-12-17 Thread Simon Kelley
I'm confused at to what's happening. You're saying that the client on the physical network associated with 2a01:348:31:2:: gets 2a01:348:31:3::2 allocated? That's very odd. You _should_ be able to have as many dhcp-host lines as you like for a client-id, they're filtered by subnet so only

Re: [Dnsmasq-discuss] FreeBSD complement to Linux's netlink: route(4) socket

2013-12-17 Thread Simon Kelley
On 12/12/13 20:15, Matthias Andree wrote: Am 09.12.2013 17:58, schrieb Simon Kelley: OK, using this, I've implemented dynamic interface-address discovery for *BSD. Available now in git and as 2.69test1. This is very useful as it stands, since it makes the dynamic DHCPv6 address-range facility

[Dnsmasq-discuss] DHCPv6 default port

2013-12-17 Thread Shixiong Shang
Hi, expert: I am using dnsmasq as DHCPv6 server. By default, dnsmasq is bound to port 53. I used --port option to bind it to UDP/547, since this is what my DHCPv6 client sends the query to. However, the dnsmasq never saw the DHCPv6 packets coming in afterwards. Based on tcpdump, I could see

[Dnsmasq-discuss] How does proxy-dhcp work ?

2013-12-17 Thread Robert M. Albrecht
Hi, I'm trying to setup a dnsmasq adding some pxe-stuff in a network with an uncooperative DHCP-server. Even for this problem dnsmasq has a solution, really the swiss-army-knife for DNS/DHCP stuff ! But I don't unterstand how this works. Perhaps someone could enlighten me. A proxy usually

Re: [Dnsmasq-discuss] Difference between SLAAC and RA-ONLY mode

2013-12-17 Thread Simon Kelley
On 17/12/13 17:34, Shixiong Shang wrote: Hi, Simon: Thanks a lot for your quick clarification! Just want to make sure I clearly understand what you mean….if the dhcp-range contains a range of IPv6 address, then slaac should enable dhcpv6 + ra; if the dhcp-range contains the single IPv6 address,

Re: [Dnsmasq-discuss] DHCPv6 default port

2013-12-17 Thread Shixiong Shang
I think dnsmasq process is bound to the right port, but it is not listening on udp6 part. Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp0 0 0.0.0.0:96970.0.0.0:* LISTEN 2103/python tcp6 0

Re: [Dnsmasq-discuss] IPv6 host file syntax

2013-12-17 Thread Simon Kelley
On 17/12/13 18:00, Shixiong Shang wrote: Hi, expert: I am using dnsmasq as DHCPv6 server and I created host file for my IPv6 DHCP range. The first field is DUID calculated by MAC, followed by hostname, and then IPv6 address.