Lecture 7 (CN)
Lecture 7 (CN)
Computer Networks
unicast
broadcast multicast
8 888
➢ 232 combination exist(Approximately 4 Arab)
6
IPV4 Address
➢ First IP address is 0.0.0.0
➢ Last IP address is 255.255.255.255
➢ Five classes exist
i. Class A
ii. Class B For Unicasting
iii. Class C
iv. Class D For Multicasting
v. Class E For Research and Testing used
Note:- Class D and Class E are not commercially used
7
IPV4 Address
➢ First IP address is 0.0.0.0
➢ Last IP address is 255.255.255.255
➢ Five classes exist
i. Class A
ii. Class B For Unicasting
iii. Class C
iv. Class D For Multicasting
v. Class E For Research and Testing used
Note:- Class D and Class E are not commercially used
8
IPV4 Address (Binary Octet)
➢ An octet is made up of eight “1”s and/or “0”s,
representing the following values:
128 64 32 16 8 4 2 1
9
IPV4 Address (Range Calculation
Method)
10
IP Address Breakdowns
➢The class of the address determines, by default, which
part is for the network (N) and which part belongs to the
host (H)
Class A: NNNNNNNN.HHHHHHH.HHHHHHHH.HHHHHHHH
Class B: NNNNNNNN.NNNNNNNN.HHHHHHH.HHHHHHHH
Class C: NNNNNNNN.NNNNNNNN.NNNNNNNN.HHHHHHHH
11
Class ranges for Internet addresses
12
IP Classes Table
Class 1st Octet Network/Host Default Subnet Number of Networks Hosts per Network (Usable
Decimal ID Mask Addresses)
Range (N=Network,
H=Host)
13
PRIVATE IP ADDRESS RANGES
PRIVATE ADDRESS RANGES are:-
➢ Class A: 10.0.0.0—10.255.255.255
➢ Class B: 172.16.0.0—172.31.255.255
➢ Class C: 192.168.0.0—192.168.255.255
Note:- Private addresses created by RFC 1918 are to be used for
addressing internal networks
14
Example
Suppose we have the address of: 206.15.143.89?
What class is it? Class C
What is the subnet mask?
255.255.255.0
What is the Network Address?
206.15.143.0
What is the host portion of the address?
0.0.0.89
15
Reference
[1] http://www.cisco.com
[2]William Stallings,(2011).Cryptography and Network
Security! New Jersey :Prentice Hall.
[3]James A. Senn, (2000). Information Technology in
Business! New Jersery: Prentice Hall.
[4]https://onlineclassnotes.com/what-are-five-components-
of-data-communications-system/
16