Implemented sr_get_interface_ip and is_router_ip