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

2014-12-17 Thread Helmut Hullen
Hallo, Matthias,

Du meintest am 17.12.14:

 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 story about why the static
 address should be in the DHCP range?

 I don't know one, but it should be in the interface address ranges
 that dnsmasq is responsible for.

Sure?
On my machines I define the dhcp-host IP-addresses outside the dhcp- 
range, and that works well.

p.e.
dhcp-range=192.168.0.100,192.168.0.240,3d
dhcp-host=20:d3:90:d9:d3:a3,192.168.0.30,Galaxy,90d

Viele Gruesse!
Helmut


___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


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

2014-12-17 Thread Matthias Andree
Am 17.12.2014 um 09:38 schrieb Helmut Hullen:
 Hallo, Matthias,
 
 Du meintest am 17.12.14:
 
 I don't know one, but it should be in the interface address ranges
 that dnsmasq is responsible for.
 
 Sure?
 On my machines I define the dhcp-host IP-addresses outside the dhcp- 
 range, and that works well.

Read carefully what I wrote.


___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


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

2014-12-16 Thread Matthias Andree
Am 16.12.2014 um 06:54 schrieb 五月:
 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 story about why the static address
 should be in the DHCP range?

I don't know one, but it should be in the interface address ranges that
dnsmasq is responsible for.


___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


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=MAC_ADDRESS,STATIC_IP )

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 host a specific IP address
using dnsmasq as DHCP server what's the neatest/easiest way to do it?



___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


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=MAC_ADDRESS,STATIC_IP )
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, I hadn't realised you can put an IP address in a dhcp-host line,
thanks.


-- 
Chris Green

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


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 story about why the static 
address should be in the DHCP range?


――五月
Date: Mon, 15 Dec 2014 14:07:46 -0500
From: awe...@comcast.net
To: dnsmasq-discuss@lists.thekelleys.org.uk
Subject: Re: [Dnsmasq-discuss] What s the dnsmasq/DHCP way to give a host a 
fixed IP?


  

  
  
ex:

  dhcp-host=00:0c:29:ea:0d:a3,192.168.1.199



(so dhcp-host=MAC_ADDRESS,STATIC_IP )



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 host a specific IP address
using dnsmasq as DHCP server what's the neatest/easiest way to do it? 





  


___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss 
  ___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss