add checksum for ip