lkml.org 
[lkml]   [2004]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: 2.6.8.1: ip auto-config accepts wrong packages
From
Date
Hi Frank,

On Wed, 2004-08-25 at 15:41, Frank Steiner wrote:
>
> the output is exactly the same on both machines! On the one machine that
> went through (because it got the IP first) I got the output from dmesg,
> printed it and compared it to the both boot screens. And they are really
> identical.

Stupid question but the MAC addresses on the cards are different aren't
they? Could you also double check that the xid values differ on both
machines, this is shown on the line:

IP-Config: eth0 UP (able=1, xid=07196018)
^^^^^^^^

Both MAC and xid should be different.

> I didn't see any option (or "extension") that contains the mac address.
> Could that be the problem? Do I have to tell the server that the mac
> address must be in the request-list?

The MAC address is embedded in the chaddr field of the request packets.

This trace does not contain any DHCP NACK responses that were shown in
the DHCP server log (annotated in the log below). Are you sure it is
behaving exactly as before (i.e. is the DHCP server showing the same
messages being transmitted, including the NACKs)?

The kernel appears to be working correctly in this case.

Thanks
Mark

> IP-Config: Entered.
> IP-Config: eth0 UP (able=1, xid=07196018)
> Sending DHCP requests .DHCP: Sending message type 1
[DHCPDISCOVER]
> tg3: eth0: Link is up at 100 Mbps, full duplex.
> tg3: eth0: Flow control is on for TX and on for RX.
> DHCP: Got message type 2
[DHCPOFFER]
> DHCP: Offered address 141.84.1.168 by server 141.84.1.132
> DHCP/BOOTP: Got extension 53: 02
> DHCP/BOOTP: Got extension 54: 8d 54 01 84
> DHCP/BOOTP: Got extension 51: 00 00 1c 20
> DHCP/BOOTP: Got extension 1: ff ff ff 80
> DHCP/BOOTP: Got extension 3: 8d 54 01 82
> DHCP/BOOTP: Got extension 6: 81 bb d6 87
> DHCP/BOOTP: Got extension 12: 72 61 64 6f
> DHCP/BOOTP: Got extension 15: 62 69 6f 2e 69 66 69 2e 6c 6d 75 2e 64 65
> DHCP/BOOTP: Got extension 17: 2f
> DHCP/BOOTP: Got extension 28: 8d 54 01 ff
> DHCP/BOOTP: Got extension 208: f1 00 74 7e
> DHCP/BOOTP: Got extension 209: 70 78 65 6c 69 6e 75 78 2e 63 66 67 2e 72 61 64 6f
> DHCP/BOOTP: Got extension 210: 68 6f 73 74 73 2f
> ,DHCP: Sending message type 3
[DHCPREQUEST]
> DHCP: Got message type 5
[DHCPACK]
> DHCP/BOOTP: Got extension 53: 05
> DHCP/BOOTP: Got extension 54: 8d 54 01 84
> DHCP/BOOTP: Got extension 51: 00 00 1c 20
> DHCP/BOOTP: Got extension 1: ff ff ff 80
> DHCP/BOOTP: Got extension 3: 8d 54 01 82
> DHCP/BOOTP: Got extension 6: 81 bb d6 87
> DHCP/BOOTP: Got extension 12: 72 61 64 6f
> DHCP/BOOTP: Got extension 15: 62 69 6f 2e 69 66 69 2e 6c 6d 75 2e 64 65
> DHCP/BOOTP: Got extension 17: 2f
> DHCP/BOOTP: Got extension 28: 8d 54 01 ff
> DHCP/BOOTP: Got extension 208: f1 00 74 7e
> DHCP/BOOTP: Got extension 209: 70 78 65 6c 69 6e 75 78 2e 63 66 67 2e 72 61 64 6f
> DHCP/BOOTP: Got extension 210: 68 6f 73 74 73 2f
> OK
> IP-Config: Got DHCP answer from xxx.xxx.1.132, my address is xxx.xxx.1.168
> IP-Config: Complete:
> device=eth0, addr=xxx.xxx.1.168, mask=255.255.255.128, gw=xxx.xxx.1.130,
> host=rado, domain=xxx nis-domain=(none),
> bootserver=xxx.xxx.1.132, rootserver=xxx.xxx.1.132, rootpath=/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.452 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site