From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Net / dhcp (miss)behaviour
Date: Fri, 18 Jan 2008 23:31:54 +0000 [thread overview]
Message-ID: <200801182332.05010.michaelkintzios@gmail.com> (raw)
In-Reply-To: <9238e8de0801181038o425af9a4ge8101df6b8515325@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2219 bytes --]
On Friday 18 January 2008, Marko Kocić wrote:
> > Actually, as long as the interface is up, you can sniff traffic even if
> > it does not have an IP address. Emerge wireshark (somehow...), do (as
> > root) an "ip link set eth0 up" (or "ifconfig eth0 up") and run
> > wireshark. Start capturing packets, run dhcpcd from the command line (or
> > whatever DHCP client you use), and see what goes on the wire. You should
> > see DHCP discovery/offer/request messages, or maybe not all of them if
> > things are not working correctly. For each DHCP packet, look at the DHCP
> > payload details from wireshark (you can save the capture for later
> > viewing too).
> >
> > Then, start windows, install wireshark for windows, and do the same. To
> > force a DHCP negotiation in windows, open a command prompt and issue
> > an "ipconfig /release" followed by an "ipconfig /renew" (IIRC). Look at
> > the traffic captured after the /renew command, and look for obvious or
> > blatant differences between windows and linux in DHCP packets of the
> > same kind.
>
> Thanks for the info. I'll try that.
>
> Also, I just found by googling that there is dhcp client called
> net-misc/pump which
> have --win-client-ident option. I'll try that too.
I wonder if my similar problem is related to what you report here: I am using
dhcpcd and ifplug with my ADSL router, which acts as the dhcp server on my
LAN. For some reason ifplug does not always manage to get an IP address from
the router and I end up with an APIPA address. /etc/init.d/net.eth0
stop/start gets it going again. This problem only occurs if I disconnect and
then reconnect the ethernet cable. No such problem exists when I boot the
machine with the cable already connected to the NIC. I haven't changed
timeouts or anything else from the dhcpcd defaults. I have always attributed
this problem to a somewhat slow dhcp server on the router.
As a note: WinXP machines do not have any such problem. Even though they may
end up with a APIPA address, they will in minute or so drop it and acquire a
10.10.10.XXX domain address from the router. dhcpcpd does not seem to have
this flexibility.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2008-01-18 23:33 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-18 17:09 [gentoo-user] Net / dhcp (miss)behaviour Marko Kocić
2008-01-18 17:50 ` Alan McKinnon
2008-01-18 18:03 ` Marko Kocić
2008-01-18 18:24 ` Etaoin Shrdlu
2008-01-18 18:17 ` Marko Kocić
2008-01-18 18:27 ` Kevin
2008-01-18 18:48 ` Etaoin Shrdlu
2008-01-18 18:38 ` Marko Kocić
2008-01-18 23:31 ` Mick [this message]
2008-01-19 22:09 ` Marko Kocić
2008-01-20 1:37 ` Roy Wright
2008-01-20 13:51 ` Tony Davison
2008-01-20 14:07 ` [gentoo-user] " Marko Kocić
2008-01-20 15:26 ` Alan McKinnon
2008-01-22 23:44 ` Marko Kocić
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200801182332.05010.michaelkintzios@gmail.com \
--to=michaelkintzios@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox