get all IP information of eth0 and wlan0. i.e. IP address, route, netmask