- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What are Computer Networks and IP addresses?
Computer network is a group of computers or nodes that are linked to each other to share information and resources. Whereas, IP addresses are generally represented by a 32-bit unsigned binary value. It is represented in a dotted decimal format.
For example, 9.250.7.5 is a valid IP address.
The IP address consists of a pair of numbers −
IP address = <network number><host number>
Let see the pictorial representation of two hosts that are communicated with the help of Network and IP address.
Explanation
Step 1 − The service that is used to convert the Domain name to IP address is called Domain Name Service.
Step 2 − The port number is used to Identify a particular host, for well known services the port numbers are predefined and fixed.
For example −
http=>port number=80 ftp=> port number=21 SMTP=> Port number=25
Step 3 − Even though our intention is to reach google.com, we have to visit DNS first and then getting the IP address of google.com we will get the google home page. Actually this is overhead, also called DNS overhead.
This problem can be rectified when we get the IP address of google.com. For the first time, we need to store that in our personal system for some time. Later on, when we try to access the site again we can get the IP address directly from our system.
By doing this there is no need to get DNS for every time access which reduces the overheads. If the IP address expires then there is no other alternative we have to go to DNS.
IP addresses are used by the IP protocol helpful to identify a host on the Internet. Generally, speaking, an IP address identifies an interface that is capable of sending and receiving IP datagrams.
- Related Articles
- What are IPV6 Unicast Addresses in computer networks?
- What are the classifications of classful IP addresses?
- Computer Networks – An Overview of TCP/IP Model
- Counting the number of IP addresses present between two IP addresses in JavaScript
- Difference between Private and Public IP addresses
- Restore IP Addresses in C++
- What are subnets and subnet masks in computer networks?
- What are ISDN Layers in computer networks?
- What are noise impairments in Computer networks?
- What are Terrestrial Microwaves in computer networks?
- What are Satellite Microwaves in computer networks?
- What are the Gateways in Computer Networks?
- What are VLAN, NAT and private IP’s in computer networks?
- What are the Transmission Impairments in computer networks?
- What are static routing algorithms in computer networks?
