[Dnsmasq-discuss] Test release with tag-if support.

Simon Kelley simon at thekelleys.org.uk
Sat Feb 20 17:48:41 GMT 2010


Ignacio.Bravo at belden.com wrote:
>  Hello Simon, I tried the following on 2.53-test8:
> 
> tag-if= set:fixedport, tag:puerto3, tag:switch1
> dhcp-range=net:switch1,net:puerto3,10.10.35.2,10.10.35.5,255.255.255.0
> #dhcp-option=net:switch1,net:puerto3,54,10.10.35.251
> dhcp-circuitid=puerto3,b9:06:00:00:01:01:01:03
> dhcp-remoteid=switch1,00:06:00:80:63:60:e1:64
> 
> 
> dhcp-range=net:#fixedport,10.10.35.40,10.10.35.50,255.255.255.0
> dhcp-option=net:#fixedport,option:router,10.10.35.100
> dhcp-option=net:#fixedport,option:dns-server,8.8.8.8
> #dhcp-option=net:#fixedport,54,10.10.35.251
> 
> Tag-if works ok in this example. I get 10.10.35.5 when at port3 and 
> 10.10.35.41 at any other B^)
> 
> Now, if I get 10.10.35.5 at port3 and then connect my pc to port1, my IP 
> is still .5 (no renewal yet). If I try a ipconfig/renew (force the unicast 
> renewal), I get an ACK for 10.10.35.5 instead of a proposal 10.10.35.41
> 
> I tried the dhcp-server-identifier:
> dhcp-option=net:switch1,net:puerto3,54,10.10.35.251
> dhcp-option=net:#fixedport,54,10.10.35.251
> But no success (request is directly sent to the server ip instead of 
> relay's)
> Maybe these two lines are not ok or I should activate any other option 
> instead
> Thanks
> Ignacio
> 
Try 2.53test10 and set the dhcp-proxy flag.

That removes the previous "don't match tags on unicast renew" behaviour,
and adds code to for every DHCP packet through the relay.


Cheers,

Simon.



More information about the Dnsmasq-discuss mailing list