find subnet mask network id