public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: pjordan@whitehorse.blackwire.com
To: linux-kernel@vger.kernel.org
Cc: Peter Jordan <pjordan@whitehorse.blackwire.com>
Subject: arp-reply, src & dest HW addr. same. Breaks netboot.
Date: Sun, 21 Oct 2001 11:08:56 -0700	[thread overview]
Message-ID: <20011021110856.A14724@panama> (raw)

Hello,
I am working with a powermac G4 (65 of 'em to be exact),
and I am learning in gory detail how they netboot or don't.

When I tell the powermac's Open Firmware to
boot from boot-device enet:0,bootme,

and I want to specify the router address using
default-gateway-ip=192.168.2.1

I am seeing that any time I point this to a linux box, whether it be i386
or powerpc or 2.4.10 or 2.2.19 that the arp-reply packet
looks corrupted to me.

Here is an example:


20:23:42.750602 0:30:65:a8:72:16 ff:ff:ff:ff:ff:ff 0806 64: arp who-has 192.168.2.1 tell 0.0.0.0
                         0001 0800 0604 0001 0030 65a8 7216 0000
                         0000 0000 0000 0000 c0a8 0201 5555 5555
                         5555 5555 5555 5555 5555 5555 5555 3254
                         ff8b
20:23:42.750641 0:30:65:a6:fa:14 0:30:65:a8:72:16 0806 42: arp reply 192.168.2.1 is-at 0:30:65:a6:fa:14 (0:30:65:a6:fa:14)
                         0001 0800 0604 0002 0030 65a6 fa14 c0a8
                         0201 0030 65a6 fa14 c0a8 0201



Note how in the reply, the linux box at 192.168.2.1 sets
the mac address for the source and destination fields to be the same.

I think for this reason the Open Firmware sends five arp who-has packets
and then gives up with the error message "can't get GATEWAY HW address."

What I don't understand is how that packet gets to the OF in the first place.
The header description of tcpdump -e output looks right, but the contents
of the arp packet is wrong.  I guess that is 802.2 or 3 or whatever ??


Anyway, when I point it to a sun box, the arp reply comes out properly
with the src and dest set as they should be, and the Open Firmware,
immediately sends out its DHCP request.


I think this is linux kernel related.

Peter
ps. please CC anyt reply to me

                 reply	other threads:[~2001-10-21 20:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20011021110856.A14724@panama \
    --to=pjordan@whitehorse.blackwire.com \
    --cc=linux-kernel@vger.kernel.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