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.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > The Community > Everything BSD
Reload this Page DHCP from A to B
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

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

Reply
 
Thread Tools Display Modes
Old 10-21-2007   #1 (permalink)
apokalips
Just Joined!
 
Join Date: Oct 2007
Posts: 3
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)
anomie
Linux Guru
 
anomie's Avatar
 
Join Date: Mar 2005
Location: Texas
Posts: 1,699
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)
apokalips
Just Joined!
 
Join Date: Oct 2007
Posts: 3
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)
anomie
Linux Guru
 
anomie's Avatar
 
Join Date: Mar 2005
Location: Texas
Posts: 1,699
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)
anomie
Linux Guru
 
anomie's Avatar
 
Join Date: Mar 2005
Location: Texas
Posts: 1,699
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)
apokalips
Just Joined!
 
Join Date: Oct 2007
Posts: 3
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wifi card always set dhcp ip instead of static ip after reboot dipu183 Wireless Internet 0 07-27-2007 04:06 AM
DHCP server questions on Ubuntu/Linksys iconxnoci Linux Networking 3 02-13-2007 08:54 PM
Suse DHCP Failover bharathim SuSE Linux Help 0 01-26-2007 06:40 PM
DHCP server -confused Tokunbo Linux Networking 0 07-08-2005 06:02 PM
brigde 2 networks over inet with openvpn, dhcp problems? Yannick5 Linux Networking 0 04-08-2004 05:01 PM


All times are GMT. The time now is 02:57 PM.

Powered by vBulletin 3.6.8 ©2000 - 2007, content relevant URLs by vBSEO, Property of Core Root.

Content Relevant URLs by vBSEO 3.0.0