Re: DHCP lease

2003-10-07 Thread Shay Telfer

Hi All,

Does anyone know why I would be losing my DHCP lease whenever my 
ibook goes to sleep? I am running an 800Mhz ibook with the latest 
OSX updates if that helps any...


adam.


What is providing the DHCP addresses? A Windows box? A router?

It's possible that another device on the network is grabbing the 
address when your machine is not on the network. Try locating the 
address from a different machine when you've got your iBook off the 
network, as it might help narrow down what's grabbing it.


Of course, DHCP address allocations aren't permanent.

Have fun,
Shay
--
=== Shay  Telfer 
 Perth, Western Australia   Technomancer  Join Team Sungroper, race the
 Opinions for hire  [POQ] 2003 World Solar Challenge
 [EMAIL PROTECTED] fnord http://sungroper.asn.au/



Re: DHCP lease

2003-10-07 Thread Adam Hewitt
On Tue, 2003-10-07 at 14:55, Shay Telfer wrote:
 What is providing the DHCP addresses? A Windows box? A router?
 
 It's possible that another device on the network is grabbing the 
 address when your machine is not on the network. Try locating the 
 address from a different machine when you've got your iBook off the 
 network, as it might help narrow down what's grabbing it.
 
 Of course, DHCP address allocations aren't permanent.
 
 Have fun,
 Shay

Hi Shay,

Its actually a windows 2000 Pro machine thats offering the DHCP leases,
but I am not taking my laptop off the network, its just going to sleep
and losing the lease everytime. When it wakes up it takes about 30
seconds before I get the lease renewed. Its also not another machine
taking the IP because a) I am using it at work and this would mean that
someone is getting a new lease everytime my laptop goes to sleep, and b)
The leases have a lifetime of 3 weeks...

Adam.



Re: DHCP lease

2003-10-07 Thread Onno Benschop
On Tue, 2003-10-07 at 15:04, Adam Hewitt wrote:
 I am not taking my laptop off the network, 

..and..

 its just going to sleep and losing the lease everytime. 

These two statements are contradictory, because a sleeping computer is
not on the network.

 When it wakes up it takes about 30
 seconds before I get the lease renewed. 

Sounds pretty reasonable.

 Its also not another machine
 taking the IP because a) I am using it at work and this would mean that
 someone is getting a new lease everytime my laptop goes to sleep, and b)
 The leases have a lifetime of 3 weeks...

Well that all depends...

DHCP is dynamic. The server could release the lease if your Macintosh
announces to the server that it doesn't need the lease anymore - which
is what a good network citizen AFAIK should do...

Just because the database doesn't change, or no-one else takes up the
free address - even if the IP address is hard-wired to the MAC address,
doesn't mean that the lease has been released...

Now, if you can convince your admin to give you a permanently leased
address, then you could change your address to fixed, but that would
defeat the purpose of using DHCP.



Onno Benschop 

Connected via Optus B3 at S15:51'18 - E128:45'05 (Crossing Falls, Kununurra, 
WA)
-- 
()/)/)()..ASCII for Onno.. 
|?..EBCDIC for Onno.. 
--- -. -. ---   ..Morse for Onno.. 

Proudly supported by Skipper Trucks, Highway1, Concept AV, Sony Central, Dalcon
ITmaze - ABN: 56 178 057 063 - ph: 04 1219  - onno at itmaze dot com dot au



Re: DHCP lease

2003-10-07 Thread Adam Hewitt
On Tue, 2003-10-07 at 15:41, Onno Benschop wrote:

  its just going to sleep and losing the lease everytime. 
 
 These two statements are contradictory, because a sleeping computer is
 not on the network.

Ok well when my windows machine goes to sleep it has network
connectivity immediately upon waking. Besides what use is the wake on
Lan option if the machine is no longer contactable on the network??

 
  When it wakes up it takes about 30
  seconds before I get the lease renewed. 
 
 Sounds pretty reasonable.
 
  Its also not another machine
  taking the IP because a) I am using it at work and this would mean that
  someone is getting a new lease everytime my laptop goes to sleep, and b)
  The leases have a lifetime of 3 weeks...
 
 Well that all depends...
 
 DHCP is dynamic. The server could release the lease if your Macintosh
 announces to the server that it doesn't need the lease anymore - which
 is what a good network citizen AFAIK should do...

Not in my opinion, and that is exactly what I believe is happening and
what I want to prevent.

 Just because the database doesn't change, or no-one else takes up the
 free address - even if the IP address is hard-wired to the MAC address,
 doesn't mean that the lease has been released...
 
 Now, if you can convince your admin to give you a permanently leased
 address, then you could change your address to fixed, but that would
 defeat the purpose of using DHCP.

I am the network admin ;) and I would rather figure out why this is
happening and fix it rather than give myself a fixed IP...but it is
quite annoying

Maybe I will just give myself a fixed IP until I can find a
resolution...hmmm

Adam.
Senior Network Engineer ;)



Re: DHCP lease

2003-10-07 Thread Onno Benschop
On Tue, 2003-10-07 at 15:52, Adam Hewitt wrote:
 Ok well when my windows machine goes to sleep it has network
 connectivity immediately upon waking.

I'm guessing that's because it's not releasing its lease...

 Besides what use is the wake on
 Lan option if the machine is no longer contactable on the network??

Just because something doesn't have an IP address, doesn't mean it's not
contactable...

 I am the network admin ;) and I would rather figure out why this is
 happening and fix it rather than give myself a fixed IP...but it is
 quite annoying
 
 Maybe I will just give myself a fixed IP until I can find a
 resolution...hmmm

Well, if you're the admin, figure it out :-)

Seriously, sniff the network, see if the Macintosh is relinquishing its
lease...

Onno Benschop 

Connected via Optus B3 at S15:51'18 - E128:45'05 (Crossing Falls, Kununurra, 
WA)
-- 
()/)/)()..ASCII for Onno.. 
|?..EBCDIC for Onno.. 
--- -. -. ---   ..Morse for Onno.. 

Proudly supported by Skipper Trucks, Highway1, Concept AV, Sony Central, Dalcon
ITmaze - ABN: 56 178 057 063 - ph: 04 1219  - onno at itmaze dot com dot au