operations on ip address and network address