Solved

DHCP server for multiple networks

Posted on 2010-08-14
4
312 Views
Last Modified: 2012-05-10
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
Comment
Question by:its_ns_04
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 6

Accepted Solution

by:
powercram earned 500 total points
ID: 33435989
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
 
LVL 6

Expert Comment

by:powercram
ID: 33435993
I left out "forwarding" in the last sentence which should read, ".... DHCP forwarding service installed. . . ."
0
 
LVL 1

Author Comment

by:its_ns_04
ID: 33436289
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
 
LVL 6

Expert Comment

by:powercram
ID: 33436503
That is correct as long as the router on that interface has DHCP Relay enabled & is configured to communicate with the DHCP server.
0

Featured Post

Schedule a Tour of the ATEN booth at InfoComm 2017

Tour the ATEN booth to see the the Latest Addition to the Modular Matrix Switch Series, New 4K HDMI Over IP Extender and more! Enter ATEN's Ultimate Giveaway Sweepstakes for a chance to win one of several great prizes, including an ATEN US7220 2-Port Thunderbolt 2 Sharing Switch!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question