Netmask now determines the gateway and it helps in locating an appropriate address in ipv4_to_if