DHCP server for multiple networks

Hi,

Lets say,I have multiple networks

LAN A - 192.168.10.0/24
LAN B - 192.168.20.0/24
LAN C - 192.168.40.0/24
LAN D - 192.168.50.0/24


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 ?


LVL 1
its_ns_04Asked:
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.

powercramCommented:
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.
0

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
powercramCommented:
I left out "forwarding" in the last sentence which should read, ".... DHCP forwarding service installed. . . ."
0
its_ns_04Author Commented:
ok in that case, is this the way it works ?

Say a computer in 192.168.20.0/24 networks comes up online. Seeks for DHCP address....now it will sent ARP packing to 192.168.20.0/24 network. Router in 192.168.20.0/24 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 ?
0
powercramCommented:
That is correct as long as the router on that interface has DHCP Relay enabled & is configured to communicate with the DHCP server.
0
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.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.