[Dnsmasq-discuss] VLANs and multiple IP addresses for one mac address
Albert ARIBAUD
albert.aribaud at free.fr
Wed Jun 25 05:24:20 UTC 2014
Hi David,
Le Tue, 24 Jun 2014 23:50:54 +0100, David Joslin <davidj at nkcc.org.uk> a
écrit :
> Thanks for the reply, Simon.
>
> How would I do that?
>
> I already use the --dhcp-host option to allocate IP addresses by MAC
> address for certain clients but these are all machines with just one IP
> address on one VLAN. How would I allocate static IP addresses to these
> access points when they require a different IP address per VLAN but all
> with the same MAC address? Each VLAN is associated with a LAN bridge on the
> machine running dnsmasq and I allocate DHCP addresses to the different
> VLANs using the tag option in the --dhcp-range statements - for
> example: dhcp-range=tag:br3,10.10.70.101,10.10.70.200,255.255.255.0,1440m.
> This works fine. But I can't see how to allocate static IP addresses based
> on VLAN membership.
>
> Am I missing something obvious?
I don't know about missing anything obvious, but i) can you also show
the dhcp-host options you use for one host? Also, just in case, try
with a tag that does not match the name of an interface (and make sure
that you change it in the VLANs' dhcp-range options as well as in the
hosts' dhcp-host options).
> Cheers
>
> David
Amicalement,
--
Albert.
More information about the Dnsmasq-discuss
mailing list