Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > The Community > Everything BSD > DHCP from A to B

Forgot Password?
 Everything BSD   For all discussions regarding Free/NetBSD and OpenBSD.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 10-21-2007   #1 (permalink)
Just Joined!
 
Join Date: Oct 2007
Posts: 4
DHCP from A to B

Hello i have a question... i have a DHCP running and i need to make the same DHCP running on a new machine .. with the same settings.. on a newer machine .. so basicly how I'm gonna do that? .. using the same dhcp.conf file to the newer machine?
apokalips is offline  


Reply With Quote
Old 10-21-2007   #2 (permalink)
Linux Guru
 
anomie's Avatar
 
Join Date: Mar 2005
Location: Texas
Posts: 1,697
Is this a BSD-specific question? Which BSD / version?

It depends on the DHCP server. You might be able to do this by spoofing old machine's MAC address on new machine.
anomie is offline   Reply With Quote
Old 10-21-2007   #3 (permalink)
Just Joined!
 
Join Date: Oct 2007
Posts: 4
Quote:
Originally Posted by anomie View Post
Is this a BSD-specific question? Which BSD / version?

It depends on the DHCP server. You might be able to do this by spoofing old machine's MAC address on new machine.
to be specific .. i have running freebsd 6.2 with dhcp running on it. I need to make a new box with freebsd 6.2 and make a new dhcp running with the same settings like the older box .. so simply said i need to replace the older box with a newer one .. changes in the new machine will be only the new nic's mac
apokalips is offline   Reply With Quote
Old 10-21-2007   #4 (permalink)
Linux Guru
 
anomie's Avatar
 
Join Date: Mar 2005
Location: Texas
Posts: 1,697
First off, by "same settings" I am assuming that includes "same IP address".

You could swap NICs on the boxes and then not have to worry about it.

Or you could add the MAC address of the old box's NIC to the ifconfig parms for the new box's NIC.

See this thread for one example of doing that. I haven't gone to the trouble of testing that, so I hope it works out.
anomie is offline   Reply With Quote
Old 10-21-2007   #5 (permalink)
Linux Guru
 
anomie's Avatar
 
Join Date: Mar 2005
Location: Texas
Posts: 1,697
As for other custom dhcp client-related settings, be sure to copy /etc/dhclient.conf from the old to new box.

Note that unless you've specifically customized that file, it is probably empty!
anomie is offline   Reply With Quote
Old 10-23-2007   #6 (permalink)
Just Joined!
 
Join Date: Oct 2007
Posts: 4
exactly all same settings like on box A i will keep u updated, thanks for help
apokalips is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 04:21 PM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2