functional: mac to ip