[Dnsmasq-discuss] Test release with tag-if support (was IP address based on switch port number (option 82))

richardvoigt at gmail.com richardvoigt at gmail.com
Fri Feb 19 19:36:27 GMT 2010


Resending this e-mail because it's very relevant to the broken
behavior noted by Ignacio in the test release.

>>
>> Ignacio, why not configure you switch to relay all ports? Then you can
>> block broadcasts without problems. You don't have to have special
>> configuration in dnsmasq for all the ports, it will do boring dynamic
>> address allocation fine on relayed requests. (Remember that the netmask
>> is not option in dhcp-range lines used by clients behind a relay.)
>>
>> Michael: the change I was thinking of should be completely transparent
>> in all other situations except this. It just inhibits filtering of
>> available dhcp-ranges by tag on a unicast DHCP renewal. Since by that
>> time a lease will exist and the address is known, at most one dhcp-range
>> can match anyway.

I don't think this is a solution.  If you moved a station between
ports, it would renew the address assigned to the old port, which both
doesn't meet the OP's stated requirement and leaves the next device
connected to the old port with no available address.



More information about the Dnsmasq-discuss mailing list