You are on page 1of 88

Computer Network by P.

It-arun Computer
Engineering Dept, RMUTT.
INTERNETWORKING
Chapter 2
1
TOPIC
 Internetworking Basics
 Internetworking Model

Computer Engineering Dept, RMUTT.


Computer Network by P.It-arun
 The OSI Reference Model

 Ethernet Networking

 Wireless Networking

 Data Encapsulation

3
Computer Network by P.It-arun Computer
Engineering Dept, RMUTT.
INTERNETWORK BASIC
4
POSSIBLE CAUSES OF LAN TRAFFIC
CONGESTION ARE

 Too many hosts in a broadcast domain


 Broadcast storms

Computer Engineering Dept, RMUTT.


Computer Network by P.It-arun
 Multicasting

 Low bandwidth

 Adding hubs for connectivity to the


network
 A large amount of ARP or IPX traffic (IPX
is a Novell
5
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
6
NETWORK SEGMENTATION

 Broadcast domain
Collision domain

Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
7
TWO ADVANTAGES OF USING
ROUTERS IN YOUR NETWORK ARE
 They don’t forward broadcasts by default.

They can filter the network based on layer 3

Computer Engineering Dept, RMUTT.


Computer Network by P.It-arun

(Network layer) information (i.e., IP address).

8
FOUR ROUTER FUNCTIONS IN YOUR
NETWORK CAN BE LISTED AS

 Packet switching
 Packet filtering

Computer Engineering Dept, RMUTT.


Computer Network by P.It-arun
 Internetwork communication

 Path selection

9
INTERNETWORKING MODEL
 The Layered Approach
 Advantages of Reference Models
 It divides the network communication process into

Computer Engineering Dept, RMUTT.


Computer Network by P.It-arun
smaller and simpler components, thus aiding component
development, design, and troubleshooting.
 It allows multiple-vendor development through
standardization of network components.
 It encourages industry standardization by defining
what functions occur at each layer of the model.
 It allows various types of network hardware and
software to communicate.
 It prevents changes in one layer from affecting other
layers, so it does not hamper development.

10
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
11
THE OSI REFERENCE MODEL
The upper layers

Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
12
THE LOWER LAYERS
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
13
LAYER FUNCTIONS
INTERFACES: VERTICAL (ADJACENT
LAYER) COMMUNICATION

14
Assi
st.Pr
of.
Itaru
n
Piti
mon
(itar
un.p
@cp
PROTOCOLS: HORIZONTAL
(CORRESPONDING LAYER) COMMUNICATION

15
Assi
st.Pr
of.
Itaru
n
Piti
mon
(itar
un.p
@cp
DATA ENCAPSULATION

16
Assi
st.Pr
of.
Itaru
n
Piti
mon
(itar
un.p
@cp
TCP/IP PROTOCOLS

17
Assi
st.Pr
of.
Itaru
n
Piti
mon
(itar
un.p
@cp
TCP/IP PROTOCOLS

18
Assi
st.Pr
of.
Itaru
n
Piti
mon
(itar
un.p
@cp
PROTOCOL DATA UNITS (PDUS) AND
SERVICE DATA UNITS (SDUS)

19
Assi
st.Pr
of.
Itaru
n
Piti
mon
(itar
un.p
@cp
INDIRECT DEVICE CONNECTION AND
MESSAGE ROUTING

20
Assi
st.Pr
of.
Itaru
n
Piti
mon
(itar
un.p
@cp
APPLICATION LAYER
 The Application layer of the OSI model marks the
spot where users actually communicate to the
computer.

Computer Engineering Dept, RMUTT.


Computer Network by P.It-arun
 Sample ->
 World Wide Web (WWW)
 E-mail gateways
 Electronic data interchange (EDI)
 Special interest bulletin boards
 Internet navigation utilities
 Financial transaction services

21
THE PRESENTATION LAYER
 It presents data to the Application layer and is
responsible for data translation and code
formatting.

Computer Engineering Dept, RMUTT.


Computer Network by P.It-arun
 This layer is essentially a translator and provides
coding and conversion functions. A successful
data-transfer technique is to adapt the data into
a standard format before transmission.

22
THE SESSION LAYER
 The Session layer is responsible for setting
up, managing, and then tearing down
sessions between Presentation layer

Computer Engineering Dept, RMUTT.


Computer Network by P.It-arun
entities.
 This layer also provides dialogue control
between devices, or nodes. It coordinates
communication between systems, and
serves to organize their communication by
offering three different modes: simplex,
half duplex, and full duplex.
23
THE TRANSPORT LAYER
 The Transport layer segments and
reassembles data into a data stream.
 Services located in the Transport layer

Computer Engineering Dept, RMUTT.


Computer Network by P.It-arun
both segment and reassemble data from
upper-layer applications and unite it onto
the same data stream.
 They provide end-to-end data transport
services and can establish a logical
connection between the sending host and
destination host on an internetwork.

24
 The Transport layer is responsible for providing
mechanisms for multiplexing upper-layer
applications, establishing sessions, and tearing

Computer Engineering Dept, RMUTT.


Computer Network by P.It-arun
down virtual circuits.
 The Transport layer can be connectionless or
connection-oriented.
 Some of you are probably familiar with TCP and
UDP already.

25
FLOW CONTROL
 Data integrity is ensured at the Transport
layer by maintaining flow control and by
allowing users to request reliable data

Computer Engineering Dept, RMUTT.


Computer Network by P.It-arun
transport between systems.
 The segments delivered are acknowledged
back to the sender upon their reception.
 Any segments not acknowledged are
retransmitted.
 Segments are sequenced back into their proper
order upon arrival at their destination.
 A manageable data flow is maintained in order
to avoid congestion, overloading, and data loss.
26
CONNECTION-ORIENTED
COMMUNICATION
 a call setup, or a three way handshake

Computer Engineering Dept, RMUTT.


Computer Network by P.It-arun
27
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
28
TRANSMITTING SEGMENTS WITH
FLOW CONTROL
ACKNOWLEDGMENTS
 It guarantees that the data won’t be
duplicated or lost.

Computer Engineering Dept, RMUTT.


Computer Network by P.It-arun
 This is achieved through something called
positive acknowledgment with
retransmission a technique that requires a
receiving machine to communicate with
the transmitting source by sending an
acknowledgment message back to the
sender when it receives data.
29
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
30
WINDOWING
THE NETWORK LAYER
 The Network layer (also called layer 3)
manages device addressing, tracks the
location of devices on the network, and

Computer Engineering Dept, RMUTT.


Computer Network by P.It-arun
determines the best way to move data,
which means that the Network layer must
transport traffic between devices that
aren’t locally attached.
 Two types of packets are used at the
Network layer:
 Data packets : routed protocol
 Route update packets : routing protocol
31
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
32
ROUTING TABLE USED IN A ROUTER
HERE ARE SOME POINTS ABOUT ROUTERS THAT YOU
SHOULD REALLY COMMIT TO MEMORY:

 Routers, by default, will not forward any broadcast or


multicast packets.
 Routers use the logical address in a Network layer header
to determine the next hop router to forward the packet to.

Computer Engineering Dept, RMUTT.


Computer Network by P.It-arun
 Routers can use access lists, created by an administrator,
to control security on the types of packets that are allowed
to enter or exit an interface.
 Routers can provide layer 2 bridging functions if needed
and can simultaneously route through the same interface.
 Layer 3 devices (routers in this case) provide connections
between virtual LANs (VLANs).
 Routers can provide quality of service (QoS) for specific
types of network traffic.

33
THE DATA LINK LAYER
 The Data Link layer provides the physical
transmission of the data and handles error
notification, network topology, and flow control.

Computer Engineering Dept, RMUTT.


Computer Network by P.It-arun
 The Data Link layer formats the message into
pieces, each called a data frame, and adds a
customized header containing the hardware
destination and source address.

34
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
35
DATA LINK LAYER WITH THE ETHERNET
AND IEEE SPECIFICATIONS.
THE IEEE ETHERNET DATA LINK
LAYER HAS TWO SUBLAYERS:

 Media Access Control (MAC) 802.3


Defines how packets are placed on the

Computer Engineering Dept, RMUTT.


Computer Network by P.It-arun
media. Contention media access is “first
come/first served” access where everyone
shares the same bandwidth—hence the
name. Physical addressing is defined here,
 Logical Link Control (LLC) 802.2
Responsible for identifying Network layer
protocols and then encapsulating them.

36
SWITCHES AND BRIDGES AT THE DATA
LINK LAYER

 Layer 2 switching is considered


hardware-based bridging because it uses

Computer Engineering Dept, RMUTT.


Computer Network by P.It-arun
specialized hardware called an
application-specific integrated circuit
(ASIC).

37
THE PHYSICAL LAYER
 we find that the Physical layer does two things: It
sends bits and receives bits. Bits come only in
values of 1 or 0—a Morse code with numerical

Computer Engineering Dept, RMUTT.


Computer Network by P.It-arun
values.
 The Physical layer specifies the electrical,
mechanical, procedural, and functional
requirements for activating, maintaining, and
deactivating a physical link between end
systems.
 This layer is also where you identify the interface
between the data terminal equipment (DTE) and
the data communication equipment (DCE).
38
HUBS AT THE PHYSICAL LAYER
 A hub is really a multiple-port repeater. A
repeater receives a digital signal and
reamplifies or regenerates that signal, and

Computer Engineering Dept, RMUTT.


Computer Network by P.It-arun
then forwards the digital signal out all active
ports without looking at any data.

39
Computer Network by P.It-arun Computer
Engineering Dept, RMUTT.
ETHERNET NETWORKING
Lecture 2-2
40
THE SUCCESS OF ETHERNET IS DUE
TO THE FOLLOWING FACTORS:
 Simplicity and ease of maintenance
 Ability to incorporate new technologies

Computer Engineering Dept, RMUTT.


Computer Network by P.It-arun
 Reliability

 Low cost of installation and upgrade

41
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
42
802.3 ETHERNET IN RELATION TO THE
OSI MODEL
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
43
IEEE 802.X STANDARDS
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
44
ETHERNET TECHNOLOGIES MAPPED TO THE
OSI MODEL
ETHERNET ADDRESSING
 We get into how Ethernet addressing
works. It uses the Media Access Control

Computer Engineering Dept, RMUTT.


Computer Network by P.It-arun
(MAC) address burned into each and
every Ethernet Network Interface Card
(NIC).

45
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
46
MAC ADDRESS FORMAT
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
47
GENERIC FRAME FORMAT
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
48
IEEE 802.3
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
49
ETHERNET II FRAME FORMAT
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
50
ETHERNET II AND IEEE 802.3 FRAME
FORMAT
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
51
MEDIA ACCESS CONTROL (MAC)
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
52
MAC RULES AND COLLISION
DETECTION/BACKOFF
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
53
MAC RULES AND COLLISION
DETECTION/BACKOFF
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
54
ETHERNET TIMING
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
55
INTERFRAME SPACING
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
56
BACKOFF
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
57
ERROR HANDLING
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
58
TYPES OF COLLISIONS
THE EFFECTS OF HAVING A CSMA/CD NETWORK
SUSTAINING HEAVY COLLISIONS INCLUDE

 Delay
 Low throughput

Computer Engineering Dept, RMUTT.


Computer Network by P.It-arun
 Congestion

59
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
60
ETHERNET ERRORS
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
61
ETHERNET ERRORS
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
62
FCS ERRORS
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
63
PARAMETERS FOR 10 MBPS
ETHERNET OPERATION
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
64
MANCHESTER ENCODING EXAMPLES
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
65
PARAMETERS FOR 100-MBPS ETHERNET
OPERATION
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
66
MLT-3 ENCODING EXAMPLE (100BASE-
TX)
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
67
NRZI ENCODING EXAMPLES (100BASE-
FX)
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
68
PARAMETERS FOR GIGABIT
ETHERNET OPERATION
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
69
ACTUAL 1000BASE-T SIGNAL
TRANSMISSION
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
70
GIGABIT ETHERNET LAYERS
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
71
GIGABIT ETHERNET MEDIA COMPARISON
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
72
PARAMETERS FOR 10-GBPS ETHERNET
OPERATION
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
73
10GBASE LX-4 SIGNAL
MULTIPLEXING
Computer Network by P.It-arun Computer
Engineering Dept, RMUTT.
WIRELESS NETWORKING
74
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
75
BENEFITS OF WLANS
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
76
EVOLUTION OF WIRELESS LANS
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
77
UNLICENSED FREQUENCY BANDS
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
78
WIRELESS TECHNOLOGIES
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
79
DISTANCE VERSUS SPEED
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
80
WIRELESS TECHNOLOGIES
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
81
IN-BUILDING WLANS
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
82
THE IEEE 802 STANDARDS
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
83
IEEE 802.11 PROTOCOLS
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
84
IEEE 802.11 STANDARDS
Computer Network by P.It-arun Computer
Engineering Dept, RMUTT.
DATA ENCAPSULATION
85
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
86
DATA ENCAPSULATION
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
87
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
88
SUMMARY
 OSI model—the seven-layer model used to help application
developers design applications that can run on any type of
system or network. Each layer has its special jobs and
select responsibilities within the model to ensure that solid,

Computer Engineering Dept, RMUTT.


Computer Network by P.It-arun
effective communications do, in fact, occur.
 Remember that hubs are Physical layer devices and repeat
the digital signal to all segments except the one it was
received from.
 Switches segment the network using hardware addresses
and break up collision domains.
 Routers break up broadcast domains (and collision
domains) and use logical addressing to send packets
through an internetwork.

89

You might also like