ip add method did wrong convertion
added ip address functionality as well, including tests