Question: In this problem, your program will read a databank of IP addresses and their respective subnet masks . The databank is stored as a binary
In this problem, your program will read a databank of IP addresses and their respective subnet masks. The databank is stored as a binary file in which every chunk of 5 consecutive bytes represents an IP address and the number of bits in the subnet mask. The goal of your program is to read the information provided in the databank and display the following information corresponding to each pair of IP address and subnet mask:
the IP address
the network address
the usable IP range for hosts
the subnet mask
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
