IP Address
When we type google.com in our web browser it is converted into IP addresses and then it reach to the desired google network and host and specific port to get the web page.
An IP address consists of two part –
- Network ID
- Host ID
The size of IP address is 32 bit.
Generation
- 1st Gen – In 1980 the IP address was divided into 8 bit or Network ID and 24 bit of Host ID but as people starts using computer more the requirement got more.
- Classful System – We have divided the IP address into various classes –

Class A we take the first bit, Class B we take the first 2 bit, similarly in Class C we take the first 3 bit and so on till Class E.
Class | Starts With | Network Bit | Host Bit | Total Networks | Host per Network | Network Range |
Class A | 0 | 1 + 7 | 24 | 128 | 16M | 1-126 |
Class B | 10 | 2 + 14 | 16 | 16K | 65K | 128-191 |
Class C | 110 | 3 + 21 | 8 | 20M | 256 | 192-223 |
Class D | 1110 | Reserved For Multicast | N/A | N/A | N/A | 224-239 |
Class E | 11111 | Reserved For Experiment | N/A | N/A | N/A | 240-255 |
What is dotted decimal representation?
If we divide the IP address in four parts(8 bits) and we convert the 8 bit into decimal and we put “.” in between it is called dotted decimal representation. e.g. – 127.0.0.1
Note : We can configure total (number of host – 2) per network.
- suppose we have a network 11.0.0.0, 14.0.0.0. Whenever there is all 0 in the host ID it represents the network itself. That’s why we don’t use first IP address as a valid IP address for a host.
- 255.255.255.255 is assigned as Limited Broadcast Address. So it can’t be assigned to any host.
- 255 as host ID is assigned as Direct Broadcasting Address. So it can’t be assigned to any host. e.g – (NID).255.255.255
DNS
What is DNS overhead?
For converting the domain name into IP address we go to DNS(Domain Name Service) Server of the ISP(Internet Service Provider) and if it doesn’t know the IP then there are three hierarchy servers that helps –
- Root Server
- TLD Server(Top Level Domain)
- Name Server
Actually we don’t do it every time we visit a website after conversion we store the IP address locally in our computer.
