Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Nov 2009 17:21:47 +0100 (CET)
From:      "JASSAL Aman" <aman.jassal@esigetel.fr>
To:        Ask =?iso-8859-1?Q?Bj=F8rn_Hansen?= <ask@develooper.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: DHCP client not getting IP address from Time Warner
Message-ID:  <26570.83.206.131.26.1257265307.squirrel@webmail.esigetel.fr>
In-Reply-To: <36028DC7-4A90-4680-83ED-301FBE15F09C@develooper.com>
References:  <36028DC7-4A90-4680-83ED-301FBE15F09C@develooper.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,

The logs display something that I find very disturbing.
In the dhcpdump log, the DHCPDISCOVER message your interface sends an
erroneous MAC address, there is a "01:" that is added in front of the
actual MAC address of your interface. What is sent in the discover message
is "01:00:..." instead of "00:00:...".

Then what happens explains itself : the DHCP server will send a DHCPOFFER
by using the requesting client's MAC address, but since the given MAC
address is wrong, he broadcasts it (which I don't think is the behaviour
that is expected in normal cases...).

I think this is also why the client doesn't emit a DHCPREQUEST (which is
emitted by the client to confirm that it is choosing the proposed settings
from the server, and implicitly turning down any other offers made by
other servers).

I'll look into it when I get back home (at work right now). If possible :
could you try to connect your Time Warner cable with another interface ?
Or the same one as the one you used under Mac OS X (that way we would see
if we get the same behaviour, regardless of the network interface chosen)
?

Kind regards,


Aman Jassal



Le Mar 3 novembre 2009 16:47, Ask Bjørn Hansen a écrit :
> Hi everyone,
>
>
> After years with Speakeasy at home I'm trying out Time Warner Cable
> (we live too far from the CO to get good DSL speeds).
>
>
> On OS X I plug-in and get an IP from their DHCP server:
>
>
> http://dl.getdropbox.com/u/25895/dhcp/dhcp-osx.txt
>
>
> On FreeBSD their DHCP server seems to just ignore me (but I see lots
> of broadcast replies to 255.255.255.255/ff:ff:ff:ff:ff:ff).  I've tried
> with both the standard dhclient and the isc dhclient from ports.
>
> 00:00:24:c9:23:c1 is my FreeBSD box (Soekris 5501 with vr ethernet):
>
>
> http://dl.getdropbox.com/u/25895/dhcp/dhcp-freebsd.txt
>
>
> The OS X dump was made with dhcpdump 1.7 and
>
>
> sudo tcpdump -i en0 -s 1518 -lenx port bootps or port bootpc | ./ dhcpdump
>
>
> The FreeBSD one with "dhcpdump -i vr1".
>
>
> Below is a tcpdump of one of the DHCP requests.
>
>
> Any ideas would be greatly appreciated.
>
>
>
> - ask
>
>
>
> 15:46:02.424186 00:00:24:c9:23:c1 > ff:ff:ff:ff:ff:ff, ethertype IPv4
> (0x0800), length 342: 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP,
> Request from 00:00:24:c9:23:c1, length 300
> 0x0000:  4510 0148 0000 0000 1011 a996 0000 0000
> 0x0010:  ffff ffff 0044 0043 0134 43bb 0101 0600
> 0x0020:  ea65 7a82 0000 0000 0000 0000 0000 0000
> 0x0030:  0000 0000 0000 0000 0000 24c9 23c1 0000
> 0x0040:  0000 0000 0000 0000 0000 0000 0000 0000
> 0x0050:  0000 0000 0000 0000 0000 0000 0000 0000
> 0x0060:  0000 0000 0000 0000 0000 0000 0000 0000
> 0x0070:  0000 0000 0000 0000 0000 0000 0000 0000
> 0x0080:  0000 0000 0000 0000 0000 0000 0000 0000
> 0x0090:  0000 0000 0000 0000 0000 0000 0000 0000
> 0x00a0:  0000 0000 0000 0000 0000 0000 0000 0000
> 0x00b0:  0000 0000 0000 0000 0000 0000 0000 0000
> 0x00c0:  0000 0000 0000 0000 0000 0000 0000 0000
> 0x00d0:  0000 0000 0000 0000 0000 0000 0000 0000
> 0x00e0:  0000 0000 0000 0000 0000 0000 0000 0000
> 0x00f0:  0000 0000 0000 0000 0000 0000 0000 0000
> 0x0100:  0000 0000 0000 0000 6382 5363 3501 013d
> 0x0110:  0701 0000 24c9 23c1 0c05 6777 2d62 6e37
> 0x0120:  0801 1c02 7903 0f06 0cff 0000 0000 0000
> 0x0130:  0000 0000 0000 0000 0000 0000 0000 0000
> 0x0140:  0000 0000 0000 0000
>
>
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>
>





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?26570.83.206.131.26.1257265307.squirrel>