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

2010-02-22 Thread Ignacio . Bravo
Simon Kelley si...@thekelleys.org.uk wrote on 20/02/2010 18:48:41: 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. B^) OK, It works great now! I am now filtering

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

2010-02-19 Thread Ignacio . Bravo
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

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

2010-02-16 Thread Ignacio . Bravo
Simon Kelley si...@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

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

2010-02-16 Thread Ignacio . Bravo
Simon Kelley si...@thekelleys.org.uk wrote on 16/02/2010 10:38:56: 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

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

2010-02-15 Thread Ignacio . Bravo
Hallo Michael, No, my switches cannot set the dhcp server identifier suboption I just can't understand it, why you wish to seperate DHCP-IP-Addresses on each port? This layer 2 option 82 is quite interesting and used in Industrial Networks (factories or machinery for instance) where time to

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

2010-02-15 Thread Ignacio . Bravo
Hello Simon, Yes, you can do that: The AND function is in dhcp-range: set tags for each switch and port and use a switch tag and a port tag in dhcp-range dhcp-range=net:switch-1,net:port-1,192.168.7.1,192.168.7.4,255.255.255.0 I have problems with the AND function. If I set:

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

2010-02-13 Thread Ignacio . Bravo
Hello List, I try without success to assign always the same IP (or range) per switch port (no matter the mac address, only matters the port at which the client is connected) To do this I use switches with dhcp relay option 82 activated. So telling, any discover getting to dnsmasq includes

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

2010-02-13 Thread Ignacio . Bravo
Hello Simon, Thanks fo such a quick answer! Yes I detected that a bit later and the tag is set now. dhcp-range=net:ignacio,10.10.35.60,10.10.35.65 dhcp-circuitid=ignacio,b9:06:00:00:01:01:01:03, dhcp-remoteid=ignacio,00:06:00:80:63:60:e1:64 BUT IT STILL DOESNT WORK. the tag is set but i detected