[Dnsmasq-discuss] DHCP Relay, assign address from other vlan, with no dhcp listening on it

richardvoigt at gmail.com richardvoigt at gmail.com
Thu Sep 15 18:59:24 BST 2011


On Thu, Sep 15, 2011 at 12:03 PM, SpiderX <spiderx at spiderx.dp.ua> wrote:
> On Thu, Sep 15, 2011 at 7:44 PM, richardvoigt at gmail.com
> <richardvoigt at gmail.com> wrote:
>>>>> Or is your router not the same device where your dnsmasq is running on?
>>>> Exactly.
>>
>> Have you considered running the dhcp relay agent on the router instead
>> of the L2 switch?  This approach often offers much more flexibility
>> and capability.
>>
> In this case I have to run it on every client's vlan(interface) on router,
> that almost doesn't differ from running dhcp server on such vlans.
> There are still lots of broadcast between router and client.
> I still lose one ip per vlan.
> Almost no benefits.

How are you losing an IP address?  Doesn't the client need a default
gateway anyway?

If all these VLANs are bridged at the router, the router still has the
ability to detect which VLAN tag the DHCP request carried when it
arrived, and add the correct DHCP options when relaying.



More information about the Dnsmasq-discuss mailing list