Operating System - HP-UX
1829575 Members
4134 Online
109992 Solutions
New Discussion

DHCP in a multi-segmented enviornment

 
Vinit Adya
Frequent Advisor

DHCP in a multi-segmented enviornment

Hello,
We need to impliment DHCP for PC/Workstations for the company. We already have DNS servers with 4 NICs, each NIC going to different segments. Planning to run DHCP on the same unix servers.
How do we ensure that the DHCP client gets an address from its own subnet, and not from other subnets, as our DHCP server will serve more than one subnet.

Regards
Vinit Adya
3 REPLIES 3
Frederic Zeller
Honored Contributor

Re: DHCP in a multi-segmented enviornment

Hi

The choice can be made on the MAC address ...

On your DHCP server, have a list of *all* potential clients for each subnet ...

HTH

Fred
Why should I bother ? The problem will be gone with the next release ...
Frederic Zeller
Honored Contributor

Re: DHCP in a multi-segmented enviornment

Hi again

*maybe*, a *clever* DHCP server can define from which NIC the request is coming an assign an address for the *correct* subnet ?

Or four dhcp server on the same machine ?


Fred
Why should I bother ? The problem will be gone with the next release ...
A. Clay Stephenson
Acclaimed Contributor

Re: DHCP in a multi-segmented enviornment

If it were me, I would download and compile/link dhcpd from these guys:
http://www.isc.org/ . These are the DHCP guys.

Their implementation will also address an area that I'll bet you haven't considered. Suppose that you have users which have laptops and travel from site to site within your organization. In addition to regular DHCP, you also hand-out fixed IP addresses based upon the hardware address of the client. This is typically done for firewall rules. This version of DHCPD will also hand out fixed ip addresses based not only upon the hardware address (MAC) of the client but also the subnet originating the request.

If you need it these guys also have dynamic DNS. The compile/links are quite easy - just run make. This is definitely my weapon of choice.

If it ain't broke, I can fix that.