Re: Help needed with ethernet configuration - dhclient seems to ignore DHCPOFFER
On Sun, Aug 17, 2003 at 10:20:19PM +0200, Komáromi Eszter wrote:
> Thanks for the help, David,
> I managed to find your thread in the archives. I get some weird packets
> indeed, not arp though. Here's tcpdump's output (tcpdump -s 2000 -nXe -i
> 16:20:58.686564 0:0:77:94:e1:a 0:e0:29:9a:6b:ec 0800 363: 220.127.116.11.67
> > 18.104.22.168.68: hops:1 xid:0xab353177 Y:22.214.171.124
> G:126.96.36.199 vend-rfc1048 DHCP:OFFER SID:188.8.131.52 LT:3600
> SM:255.255.252.0 BR:255.255.255.255 DG:184.108.40.206 DN:"chello.hu"
> ACKT:220.127.116.11.0.254.2.6.18.104.22.168.22.214.171.124.255.255.255.0 (DF) [tos 0x1]
> 16:21:02.139112 0:e0:29:9a:6b:ec ff:ff:ff:ff:ff:ff 0800 342: 0.0.0.0.68 >
> 255.255.255.255.67: xid:0xab353177 vend-rfc1048 DHCP:REQUEST
> SID:126.96.36.199 RQ:188.8.131.52 CID:00:e0:29:9a:6b:ec
> PR:SM+BR+TZ+DG+DN+NS+HN [tos 0x10]
If you look carefully, you see an offer (SID-field) for the address
184.108.40.206. Then, your system does a request (again, SID) for that
same address. What I'm a bit puzzled about, is that I see _nothing_ in
return from your logs, only some random chatter between other computers.
And the offer was _from_ 220.127.116.11 _to_ 18.104.22.168, _not_
you. I'm puzzled. You might want to try a number of things:
- Boot windows. Try to get an IP address. If you don't get one,
contact your ISP (chello?)
- If you _do_ get one, _and_ have an other computer running linux, try
putting that one in between (or you could try a hub) and examine the
packets that go back and forth. Depending on your setup, this might
be a very impracticable solution.
- Run tcpdump -w file and send me the file. Please don't wait ten
minutes before ending tcpdump, ;-) I can analyse the file with
different options, pipe it through dhcpdump, etc.
- Just assume that you won't steal another's IP and read the SID-field
(in this case 22.214.171.124), quit tcpdump, leave dhclient running
but do ifconfig eth0 126.96.36.199. See what happens... This is
only a short-term solution!!!!!!!
Happy Birthday, Debian!
August 16, 1993