Subject: RE: Arp Resolve
To: Martin Husemann <martin@duskware.de>
From: Nitin P Mahajan <Nitin@soc-soft.com>
List: tech-net
Date: 03/14/2004 20:50:16
Hi!

	Yes it's an Ethernet interface.I called the functions mentioned
by u in the attach function.

When I do "ifconfig -a" it lists my interface with all the information
along with the Ethernet address and also the flag UP and RUNNING.

Regards

Nitin=20



-----Original Message-----
From: Martin Husemann [mailto:martin@duskware.de]=20
Sent: Sunday, March 14, 2004 8:38 PM
To: Nitin P Mahajan
Cc: tech-net@NetBSD.org
Subject: Re: Arp Resolve

On Sun, Mar 14, 2004 at 08:32:50PM +0530, Nitin P Mahajan wrote:
> I am able to configure the device, but as I try to do ping through it
I
> get the message "arpresolve: can't allocate llinfo on txeth0 for
> 192.168.4.92".

Is it an ethernet interface? In that case, you should have called

  if_attach(ifp);
  ether_ifattach(ifp, sc->sc_enaddr);

in your attach function. Does "ifconfig -a" list your interface? Does it
have a "address: xx:xx:xx:xx:xx:xx" line listing the hardware ethernet
address?

Martin