bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fw: Re: DHCP dhcp-client-identifier usage


From: OKUJI Yoshinori
Subject: Fw: Re: DHCP dhcp-client-identifier usage
Date: Wed, 13 Dec 2000 03:03:01 +0900

--- Begin Message --- Subject: Re: DHCP dhcp-client-identifier usage Date: Tue, 12 Dec 2000 09:51:00 -0800
in order to use it, with the NEW dhcp servers I did the following.

on the server config file, add a host entry that looks something like:
host my_host.my.domain {
        option dhcp-client-identifier "my_host.my.domain";
        fixed-address 10.131.7.44 ;    #this is my local address, can be any.
}
this part enabled the dhcp server to look up, and assign ip by that
name, insted of the hardware address. and in my testing, work both with
servers version 2 and 3(beta) .

as far as the client, i could only get it to work with version 3 . the
config file looks like:

...
send dhcp-client-identifier "my_host.my.domain";
send host-name "my_host";
...

the above will cause this client, to  always get the 10.131.7.44 ip,
regardless of the hardware interface being used.

in order to implement it onto grub, it is needed to add the option to
supply that dhcp-client-identifier field to the grub dhcp  cliend, and
make it relay it to the server on it's dhcp request.

Assaf

OKUJI Yoshinori wrote:
> 
> From: assaf stoler <address@hidden>
> Subject: DHCP dhcp-client-identifier usage
> Date: Mon, 11 Dec 2000 16:42:38 -0800
> 
> > therefor, I think it will be wise to use it - add an option in the grub
> > DHCP implementation, to supply that name to the dhcp client to the
> > server, instead of the hardware address, which will make some sys-admins
> > smile ...
> 
> How to use it? Example? I don't know much about DHCP.
> 
> Okuji


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]