Q1: Introduction to IP Addressing (IPV4)
Q2: IP Classes and their Ranges
with example
Q3: Public and Private IP
address with example
IP Addressing:
IPv4 address is
the 1st type of IP address which is an unique address generated by
the router to identify the network. It is 32 bit long address with four 8 bit
fields. Bad thing about this ipv4 is this that it can only generate about 4
billion unique addresses which would be less in future so, therefore to fulfill
this requirement ipv6 were introduced which is 64 bit long address. Also IP address
has two parts one is network and other is host.
IP Classes and their Ranges:
Class |
1st Octave |
Network Host |
Subnet |
Hosts per Network |
A |
1-----------126 |
N.H.H.H |
255.0.0.0 |
2^24------2^32 |
B |
128--------191 |
N.N.H.H |
255.255.0.0 |
2^16------2^23 |
C |
192--------233 |
N.H.H.H |
255.255.255.0 |
2^0-------2^15 |
D |
224--------239 |
RESERVED
|
FOR |
MULTICASTING |
E |
240--------254 |
EXPERIMENTAL |
USED FOR |
RESEARCH |
For example IP address for class A is 1.1.1.1 as the same way IP address for class C is 198.168.1.1. In this way this IP addresses uses but class D and E are only reserved for the Research and multicasting.
Public and private IP addresses:
IP address is the globally
unique IP address provided by ISP to our network also there is a private IP
address which is locally unique IP address furthermore we cannot access the
internet by using private IP address also there are some ranges from class A, B
and C which is only reserved for private IP addresses and the range is here
Class |
Private IP address |
A |
10.0.0.0------------------10.255.255.255 |
B |
172.16.0.0---------------172.31.255.255 |
C |
192.168.0.0--------------192.168.255.255 |
Now
the whole story is here that our pc contains private IP addresses and our
internet service provider contains public IP addresses so if we want to access
the goggle then request from our local network send to ISP and then ISP
provides us a public IP address to access the Google so in this way we access
the internet.
0 Comments:
Post a Comment