| Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-20-2012, 01:36 PM
|
#1
|
|
LQ Newbie
Registered: Dec 2012
Posts: 13
Rep: 
|
multiple DHCP server on a network?
Hi
I have a Linksys router configured with DHCP supplying IPs to whole network. I have one Server with CentOS6.3 configured as Host machine. i want to configure a PXE server on Host machine so that i can install all the guest OSes using PXE.
how can we configure two DHCP on a network?
can anyone tell me step by step with explaination?
thanks
|
|
|
|
12-24-2012, 12:32 AM
|
#3
|
|
LQ Newbie
Registered: Aug 2010
Location: Seattle
Distribution: CentOS, RHEL, Oracle Enterprise Linux, Solaris, BSD
Posts: 28
Rep:
|
Quote:
Originally Posted by johnabraham
Hi
I have a Linksys router configured with DHCP supplying IPs to whole network. I have one Server with CentOS6.3 configured as Host machine. i want to configure a PXE server on Host machine so that i can install all the guest OSes using PXE.
how can we configure two DHCP on a network?
can anyone tell me step by step with explaination?
thanks
|
It's a recipe for disaster, putting two DHCP servers on the same Layer 2 segment.
What I would do is create a second network (VLAN, separate NIC and switch, etc) for the PXE boot environment. Otherwise, you're just setting yourself up to have weird issues.
Alternatively, you could have the Linux server serve all DHCP requests, disable the DHCP server on the Linksys router, and put the router's IP as the default gateway for the network. It's perfectly acceptable to divorce DHCP from router functions. We do it in every one of our networks, and we have a few hundred of them (serving 11M users).
|
|
|
1 members found this post helpful.
|
12-25-2012, 12:12 AM
|
#4
|
|
Member
Registered: Sep 2008
Location: Dominican Republic
Distribution: Debian Squeeze
Posts: 175
Rep:
|
The only way I see this working is if you know the mac addresses for all the hosts in the network and using the servers to answer to specific hosts only... But, I don't understand why two dhcp servers...
|
|
|
|
12-25-2012, 11:26 AM
|
#5
|
|
LQ Newbie
Registered: Aug 2010
Location: Seattle
Distribution: CentOS, RHEL, Oracle Enterprise Linux, Solaris, BSD
Posts: 28
Rep:
|
Quote:
Originally Posted by landysaccount
The only way I see this working is if you know the mac addresses for all the hosts in the network and using the servers to answer to specific hosts only... But, I don't understand why two dhcp servers...
|
Yes, this will work, assuming that one host has network blocks advertised and is configured to be authoritative for the broadcast domain; however, this is complicated and needlessly complex when the same goal can be attained by using dhcpd on Linux and disabling the router's DHCP server.
|
|
|
|
12-25-2012, 04:35 PM
|
#6
|
|
Guru
Registered: Mar 2008
Posts: 8,538
|
You can get this to work but consider gpxe instead. One could set lease limits to one less than amount of clients and then use any new dhcp just while booting. Other odd ways are to set mac to forever or set other port blocking.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:32 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|