remove use of ifconfig in favor of ip