use of ip command instead of route for better compatibility