• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 321
  • Last Modified:

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 ?


0
its_ns_04
Asked:
its_ns_04
  • 3
1 Solution
 
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
 
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
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.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now