Subject: Re: How to configure an ethernet interface which has point to point link
To: None <tech-net@NetBSD.org>
From: David Young <dyoung@pobox.com>
List: tech-net
Date: 06/14/2007 22:26:02
On Thu, Jun 14, 2007 at 04:54:43PM -0700, mrchit_2000 wrote:
> 
> Hi all,
> 
> I am having trouble with bringing up an ethernet interfaces on my system.
> Here is my situation. I have a system which have 2 CPU. Each of the CPU has
> a MAC interface connected directly to the other via RGMII without phys. This
> makes me think this is  a point-to-point link. When configuring the
> interfaces on the 2 CPU,  I use ifconfig :
>      ifconfig eth2 10.10.10.10 10.10.10.22 netmask 255.255.255.0
> 
> The interfaces are setup in driver with these flags: IFF_POINTOPOINT,
> IFF_NO_ARP, IFF_SIMPLEX and IFF_NOTRAILER. Here is the display when do
> ifconfig eth2:

Are you able to modify the driver?  Throughout the ethernet common code,
NetBSD will assume a broadcast interface where ARP works.  If you follow
the convention, you may have an easier time.

Dave

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