Discussion:
static ARP entries in NetBSD 5?
(too old to reply)
Emmanuel Dreyfus
2009-08-12 10:10:07 UTC
Permalink
Hello

It seems that NetBSD 5.0 is not able to get a static arp
eentry anymore:

I pick up an entry in my ARP table and delete it before
adding it with arp -s, and I get a log from the kernel:
arp_rtrequest: bad gateway value

Since I used an arp entry that was already in the table,
I am quite confident that the host is indeed reachable on
that interface.

Is this a known problem? How am I supposed to add a
static ARP entry in NetBSD 5.0?
--
Emmanuel Dreyfus
***@netbsd.org

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
David Young
2009-08-12 18:02:40 UTC
Permalink
Post by Emmanuel Dreyfus
Hello
It seems that NetBSD 5.0 is not able to get a static arp
I pick up an entry in my ARP table and delete it before
arp_rtrequest: bad gateway value
I may have introduced a bug in the kernel. Will you try this patch?

ftp://cuw.ojctech.com/users/netbsd-86cd7b87/if_arp.patch

Dave
--
David Young OJC Technologies
***@ojctech.com Urbana, IL * (217) 278-3933

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Emmanuel Dreyfus
2009-08-12 18:24:05 UTC
Permalink
Post by David Young
I may have introduced a bug in the kernel. Will you try this patch?
ftp://cuw.ojctech.com/users/netbsd-86cd7b87/if_arp.patch
After I discovered it was Xen related, I reposted in port-xen, so
let us followup there
--
Emmanuel Dreyfus
***@netbsd.org

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
David Young
2009-08-12 20:16:31 UTC
Permalink
Post by Emmanuel Dreyfus
Post by David Young
I may have introduced a bug in the kernel. Will you try this patch?
ftp://cuw.ojctech.com/users/netbsd-86cd7b87/if_arp.patch
After I discovered it was Xen related, I reposted in port-xen, so
let us followup there
I think that the bug is related to unusually long interface names such
as xennet0. Please try the patch that I mention, above.

Dave
--
David Young OJC Technologies
***@ojctech.com Urbana, IL * (217) 278-3933

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Emmanuel Dreyfus
2009-08-12 20:55:26 UTC
Permalink
Post by David Young
I think that the bug is related to unusually long interface names such
as xennet0. Please try the patch that I mention, above.
It works fine with your patch.
--
Emmanuel Dreyfus
***@netbsd.org

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Loading...