[Dnsmasq-discuss] IP address based on switch port number (option 82)

Simon Kelley simon at thekelleys.org.uk
Tue Feb 16 09:38:56 GMT 2010


Ignacio.Bravo at belden.com wrote:
> Simon Kelley <simon at thekelleys.org.uk> wrote on 15/02/2010 22:19:21:
> 
>> Maybe not. Please could you split the test up: use a dhcp-range without
>> tags, so that an address is always allocated, set log-dhcp, and check
>> which tags are set. (Look in syslog, the set of tags is printed there.)
>> That will help to isolate the problem.
> 
> First of all sorry for my previous htmls
> 
> I did your test and found: When:
> dhcp-range=10.10.35.2,10.10.35.5,255.255.255.0
> dhcp-remoteid=switch1,00:06:00:80:63:60:e1:64
> dhcp-circuitid=puerto3,b9:06:00:00:01:01:01:03
> 
> I get: 
> dnsmasq: etiquetas: puerto3, eth0 (only last tag configured is set)
> 
> And when:
> dhcp-range=10.10.35.2,10.10.35.5,255.255.255.0
> dhcp-circuitid=puerto3,b9:06:00:00:01:01:01:03
> dhcp-remoteid=switch1,00:06:00:80:63:60:e1:64
> 
> I get:
> dnsmasq: etiquetas: switch1, eth0 (only last tag configured is set)
> 
> Best
> Ignacio
> 

Ah, yes. That's a bug, a rather obvious face-plant bug ;-)

What version of Ubuntu are you using? I have test release which fixes 
this and should solve the unicast-renewal problem and I can probably 
send it to you as a Debian/Ubuntu package.

Simon.



More information about the Dnsmasq-discuss mailing list