Add netmask to addresses