LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-16-2003, 09:37 AM   #1
Q25
Member
 
Registered: May 2001
Distribution: RedHat 9.1
Posts: 131

Rep: Reputation: 16
DHCP server config problem


After upgrating from Redhat 7 to Redhat 9 I've run into a problem.
I can't use my old .conf syntax anymore
The problem is that I need to be able to assign the same fixed IP and hostname to two different NIC's.
The reason being that some ppl on the LAN want to be able to unplug their desktop PC and use their labtop instead.
I used to do it like this (might just be a hack but it worked )

host first {
hardware ethernet 00:00:00:00:00:00;
fixed-address xxx.xxx.xxx.xxx;}

host first {
hardware ethernet 00:00:00:00:00:00;
fixed-address xxx.xxx.xxx.xxx;}

host second {
hardware ethernet 00:00:00:00:00:00;
fixed-address yyy.yyy.yyy.yyy;}


However that triggers an error now and putting the two macs in the same block doesn't seem to work either. Though it doesn't produce an error when starting the service it will not lease the IP's.
I haven't been able to find anything on the net that explains how to do it. It's one fixed IP to one mac everywhere.
So does anyone here know??
 
Old 07-17-2003, 12:13 PM   #2
Q25
Member
 
Registered: May 2001
Distribution: RedHat 9.1
Posts: 131

Original Poster
Rep: Reputation: 16
BUMP! there it is...
 
Old 07-18-2003, 07:58 AM   #3
Q25
Member
 
Registered: May 2001
Distribution: RedHat 9.1
Posts: 131

Original Poster
Rep: Reputation: 16
Well.. since noone could answer the question and it's been impossible to find anything in the how-to's and the manual I think there might not be anything to be done about it in the dhcp.conf file anymore.
So I decided to go another way around.
I'm now giving the two NIC's different host names but the same IP.
And then I CNAME the two hosts in the DNS.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
config dhcp server meysam39 Linux - Networking 1 08-07-2005 10:16 AM
how can config dhcp server? jsnch Solaris / OpenSolaris 8 06-19-2005 08:35 PM
DHCP Server Config riluve Linux - Networking 1 01-27-2005 08:53 AM
problem with dhcp server egyptian Linux - Networking 4 10-24-2004 02:56 AM
DHCP Server Problem bally Linux - General 1 11-10-2003 11:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:10 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