Re: [Dnsmasq-discuss] What s the dnsmasq/DHCP way to give a host a fixed IP?

2014-12-15 Thread 五月
Greetings, I have a setup in which the DHCP range is 192.168.2.128 to 192.168.2.250, and I manually give some devices an IP in range 192.168.2.1 to 192.168.2.127, using the dhcp-host line. So that I can use the u32 traffic classifier to split traffic streams.It looks working well. Is there some

Re: [Dnsmasq-discuss] What s the dnsmasq/DHCP way to give a host a fixed IP?

2014-12-15 Thread Chris Green
On Mon, Dec 15, 2014 at 02:07:46PM -0500, AJ Weber wrote: >ex: >dhcp-host=00:0c:29:ea:0d:a3,192.168.1.199 >(so dhcp-host=, ) >That MAC address will always be given the same, explicit IP Address >(which should be in the DHCP Range that dnsmasq is responsible for). >-AJ > Ah,

Re: [Dnsmasq-discuss] What s the dnsmasq/DHCP way to give a host a fixed IP?

2014-12-15 Thread AJ Weber
*ex: dhcp-host=00:0c:29:ea:0d:a3,192.168.1.199* (so dhcp-host=, ) That MAC address will always be given the same, explicit IP Address (which should be in the DHCP Range that dnsmasq is responsible for). -AJ On 12/15/2014 1:37 PM, Chris Green wrote: As per the subject, if I want to give a h

[Dnsmasq-discuss] What's the dnsmasq/DHCP way to give a host a fixed IP?

2014-12-15 Thread Chris Green
As per the subject, if I want to give a host a specific IP address using dnsmasq as DHCP server what's the neatest/easiest way to do it? -- Chris Green ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.or

Re: [Dnsmasq-discuss] Cannot set edns-packet-max < 4096 with DNSSEC enabled

2014-12-15 Thread Simon Kelley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 I confess I can't come up with a sensible rationalisation for this, but I think it has something to to with the immediately preceding commit in dnsmasq, which adds, this code. + if (header->hb3 & HB3_TC) + { + /* Trunca

Re: [Dnsmasq-discuss] Dnsmasq stops resolving addresses after return from suspend and wlan re-assoc

2014-12-15 Thread Simon Kelley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Try git now. realpath() is my friend. Cheers, Simon. On 12/12/14 09:11, Toke Høiland-Jørgensen wrote: > Simon Kelley writes: > >> That sounds sensible, I shall continue my tour around the >> farther reaches of the Unix file API. Later

Re: [Dnsmasq-discuss] Dnsmasq stops resolving addresses after return from suspend and wlan re-assoc

2014-12-15 Thread Toke Høiland-Jørgensen
Simon Kelley writes: > Try git now. realpath() is my friend. Seems to work; I get the expected bunch of reloads of the file upon returning from suspend, picking up the right nameserver once it appears. Thanks a bunch! :) -Toke ___ Dnsmasq-discus