DHCP server ignores directed DHCPREQUEST on renewal

Vladislav Belogrudov linux62i at yahoo.com
Sat May 6 15:08:59 UTC 2006


version: 3.0.2, 3.0.3, 3.0.4
os: linux 2.6.9

I try to test dchpd with provided dhclient.
The procedure (discover,lease renewal) works fine
but with some minor drawbacks. When the client wants
to renew lease it sends unicast message to dchpd
several times and dhcpd ignores it. Then client
starts broadcasting request and gets acknowledgement.
I wonder why server ignores first renewal requests..

SERVER: 
Listening on LPF/eth0/00:b0:d0:23:4f:d8/11.2/16
Sending on   LPF/eth0/00:b0:d0:23:4f:d8/11.2/16
Sending on   Socket/fallback/fallback-net

CLIENT:

Listening on LPF/eth0/00:b0:d0:23:4f:d8
Sending on   LPF/eth0/00:b0:d0:23:4f:d8
Sending on   Socket/fallback
DHCPREQUEST on eth0 to 255.255.255.255 port 222
DHCPACK from 11.2.10.101
client script executed
bound to 11.2.10.1 -- renewal in 16 seconds.

SERVER:
DHCPREQUEST for 11.2.10.1 from 00:b0:d0:23:4f:d8 via
eth0
DHCPACK on 11.2.10.1 to 00:b0:d0:23:4f:d8 via eth0
DHCPDISCOVER from 00:b0:d0:23:4f:d8 via eth0
DHCPOFFER on 11.2.10.1 to 00:b0:d0:23:4f:d8 via eth0

CLIENT:
DHCPREQUEST on eth0 to 11.2.10.101 port 222
DHCPREQUEST on eth0 to 11.2.10.101 port 222

SERVER:
<<silence>>

CLIENT:
DHCPREQUEST on eth0 to 255.255.255.255 port 222

SERVER:
DHCPREQUEST for 11.2.10.1 from 00:b0:d0:23:4f:d8 via
eth0
DHCPACK on 11.2.10.1 to 00:b0:d0:23:4f:d8 via eth0


DHCPREQUEST for 11.2.10.1 (11.2.10.1) from
00:b0:d0:23:4f:d8 via eth0
DHCPACK on 11.2.10.1 to 00:b0:d0:23:4f:d8 via eth0


I found that such directed DHCPREQUEST messages are
ignored by the server in fallback_discard()

Does anybody have any ideas?

Many thanks in advance,
Vlad.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the dhcp-users mailing list