Re: [Dnsmasq-discuss] Reg: Info related to leases file

2013-09-24 Thread Nehal J Wani
Could you give an example of the DHCPv6 leases file with IPv4 as well as IPv6 addresses? Never Mind. I generated it myself. 1380008809 52:54:00:c3:73:d7 192.168.122.62 * * 1380007610 52:54:00:2a:47:ee 192.168.122.68 * * duid 00:01:00:01:19:d3:ec:62:f0:4d:a2:8c:14:51 1380008810 12809175

Re: [Dnsmasq-discuss] Reg: Info related to leases file

2013-09-24 Thread Nehal J Wani
On Tue, Sep 24, 2013 at 1:15 AM, Simon Kelley si...@thekelleys.org.uk wrote: On 23/09/13 19:12, Nehal J Wani wrote: If I am not wrong, there are 5 fields in a dnsmasq/network-name.leases file: (i) Expiry time (ii) MAC Address (iii) IP Address (iv) Hostname (v) Client ID Q1: Is the

Re: [Dnsmasq-discuss] Reg: Info related to leases file

2013-09-24 Thread Simon Kelley
On 24/09/13 10:48, Nehal J Wani wrote: On Tue, Sep 24, 2013 at 1:15 AM, Simon Kelleysi...@thekelleys.org.uk wrote: On 23/09/13 19:12, Nehal J Wani wrote: If I am not wrong, there are 5 fields in a dnsmasq/network-name.leases file: (i) Expiry time (ii) MAC Address (iii) IP Address (iv)

Re: [Dnsmasq-discuss] Reg: Info related to leases file

2013-09-24 Thread Nehal J Wani
On Tue, Sep 24, 2013 at 3:37 PM, Simon Kelley si...@thekelleys.org.uk wrote: On 24/09/13 10:48, Nehal J Wani wrote: On Tue, Sep 24, 2013 at 1:15 AM, Simon Kelleysi...@thekelleys.org.uk wrote: On 23/09/13 19:12, Nehal J Wani wrote: If I am not wrong, there are 5 fields in a

Re: [Dnsmasq-discuss] Reg: Info related to leases file

2013-09-24 Thread Vladislav Grishenko
Out of the three types: DUID-LLT, DUID-EN and DUID-LL, which one is used by dnsmasq? I am asking because I want to confirm whether the MAC address of the network interface is always a substring of the client DUID or not. 1. DUID-EN, if --dhcp-duid specified 2. DUID-LL from MAC of the first

Re: [Dnsmasq-discuss] Reg: Info related to leases file

2013-09-24 Thread Simon Kelley
On 24/09/13 13:01, Vladislav Grishenko wrote: Out of the three types: DUID-LLT, DUID-EN and DUID-LL, which one is used by dnsmasq? I am asking because I want to confirm whether the MAC address of the network interface is always a substring of the client DUID or not. 1. DUID-EN, if

Re: [Dnsmasq-discuss] Reg: Info related to leases file

2013-09-24 Thread Vladislav Grishenko
Hi Simon, However, if you're interested in the MAC addresses of clients, the very latest dnsmasq code can determine that in most cases. The MAC address is not stored in the leases file, but it can be used to key configurations to particular MAC addresses, and it's made available to the DHCP

Re: [Dnsmasq-discuss] Reg: Info related to leases file

2013-09-24 Thread Simon Kelley
On 24/09/13 15:31, Vladislav Grishenko wrote: Hi Simon, However, if you're interested in the MAC addresses of clients, the very latest dnsmasq code can determine that in most cases. The MAC address is not stored in the leases file, but it can be used to key configurations to particular MAC

Re: [Dnsmasq-discuss] Reg: Info related to leases file

2013-09-24 Thread Vladislav Grishenko
From: Simon Kelley [mailto:si...@thekelleys.org.uk] Sent: Tuesday, September 24, 2013 9:16 PM On 24/09/13 15:31, Vladislav Grishenko wrote: Hi Simon, However, if you're interested in the MAC addresses of clients, the very latest dnsmasq code can determine that in most cases. The