LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-06-2007, 10:11 AM   #1
HitenK
LQ Newbie
 
Registered: Aug 2007
Posts: 2

Rep: Reputation: 0
DHCP migration HELP!


hi guys,

recently started a new job and they use a Linux DHCP box. Debian.

I have been asked to investigate migrating this DHCP to a Windows Server DHCP

could any of you guys give me any tips links or anything.

Im very new to linux so im not to good with it

Thanks for the help

Hiten
 
Old 08-06-2007, 11:29 AM   #2
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
All you have to do is sto the DHCP service in linux and then start it in Windows.
 
Old 08-06-2007, 11:33 AM   #3
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
1. Turn off Linux DCHP daemon
2. (optional) Configure Windows DHCP daemon
3. Turn on Windows DHCP daemon
4. ???
4. Profit!
 
Old 08-06-2007, 10:41 PM   #4
fur
Member
 
Registered: Dec 2003
Distribution: Debian, FreeBSD
Posts: 310

Rep: Reputation: 35
There can be more to it than just turning off one server and starting another.

A few things to think about.

You may want to copy the leases from the Debian to Windows server. Otherwise your Windows server may hand out IPs that were already leased, and still active from the Debian server causing IP conflicts. If you have a small number of hosts you could possibly get around this.

For example lets say if the DHCP server is only responsible for 30 hosts in a /24. If your Debian server is currently configured to hand out IPs from 192.168.0.10 - 192.168.0.254 you could modify this scope before the change so it would only hand out IPs 192.168.0.10 - 192.168.0.50, and then configure your Windows server to have 192.168.0.100 - 192.168.0.150 for its pool of addresses. Then wait for leases to expire and verify all hosts are in the 192.168.0.10 - 192.168.0.50 range. Then turn off the DHCP daemon on the Debian server, and start up the Windows server.

Once the leases start to expire from the debian server they will eventually broadcast discovers and pick up the new server.


If you have DHCP relays configured for any subnets they will need to be updated to forward to the Windows server if it has a different
IP.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dhcp failed with error (Pump Told us : no dhcp reply recived.) alok.rhct Linux - Networking 3 03-24-2007 07:28 AM
How To know if a host configured with DHCP has obtained IP address from DHCP server? Prassanta SUSE / openSUSE 1 06-29-2006 09:48 AM
ADSL DHCP A-OK, but Mandrake 10.1 to be DHCP for other subnet is a problem turnbui Linux - Networking 2 08-20-2005 09:34 AM
why DHCP client not sending own host name in DHCP request packet? sonika_singhi Linux - Networking 7 05-28-2005 05:18 AM
XP Pro Build 2600/sp1 v.1105 DHCP Client to Redhat 8.0 DHCP Server - Problems atomant Linux - Networking 5 06-28-2003 11:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration