use ifconfig resource