Parse the output of ip addr on a linux system