Subject: Getting and Setting Hardware Address
To: None <netbsd-help@netbsd.org>
From: Rajnish Madan <rajnishm@delhi.tcs.co.in>
List: netbsd-help
Date: 12/20/2000 19:54:15
Hi,

I am trying to get and set the Hardware address of the interface using
ioctl.
I am using the request SIOCGIFADDR/ SIOCSIFADDR

Using SIOCGIFADDR , errno is set to EADDRNOTAVAIL.
Using SIOCSIFADDR , errno is set to ESRCH.

what could be the reason for this.  any clues as where i am wrong.

Thanks in advance
Rajnish