In: Computer Science
What are IP address ports and IP address classes?
IP address port : An Ip address is the address of the system in the network. Two main functions of IP address is host or network interface identification and location addressing. A Port is address of the service within a system . So IP address Port gives address of a particular service on a particular system. While a IP address is used to identify a host or number of hosts in a network, port number is used to identify a particular service running in a host. In simple words port number identifies the service running on the system with that particular IP address.
IP address classes : There are over 500 crores of IP address. Accessing and managing such huge number of address without any technique or function is next to impossible. If there is no order for the 500 crore IP address the search time for any address would take minutes to hours of time. Just like a dictionary, in which the words are arranged in the order that makes searching for an required word makes easy. Similarly in IP address we use IP address classes which divides the IP addresses into 5 Classes namely A, B, C, D, E. So when a host request for an service, we need not check the entire list of available ip addresses instead depending on which class the requested IP address falls into, only that particular Class is checked and hence works way faster than searching entire list. The division of classes is made in the following way.
Class Starting address Ending address
A 0.0.0.0 127.255.255.255
B 128.0.0.0 191.255.255.255
C 192.0.0.0 223.255.255.255
D 224.0.0.0 239.255.255.255
E 240.0.0.0 255.255.255.255
Based on the above division of address into classes the efficiency of IP adresses is increased.
Hope this answer help you.
Thank you:)