[Dnsmasq-discuss] Tagging DHCP request (network-id) by the
incoming interface - possible?
dl at cs.fau.de
Mon Sep 5 12:08:51 BST 2005
Thank you very much for your anwser!
> I don't think what you are asking for is possible: once the packet is
> bridged and arrives on the bridge interface, there's no way to
> where is came from: the layer-two bridging is transparent
> to the higher levels.
I see. I was expecting some fundamental point which makes this impossible.
> You might be able to keep the more traditional scheme with dnsmasq
> listening on the two interfaces without losing the bridge provided that
> you can divide your subnet into two.
> It's best to illustrate this with an example.
> Assume subnet is 192.168.1.xx (netmask 255.255.255.0)
> and the bridge interface has address 192.168.1.10
> Now also configure the lan and wifi interfaces as
> 192.168.1.1/255.255.255.128 - lan
> 192.168.1.129/255.255.255.128 - wifi
> you can now configure dnsmasq to do dhcp on those two interfaces with
> whatever policies you like, provided that lan clients are in the first
> half of the address range and wifi ones in the second.
> [...many more helpful explanations ...]
That sounds indeed like a possible solution! I will try it out as soon
as possible and post my results to the list.
More information about the Dnsmasq-discuss