CN Unit 1 Part 1
CN Unit 1 Part 1
Network Models
2-1 LAYERED TASKS
2.2
Figure 2.1 Tasks involved in sending a letter
2.3
2-2 THE OSI MODEL
Established in 1947, the International Standards
Organization (ISO) is a multinational body dedicated to
worldwide agreement on international standards. An ISO
standard that covers all aspects of network
communications is the Open Systems Interconnection
(OSI) model. It was first introduced in the late 1970s.
2.4
Note
2.5
Figure 2.2 Seven layers of the OSI model
2.6
Figure 2.3 The interaction between layers in the OSI model
2.7
Figure 2.4 An exchange using the OSI model
2.8
2-3 LAYERS IN THE OSI MODEL
2.9
Figure 2.5 Physical layer
2.10
Note
2.11
Figure 2.6 Data link layer
2.12
Note
2.13
Figure 2.7 Hop-to-hop delivery
2.14
Figure 2.8 Network layer
2.15
Note
2.16
Figure 2.9 Source-to-destination delivery
2.17
Figure 2.10 Transport layer
2.18
Note
2.19
Figure 2.11 Reliable process-to-process delivery of a message
2.20
Figure 2.12 Session layer
2.21
Note
2.22
Figure 2.13 Presentation layer
2.23
Note
2.24
Figure 2.14 Application layer
2.25
Note
2.26
Figure 2.15 Summary of layers
2.27
The TCP/IP Reference Model
2.30
Full Forms: TCP/IP and OSI model
2.31
Multiplexing and Demultiplexing
2.32
2-5 ADDRESSING
2.33
Figure 2.17 Addresses in TCP/IP
2.34
Figure 2.18 Relationship of layers and addresses in TCP/IP
2.35
TCP/IP v/s OSI
■ 4 Layers ■ 7 Layers
■ Did not clearly ■ Distinction between
distinguish between these three concepts
service, interface are explicit.
and protocol. ■ Protocols in the OSI
■ Protocols in TCP/IP model are better
model are not hidden than in the
hidden and tough TCP/IP model and can
to replace if be replaced relatively
technology easily as the
changes. technology changes.
3
6
■ The protocols came ■ The model was not
first, and the model biased toward one
was really just a particular set of
description of the protocols, a fact that
existing protocols. made it quite general.
■ Designers have much ■ Designers did not have
experience with the much experience with
the subject and did
subject and have not have a good idea
clear idea of which of which functionality
functionality to put in to put in which layer.
which layer.
3
7
Example 2.1
2.38
Figure 2.19 Physical addresses
2.39
Example 2.2
07:01:02:01:2C:4B
A 6-byte (12 hexadecimal digits) physical address.
2.40
Example 2.3
2.41
Figure 2.20 IP addresses
2.42
Example 2.4
2.43
Figure 2.21 Port addresses
2.44
Note
2.45
Example 2.5
753
A 16-bit port address represented
as one single number.
2.46
Note
2.47
2.48
BASIS OF LAN MAN WAN
COMPARISON
Expands to Local Area Network Metropolitan Area Wide Area Network
Network
Meaning A network that It covers relatively It spans large
connects a group of large region such as locality and connects
computers in a small cities, towns. countries together.
geographical area. Example Internet.
3.49
A scientist (Alice)
working in a research
company, Sky
Research, needs to
order a book related to
her research from an
online bookseller
(Bob), Scientific
Books.
Transmitted
data changes
to signal.
3.50
Note
3.51
Network Devices
HUB
Broadcasting by nature
Signal introduced at input of any port appears at output of every port except
the original incoming port
Advantages
Historically, main reason for purchasing hubs was their price
Disadvantages
A frame is passed along or "broadcast" to every one of its ports which results in
unnecessary traffic
This places a lot of traffic on the network and can lead to poor network response times
Uses of Hub
Working of Amplifier
REPEATER
•Some types of repeaters broadcast an identical signal, but alter its method of
transmission
Advantages
Easily extend the length of the network
It can connect signals from same network type that uses different types of cables
Disadvantages
Does not support connection of different network architecture.
•A repeater and a hub both work on the Physical Layer of the OSI Model.
•Both are very “dumb” devices (no offense to any of you repeaters out there).
How is Repeater different from Amplifier?
Types of Bridges
• Transparent Bridges:- These are the
bridge in which the stations are completely
unaware of the bridge’s existence i.e.
whether or not a bridge is added or deleted
from the network, reconfiguration of the
stations is unnecessary. These bridges
make use of two processes i.e. bridge
forwarding and bridge learning.
• Source Routing Bridges:- In these bridges,
routing operation is performed by the
source station and the frame specifies
which route to follow. The host can
discover the frame by sending a special
frame called the discovery frame, which
spreads through the entire network using
all possible paths to the destination.
Switch – A switch is a multiport bridge with a buffer and a design that can
boost its efficiency(a large number of ports imply less traffic) and
performance. A switch is a data link layer device. The switch can perform
error checking before forwarding data, which makes it very efficient as it
does not forward packets that have errors and forward good packets
selectively to the correct port only. In other words, the switch divides the
collision domain of hosts, but the broadcast domain remains the same.
Types of Switch
1. Unmanaged switches: These switches have a simple plug-and-play design and
do not offer advanced configuration options. They are suitable for small networks
or for use as an expansion to a larger network.
2. Managed switches: These switches offer advanced configuration options such as
VLANs, QoS, and link aggregation. They are suitable for larger, more complex
networks and allow for centralized management.
3. Smart switches: These switches have features similar to managed switches but
are typically easier to set up and manage. They are suitable for small- to
medium-sized networks.
4. Layer 2 switches: These switches operate at the Data Link layer of the OSI model
and are responsible for forwarding data between devices on the same network
segment.
5. Layer 3 switches: These switches operate at the Network layer of the OSI model
and can route data between different network segments. They are more
advanced than Layer 2 switches and are often used in larger, more complex
networks.
6. PoE switches: These switches have Power over Ethernet capabilities, which
allows them to supply power to network devices over the same cable that carries
data.
7. Gigabit switches: These switches support Gigabit Ethernet speeds, which are
faster than traditional Ethernet speeds.
8. Rack-mounted switches: These switches are designed to be mounted in a
server rack and are suitable for use in data centers or other large networks.
9. Desktop switches: These switches are designed for use on a desktop or in
a small office environment and are typically smaller in size than rack-
mounted switches.
10. Modular switches: These switches have modular design, which allows for
easy expansion or customization. They are suitable for large networks and
data centers.
Routers – A router is a device like a switch that routes data packets based on their IP
addresses. The router is mainly a Network Layer device. Routers normally connect
LANs and WANs and have a dynamically updating routing table based on which they
make decisions on routing the data packets. The router divides the broadcast domains
of hosts connected through it
IEEE STANDARDS FOR ETHERNET
IEEE 802.3 is a set of standards and protocols that define Ethernet-based networks. Ethernet
technologies are primarily used in LANs, though they can also be used in MANs and even WANs.
IEEE 802.3 defines the physical layer and the medium access control (MAC) sub-layer of the data
link layer for wired Ethernet networks.
versions of IEEE 802.3 protocol
•IEEE 802.3: This was the original standard given for 10BASE-5. It used a thick
single coaxial cable into which a connection can be tapped by drilling into the
cable to the core. Here, 10 is the maximum throughput, i.e. 10 Mbps, BASE
denoted use of baseband transmission, and 5 refers to the maximum segment
length of 500m.
•IEEE 802.3a: This gave the standard for thin coax (10BASE-2), which is a
thinner variety where the segments of coaxial cables are connected by BNC
connectors. The 2 refers to the maximum segment length of about 200m
(185m to be precise).
•IEEE 802.3i: This gave the standard for twisted pair (10BASE-T) that uses
unshielded twisted pair (UTP) copper wires as physical layer medium. The
further variations were given by IEEE 802.3u for 100BASE-TX, 100BASE-T4
and 100BASE-FX.
•IEEE 802.3i: This gave the standard for Ethernet over Fiber (10BASE-F) that
uses fiber optic cables as medium of transmission.
13-1 IEEE STANDARDS
13.82
Figure 13.1 IEEE standard for LANs
13.83
Figure 13.2 HDLC frame compared with LLC and MAC frames
13.84
13-2 STANDARD ETHERNET
13.85
Figure 13.3 Ethernet evolution through four generations
13.86
Figure 13.4 802.3 MAC frame
13.87
Figure 13.5 Minimum and maximum lengths
13.88
Note
Frame length:
Minimum: 64 bytes (512 bits)
Maximum: 1518 bytes (12,144 bits)
13.89
Figure 13.6 Example of an Ethernet address in hexadecimal notation
13.90
Figure 13.7 Unicast and multicast addresses
13.91
Note
13.92
Note
13.93
Example 13.1
Solution
The address is sent left-to-right, byte by byte; for each
byte, it is sent right-to-left, bit by bit, as shown below:
13.95
Figure 13.8 Categories of Standard Ethernet
13.96
Figure 13.9 Encoding in a Standard Ethernet implementation
13.97
Figure 13.10 10Base5 implementation
13.98
Figure 13.11 10Base2 implementation
13.99
Figure 13.12 10Base-T implementation
13.100
Figure 13.13 10Base-F implementation
13.101
Table 13.1 Summary of Standard Ethernet implementations
13.102
13-4 FAST ETHERNET
13.103
Figure 13.19 Fast Ethernet topology
13.104
Figure 13.20 Fast Ethernet implementations
13.105
Figure 13.21 Encoding for Fast Ethernet implementation
13.106
Table 13.2 Summary of Fast Ethernet implementations
13.107
13-5 GIGABIT ETHERNET
13.108
Note
13.109
Figure 13.22 Topologies of Gigabit Ethernet
13.110
Figure 13.23 Gigabit Ethernet implementations
13.111
Figure 13.24 Encoding in Gigabit Ethernet implementations
13.112
Table 13.3 Summary of Gigabit Ethernet implementations
13.113
Table 13.4 Summary of Ten-Gigabit Ethernet implementations
13.114