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

Ignacio.Bravo at belden.com Ignacio.Bravo at belden.com
Wed Feb 17 10:42:26 GMT 2010


Simon Kelley <simon at thekelleys.org.uk> wrote on 16/02/2010 14:27:36:

> fakeroot debian/rules binary
I found a problem when fakerooting (sorry for my ignorance) Do I need to 
install additional tools containing this lib?:
Package libidn was not found in the pkg-config search path.
Perhaps you should add the directory containing `libidn.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libidn' found
> 
> The magic you need is that you can invert tags, so make the last line
> 
> 
dhcp-range=net:#switch1,net:#puerto3,10.10.35.40,10.10.35.42,255.255.255.0
> 
> Then it can only be used when none of the port specific tags are in use.

The problem I see here is switch1 tag is common to all switch1-ports. So I 
discard all switch1 ports when I write: net:#switch1

I feel I need something like: #(switch1ANDport3) instead 
#(switch1)AND#(port3)

Is it possible to set something like #(net:switch1,net:port3)? or maybe an 
OR function so that different conditions (switchANDport) apply to the same 
range?

Thanks
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