Solved

DHCP server for multiple networks

Posted on 2010-08-14
4
305 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
  • 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video discusses moving either the default database or any database to a new volume.

708 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now