LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   DHCP server config problem (https://www.linuxquestions.org/questions/linux-networking-3/dhcp-server-config-problem-73250/)

Q25 07-16-2003 09:37 AM

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 :p)

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??:eek:

Q25 07-17-2003 12:13 PM

BUMP! there it is...:D

Q25 07-18-2003 07:58 AM

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. :rolleyes:
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.


All times are GMT -5. The time now is 09:06 AM.