DHCP Giving Out IP For Wrong Subnet

Chris Buxton clists at buxtonfamily.us
Mon Dec 16 17:12:15 UTC 2013


On Dec 16, 2013, at 7:20 AM, Asai <asai at globalchangemusic.org> wrote:

> Greetings,
> 
> We've been running into this problem where we have the DHCP server giving out a wrong IP address for a device which is running on a different subnet.  These subnets are on VLANs.  For example, below are configured two shared networks:  The first, ADMIN-POOL, is on eth3.  It is the physical interface.  Below that is the shared network GENERAL, which is on eth3.50 and is a virtual interface on eth3.

There’s your problem. Don’t use interface aliases (multiple VLANs on one physical interface) with a DHCP server — it gets confused. The DHCP server somewhat bypasses the operating system IP stack for local clients.

Instead, you should connect all of these VLANs to a switch or router and then use a DHCP relay, per VLAN, to relay these requests to the single address of the DHCP server.

Regards,
Chris Buxton


More information about the dhcp-users mailing list