DHCP server for multiple networks


Lets say,I have multiple networks


and so on... but would like to have only one DHCP server.

In that case, do I need to have 5 different interfaces in this DHCP server connected to each LAN ?
or i simply saying , if it is from LAN A, assign IP from this pool in DHCP.conf will work ?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You only need one network interface on the server.  You would create 4 separate address ranges.  On each subnet you would need a DHCP forwarder which listens for DHCP requests and forwards the request to the (defined) DHCP server which in turn responds with an address from the appropriate range.  The forwarder can be just about any type of device (workstation, server, router, etc.) running about any OS, it just requires a static IP address, DHCP service installed and configured to know how to reach the DHCP server.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
I left out "forwarding" in the last sentence which should read, ".... DHCP forwarding service installed. . . ."
its_ns_04Author Commented:
ok in that case, is this the way it works ?

Say a computer in networks comes up online. Seeks for DHCP address....now it will sent ARP packing to network. Router in network sees this broadcast and forwards to DHCP server. DHCP server grants IP and forwards to router which ultimately forwards to workstation..

and DORA process continues....is it this way ?
That is correct as long as the router on that interface has DHCP Relay enabled & is configured to communicate with the DHCP server.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.