Chapter 4 - Internetworking-1
Chapter 4 - Internetworking-1
Chapter 4 - Internetworking-1
INTERNETWORKING MODELS
(THE LAYERED ARCHITECTURE)
Contents:
Introduction
Protocols and reference models
The OSI models
The TCP/IP model
Network application
•Web, DHCP, DNS, Mail
Communication and Layer Architecture
• Solution:
We replace each group of 8 bits with its equivalent decimal number and
add dots for separation.
Cont..
• Example 3:
Cont..
• Example4:
Classful Addressing
• IPv4 addressing, at its inception, used the concept of classes.
This architecture is called classful addressing.
• In classful addressing, the address space is divided into five
classes: A, B, C, D, and E. Each class occupies some part of the
address space.
• Classes in binary and dotted-decimal notation
Cont..
Example 5: Find the class of each address.
a.00000001 000010110000101111101111
b.11000001100000110001101111111111
c.14.23.120.8
d.252.5.15.111
Solution
a. The first bit is 0. This is a class A address
b. The first 2 bits are 1; the third bit is 0. This is a class Caddress.
c. The first byte is 14; the class is A.
d. The first byte is 252; the class is E.
Classful Addressing
• When an organization requested a block of addresses, it was
granted one in class A, B, or C.
• Class A addresses were designed for large organizations with
a large number of attached hosts or routers.
• Class B addresses were designed for midsize organizations
with tens of thousands of attached hosts or routers.
• Class C addresses were designed for small organizations with
a small number of attached hosts or routers.
• A block in class A address is too large for almost any
organization. This means most of the addresses in class A
were wasted and were not used.
• A block in class B is also very large, probably too large for
many of the organizations that received a class B block.
• A block in class C is probably too small for many
organizations.
Netid Hostid
• In classful addressing, an IP address in class A, B, or C is
divided into netid and hostid.
• These parts are of varying lengths, depending on the class of
the address.
• In class A, one byte defines the netid and three bytes define
the hostid.
• In class B, two bytes define the netid and two bytes define the
hostid.
• In class C, three bytes define the netid and one byte defines
the hostid.
Classify and Define IPv4 Addresses
• Individual bits are encoded onto the Physical layer and the
basic encoding techniques.
Physical Layer Fundamental Principles
Physical Layer Signaling and Encoding