using ip command instead of route for compatibility