adjust netmasks