Showing posts with label IP address. Show all posts

Introduction to IP address

Class full IP Addressing

IP addressing, when started a few decades ago, used the concept of classes. This architecture is called class full IP addressing. In the mid of 1990s, a new architecture, Called classless IP addressing was introduced that will eventually supersede the original architecture. However, most of the internet is still using calssfull addressing and the migration is slow. To understand the classfull IP addressing it is important to understand classless addressing.
In classfull IP addressing, the IP address is divided into five classes A,B,C,D and E. each class is occupies some part of the whole address space, see below the table mansion the class occupation of the address space (approximate).
A
B
C
D
E

We can see that the class A covers the half of the address space, a serious design flow. Class B cover ¼ of the whole address space, another design flow. Class C is cover the 1/8 of the address, and class D and E each cover the 1/16 of the address space.

Recognize the classes

We can find the class of an address when the address is given in binary notation or in dotted decimal notation.
Find the class in binary notation
If the address is given in binary notation, the first bits can immediately tell us the class of the address.
Find the class in dotted decimal notation
When the address is given in dotted decimal notation, then we need to look only at the first byte to determining the class of the address. Each class has a specific range of number.
Net ID and Host ID
In classfull addressing an IP in classes A,B and C is divided into net id and host id.
Note: Class D and E are not divided into net id and host id.
A
Net ID
Host ID
B
Net ID
Host ID
C
Net ID
Host ID
D
Reserved For Multicast
E
Reserved For future use

Intriduction to IP address

Classes of IP address

Sr. #
Class
Range
Bits
Network/host
Subnet mask
01
A
1-126
0000
8/24
255.0.0.0
02
B
128-191
1000
16/16
255.255.0.0
03
C
192-223
1100
24/8
255.255.255.0
04
D
224-239
1110
N/A
N/A
05
E
240-254
N/A
N/A
N/A
01. 0 is represent the network
02. 127 is reserved for testing
03. 255 is reserved for broadcast

Introduction to IP address


IP Address

At the network layer, we need to uniquely identify each device on the internet to allow global communication between all devices. This is analogous to the telephone system where each telephone subscriber has a unique telephone number. If we consider the country code and the area code as part of the identifying scheme
                The identifying used in IP layer of the TCP/IP protocol suit to identify each device connected to the internet is called the internet address or IP address. An IP address is a 32 bit binary address that uniquely and universally defines the connection of a host or a router to the internet. Two devices cannot have the same IP address on the internet, it is unique address. However if a device has two connection to the internet via two networks, it has two IP addresses