updated to use IPAddress

Updated IpNetwork to use IPAddress as the address type rather than a
char array