[Dnsmasq-discuss] dnsmasq dhcp and multiple subnets
Andreas Grune
andreas_grune@gmx.net
Thu, 17 Feb 2005 01:38:18 +0200
Hello,
please comment if the following is possible with dnsmasq:
given multiple subnets and virtual interfaces, say eth0:1/192.168.1.0,
..., eth0:10/192.168.10.0,
clients should get subnet membership and corresponding configuration
data (name server, gateway etc)
according to their MAC-addresses.
Say, client ff:ff:ff:ff:ff should get the IP address 192.168.1.20 (fixed
mapping) and 192.168.1.1 for both gw and dns,
client ee:ee:ee:ee:ee should get the IP address 192.168.2.20 and
192.168.2.1 for gw and dns , etc.
There seem to be no obvious instructions for implementing this in the
docs, so a sample configuration would be welcome.
Regards,
Andreas