AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20070827155301.533dffcd@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<tim.gardner@onstor.com>,<dl-Cougar@onstor.com>,<brian.baker@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/andys@onstor.net@onstor-exch02.onstor.net/INBOX	0	BB375AF679D4A34E9CA8DFA650E2B04E053A9821@onstor-exch02.onstor.net
X-Sylpheed-End-Special-Headers: 1
Date: Mon, 27 Aug 2007 15:53:42 -0700
From: Andrew Sharp <andy.sharp@onstor.com>
To: "Tim Gardner" <tim.gardner@onstor.com>
Cc: "dl-Cougar" <dl-Cougar@onstor.com>, "Brian Baker"
 <brian.baker@onstor.com>
Subject: Re: permanent dhcp addresses
Message-ID: <20070827155342.530937dc@ripper.onstor.net>
In-Reply-To: <BB375AF679D4A34E9CA8DFA650E2B04E053A9821@onstor-exch02.onstor.net>
References: <BB375AF679D4A34E9CA8DFA650E2B04E053A9821@onstor-exch02.onstor.net>
Organization: Onstor
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Mon, 27 Aug 2007 15:26:49 -0700 "Tim Gardner"
<tim.gardner@onstor.com> wrote:

> After the power failure, my workstation IP address changed once again.
> This is a real problem for those of use that are using our
> workstations for NFS and TFTP servers for
> our bobcat linux and cougar filers.
> I had a discussion with Brian Baker. The problem is that there is a
> lack of dhcp leases so the dhcp
> lease timeout is 6 hours. To get around this he has agreed to give
> cougar developers long term dhcp
> leases. If you need a long term lease to prevent your IP address from
> changing, please send me
> your system hostname and I will file a help desk request.
> 
> Tim
> 

I need one:  ripper 10.0.0.42 (mac address 00:E0:81:5E:C0:98)



To help this problem, but not completely solve it, one can add the line

send dhcp-requested-address 10.0.0.xx;

to the dhclient.conf file on your machine.  Currently on most people's
workstations, there is no such file, so you can create one
at /etc/dhclient.conf.  You can also add the line

send host-name "XxXxXxXx";

to help out with the DNS, although our DNS server is pretty spastic
about this sort of thing.  About a lot of things, actually.  Sometimes
it works, sometimes it doesn't.

Cheers,

a

PS, one detraction is that if your machine boots, and the stupid dhcp
server has already given away your address, at least on my workstation,
it just sits there asking the server for that address and getting a NAK
from the server until I manually hit a CTRL-C to get it to continue on.
It really should give up and just accept a random address at some
point.  It's probably covered by a configuration option I don't know
about.
