[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dhcp-client
Subject:    Invalid hlen in DHCPDISCOVER
From:       Peter Koch <koch () naev ! de>
Date:       2003-07-21 8:44:18
[Download RAW message or body]

   *** From dhcp-client -- To unsubscribe, see the end of this message. ***

Dear readers!
I'm using dhclient 3.0pl2 with a very old verions od dhcpd (2.x).

Just doing:   dhclient   gives the error-message:   No broadcast
interface found - exiting

So I configured the interface via   ifconfig eth0 10.1.2.3, but then the
server receives invalid pakets.

Here's the servers syslog-message

     Jul 21 07:27:26 ns1 dhcpd: Discarding packet with invalid
     hlen.

And here's some tcpdump-output. The length of the hardware-address is
0xff instead of 0x06 and the mac is missing

     root@ns1:/tmp# tcpdump -x ether host 00:0B:DB:07:CD:2D
     tcpdump: listening on eth0
     08:53:22.458825 0.0.0.0.bootpc > 255.255.255.255.bootps:
     htype-#0 hlen:255 xid:0xd35e8e30 vend-rfc1048 T53:1
     T55:1.28.2.3.15.6.12 (DF)
                              4500 0148 0000 4000 4011 39a6 0000
     0000
                              ffff ffff 0044 0043 0134 8332 0100
     ff00
                              d35e 8e30 0000 0000 0000 0000 0000
     0000
                              0000 0000 0000 0000 0000 0000 0000
     0000
                              0000 0000 0000 0000 0000 0000 0000
     0000
                              0000 0000 0000 0000 0000 0000 0000
     0000
                              0000 0000 0000 0000 0000 0000 0000
     0000
                              0000 0000 0000 0000 0000 0000 0000
     0000
                              0000 0000 0000 0000 0000 0000 0000
     0000
                              0000 0000 0000 0000 0000 0000 0000
     0000
                              0000 0000 0000 0000 0000 0000 0000
     0000
                              0000 0000 0000 0000 0000 0000 0000
     0000
                              0000 0000 0000 0000 0000 0000 0000
     0000
                              0000 0000 0000 0000 0000 0000 0000
     0000
                              0000 0000 0000 0000 0000 0000 0000
     0000
                              0000 0000 0000 0000 0000 0000 0000
     0000
                              0000 0000 0000 0000 6382 5363 3501
     0137
                              0701 1c02 030f 060c ff00 0000 0000
     0000
                              0000 0000 0000 0000 0000 0000 0000
     0000
                              0000 0000 0000 0000 0000 0000 0000
     0000
                              0000 0000 0000 0000


Here's what happening, if the same laptop boots WinXP, so the servers
configuration must be OK

     tcpdump: listening on eth0
     08:47:23.833441 0.0.0.0.bootpc > 255.255.255.255.bootps:
     xid:0x7a72ca55 vend-rfc1048 T53:3 T61:1.0.11.219.7.205.45
     T50:219169034 HN:"d600" T81:1677721600,774910006
     T60:1413894989,808334624 T55:1.15.3.6.44.46.47.31.33.249.43
                              4500 0148 0000 0000 8011 39a6 0000
     0000
                              ffff ffff 0044 0043 0134 c38d 0101
     0600
                              7a72 ca55 0000 0000 0000 0000 0000
     0000
                              0000 0000 0000 0000 000b db07 cd2d
     0000
                              0000 0000 0000 0000 0000 0000 0000
     0000
                              0000 0000 0000 0000 0000 0000 0000
     0000
                              0000 0000 0000 0000 0000 0000 0000
     0000
                              0000 0000 0000 0000 0000 0000 0000
     0000
                              0000 0000 0000 0000 0000 0000 0000
     0000
                              0000 0000 0000 0000 0000 0000 0000
     0000
                              0000 0000 0000 0000 0000 0000 0000
     0000
                              0000 0000 0000 0000 0000 0000 0000
     0000
                              0000 0000 0000 0000 0000 0000 0000
     0000
                              0000 0000 0000 0000 0000 0000 0000
     0000
                              0000 0000 0000 0000 0000 0000 0000
     0000
                              0000 0000 0000 0000 0000 0000 0000
     0000
                              0000 0000 0000 0000 6382 5363 3501
     033d
                              0701 000b db07 cd2d 3204 0a41 100d
     0c04
                              6436 3030 5108 0000 0064 3630 302e
     3c08
                              4d53 4654 2035 2e30 370b 010f 0306
     2c2e
                              2f1f 21f9 2bff 0000
     08:47:23.836660 ns1.naev.de.bootps > CW1TRoJ.naev.de.bootpc:
     xid:0x7a72ca55 Y:CW1TRoJ.naev.de S:ns1.naev.de vend-rfc1048
     T53:5 T54:16859146 T51:2152792320 SM:255.248.0.0 DN:"naev.de"
     DG:10.64.0.140 NS:ns1.naev.de T44:218251274
     T43:1950681404,1651664232,4285820783 [tos 0x10]
                              4510 014b 0000 0000 1011 8404 0a40
     0101
                              0a41 100d 0043 0044 0137 fe85 0201
     0600
                              7a72 ca55 0000 0000 0000 0000 0a41
     100d
                              0a40 0101 0000 0000 000b db07 cd2d
     0000
                              0000 0000 0000 0000 0000 0000 0000
     0000
                              0000 0000 0000 0000 0000 0000 0000
     0000
                              0000 0000 0000 0000 0000 0000 0000
     0000
                              0000 0000 0000 0000 0000 0000 0000
     0000
                              0000 0000 0000 0000 0000 0000 0000
     0000
                              0000 0000 0000 0000 0000 0000 0000
     0000
                              0000 0000 0000 0000 0000 0000 0000
     0000
                              0000 0000 0000 0000 0000 0000 0000
     0000
                              0000 0000 0000 0000 0000 0000 0000
     0000
                              0000 0000 0000 0000 0000 0000 0000
     0000
                              0000 0000 0000 0000 0000 0000 0000
     0000
                              0000 0000 0000 0000 0000 0000 0000
     0000
                              0000 0000 0000 0000 6382 5363 3501
     0536
                              040a 4001 0133 0400 0151 8001 04ff
     f800
                              000f 076e 6165 762e 6465 0304 0a40
     008c
                              0604 0a40 0101 2c04 0a40 020d 2b0c
     3c09
                              4574 6865 7262 6f6f 74ff ff

The laptop runs linux 2.4.21.

Is there something wrong with my dhclient.conf file?What's going on?

Peter

--
Dr. Peter Koch <koch@naev.de>            phone: +49 211 4302-389
Nordrheinische Ärzteversorgung - EDV       fax: +49 211 4302-426
Tersteegenstraße 21
40474 Düsseldorf



-----------------------------------------------------------------------
To unsubscribe from this list, visit http://www.isc.org/dhcp-lists.html
or send mail to dhcp-client-request@isc.org with the subject line of
'unsubscribe'.
-----------------------------------------------------------------------

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic