dhclient cant renew lease.

2009-02-23 Thread Peter Ankerstål

Hi
Im running FreeBSD 7.0-RELEASE on my gateway and for the last week or  
so it cant renew its dhcp-lease.


At boot-time it sends a request to broadcast: DHCPREQUEST on fxp0 to  
255.255.255.255 port 67

And then it gets an DHCPACK from the gateway.  (not 172.21.248.127)

But then the machine tries to renew the lease I keep getting messages  
like this:
Feb 23 18:29:06 cone dhclient[1623]: DHCPREQUEST on fxp0 to  
172.21.248.127 port 67

Feb 23 18:29:06 cone dhclient[1623]: SENDING DIRECT
Feb 23 18:29:33 cone dhclient[1623]: DHCPREQUEST on fxp0 to  
172.21.248.127 port 67

Feb 23 18:29:33 cone dhclient[1623]: SENDING DIRECT

until the lease runs out and then the connection drops.
I guess 172.21.248.127 is the real dhcp-server.

A 'dhclient fxp0' sends a new request to 255.255.255.255 and it  
immediately fixes the connection.



--
Peter Ankerstål
pe...@pean.org
http://www.pean.org/

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: dhclient cant renew lease.

2009-02-23 Thread Peter Ankerstål


On Feb 23, 2009, at 7:08 PM, Brooks Davis wrote:


On Mon, Feb 23, 2009 at 06:40:15PM +0100, Peter Ankerst?l wrote:

Hi
Im running FreeBSD 7.0-RELEASE on my gateway and for the last week  
or so it

cant renew its dhcp-lease.

At boot-time it sends a request to broadcast: DHCPREQUEST on fxp0 to
255.255.255.255 port 67
And then it gets an DHCPACK from the gateway.  (not 172.21.248.127)



You may be seeing the issue in bin/96018.  If so, switching to the  
dhclient

from 7.1 should fix it.

-- Brooks


I've been trying with my laptop running 7.1 and it doesnt get any  
replies from

172.21.248.127.

I guess a workaround is to set a shorter rebind-interval..
--
Peter Ankerstål
pe...@pean.org
http://www.pean.org/

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: dhclient cant renew lease.

2009-02-23 Thread Brooks Davis
On Mon, Feb 23, 2009 at 06:40:15PM +0100, Peter Ankerst?l wrote:
 Hi
 Im running FreeBSD 7.0-RELEASE on my gateway and for the last week or so it 
 cant renew its dhcp-lease.
 
 At boot-time it sends a request to broadcast: DHCPREQUEST on fxp0 to 
 255.255.255.255 port 67
 And then it gets an DHCPACK from the gateway.  (not 172.21.248.127)
 
 But then the machine tries to renew the lease I keep getting messages like 
 this:
 Feb 23 18:29:06 cone dhclient[1623]: DHCPREQUEST on fxp0 to 172.21.248.127 
 port 67
 Feb 23 18:29:06 cone dhclient[1623]: SENDING DIRECT
 Feb 23 18:29:33 cone dhclient[1623]: DHCPREQUEST on fxp0 to 172.21.248.127 
 port 67
 Feb 23 18:29:33 cone dhclient[1623]: SENDING DIRECT
 
 until the lease runs out and then the connection drops.
 I guess 172.21.248.127 is the real dhcp-server.
 
 A 'dhclient fxp0' sends a new request to 255.255.255.255 and it immediately 
 fixes the connection.

You may be seeing the issue in bin/96018.  If so, switching to the dhclient
from 7.1 should fix it.

-- Brooks


pgpoGgOqa1A4A.pgp
Description: PGP signature