Re: dhcp evils

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

 



On Tue, 2005-04-19 at 11:50 -0500, Michael Hennebry wrote:
> On Mon, 18 Apr 2005, William Hooper wrote:
> > Michael Hennebry wrote:
> > [snip]
> > > I did a find from / to fgrep for stmike.
> > > Except for files in /home/hennebry I got
> > > /var/lib/slocate/slocate.db
> > > /var/lib/dhcp/dhclient-eth0.leases
> > [snip]
> > > None of these seem like likely prospects.
> >
> > dhclient-eth0.leases screams relevant to me.
> 
> I had thought so to until someone told me that
> dhcp didn't provide hostnames.
> 

dhcp can (if setup) set a default name if one isn't supplied when the
host asks for the DHCP data.

> Here it is:
> lease {
>   interface "eth0";
>   fixed-address 24.117.45.226;
>   option subnet-mask 255.255.252.0;
>   option time-offset 0;
>   option routers 24.117.44.1;
>   option dhcp-lease-time 1209600;
>   option dhcp-message-type 5;
>   option domain-name-servers 24.116.209.232,24.116.0.202,24.116.212.232;
>   option dhcp-server-identifier 24.117.44.1;
>   option broadcast-address 255.255.255.255;
>   option host-name "stmike";
>   renew 5 2005/4/22 01:09:45;
>   rebind 4 2005/4/28 11:02:46;
>   expire 6 2005/4/30 05:02:46;
> }
> 
> Is this telling me that the client told the server that
> the client's name is stmike, that the server told the
> client that the client's name is stmike, or something else?
> 
> -- 
> Mike   hennebry@xxxxxxxxxxxxxxxxxxxxx
> "I AM DEATH, NOT TAXES.  *I* ONLY TURN UP ONCE."  --  Death
> 
> 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux