Correctly set subnet mask on Linux