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: 22.214.171.124.67
> > 126.96.36.199.68: hops:1 xid:0xab353177 Y:188.8.131.52
> G:184.108.40.206 vend-rfc1048 DHCP:OFFER SID:220.127.116.11 LT:3600
> SM:255.255.252.0 BR:255.255.255.255 DG:18.104.22.168 DN:"chello.hu"
> ACKT:22.214.171.124.0.254.2.6.126.96.36.199.188.8.131.52.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:184.108.40.206 RQ:220.127.116.11 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
18.104.22.168. 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_ 22.214.171.124 _to_ 126.96.36.199, _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 188.8.131.52), quit tcpdump, leave dhclient running
but do ifconfig eth0 184.108.40.206. See what happens... This is
only a short-term solution!!!!!!!
Happy Birthday, Debian!
August 16, 1993