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