Subject: Re: How to configure an ethernet interface which has point to point link
To: None <tech-net@NetBSD.org>
From: Ignatios Souvatzis <is@netbsd.org>
List: tech-net
Date: 06/15/2007 12:24:58
On Thu, Jun 14, 2007 at 10:26:02PM -0500, David Young wrote:
> 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.

Or... would arp -s 10.10.10.22 macaddress help you?

	-is