[Dnsmasq-discuss] Test release with tag-if support.
Ignacio.Bravo at belden.com
Ignacio.Bravo at belden.com
Mon Feb 22 12:33:23 GMT 2010
Simon Kelley <simon at 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 broadcasts with iptables (avoid broadcasted REQUEST),
my dnsmasq.conf file is:
dhcp-proxy= 10.10.35.251 <---------- my only relay in this bedtest
tag-if= set:fixedport, tag:puerto3, tag:switch1 <---------tag-if to sort
ip-specific ports from those assigned to pool
dhcp-range=net:switch1,net:puerto3,10.10.35.2,10.10.35.5,255.255.255.0
<-----specific ip range for this switchANDport
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
<--------ip pool for non IPspecific ports
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
IPs are assigned OK when releasing and ok when renewing.
In case of connecting a device to the wrong port, it will get the correct
IP when renewing after connecting to the appropriate one
Everything fits now, Simon
Thanks a lot for your support and of course to Richard for his comments
Best
Ignacio
DISCLAIMER:
Privileged and/or Confidential information may be contained in this
message. If you are not the addressee of this message, you may not
copy, use or deliver this message to anyone. In such event, you
should destroy the message and kindly notify the sender by reply
e-mail. It is understood that opinions or conclusions that do not
relate to the official business of the company are neither given
nor endorsed by the company.
Thank You.
More information about the Dnsmasq-discuss
mailing list