Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
CPS 422
For communication on the Internet, we need to
Computer Networks uniquely identify every device connected to the
Internet.
The identifier used in the network layer of the
NETWORK LAYER Internet model to identify each device on the
Internet is called the Internet Address, Internet
Addressing in the Internet Protocol Address or commonly, the IP Address
An IP address is a 32-bit binary address that
uniquely and universally defines the connection of
Behrouz A. Forouzan a host or a router to the Internet
A host can have multiple IP addresses, but two
hosts cannot have the same IP address on the
Internet
Faisal Amjad CPS 422 Faisal Amjad CPS 422
addressing Class B 10
Class C 110
Class D 1110
Class E 1111
1
IP Address – Finding the Class IP Address – Finding the Class in
Decimal Notation
Start
Class E
2
IP – Network Address Subnetting
Network address is an address that defines the A portion of IP address indicates the network
network itself (netID) and a potortion indicates the hosts on the
It cannot be assigned to a host network (through hostID)
Properties of network address are It means that there is a sense of heirarchy in IP
o All hostID bytes are 0s addressing
o It defines the network to rest of the Internet, helps in To reach a host on the Internet, we must first
efficient routing of packets reach the network by using netID
o It is the first address in the block Then we must reach the host itself by using the
o Given the network address, we can find the class of hostID
address
Therefore we can conclude that IP has two levels
of heirarchy
Faisal Amjad CPS 422 Faisal Amjad CPS 422
Subnetting Example
141.14.50.1 141.14.50.254 141.14.115.1 141.14.115.254
IS BS
141.14.115.2
Subnet:
141.14.50.2
141.14.50.0 Subnet:
141.14.115.0
141.14.128.2
141.14.128.1 141.14.128.254
141.14.192.3
141.14.192.1 141.14.192.254
CS EE
Subnet:
141.14.192.0 Subnet:
141.14.128.0
141.14.192.2 141.14.128.3
Network Address:
141.14.0.0
To rest of the Internet
Faisal Amjad CPS 422