Chapter 2 Internetworking

Download Report

Transcript Chapter 2 Internetworking

Computer
Chapter 2
1
Computer Network by P.It-arun
Engineering Dept, RMUTT.
INTERNETWORKING
TOPIC
Internetworking Basics
 Internetworking Model
 The OSI Reference Model
 Ethernet Networking
 Wireless Networking
 Data Encapsulation

Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
3
Computer
4
Computer Network by P.It-arun
Engineering Dept, RMUTT.
INTERNETWORK BASIC
POSSIBLE CAUSES OF LAN TRAFFIC
CONGESTION ARE
 Too
 Adding
hubs for connectivity to the
network
A
large amount of ARP or IPX traffic (IPX
is a Novell
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
many hosts in a broadcast domain
 Broadcast storms
 Multicasting
 Low bandwidth
5
NETWORK SEGMENTATION

Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
Collision domain
 Broadcast domain
6
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
(Network layer) information (i.e., IP address).
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.

8
FOUR ROUTER FUNCTIONS IN YOUR
NETWORK CAN BE LISTED AS
Packet switching
 Packet filtering
 Internetwork communication
 Path selection

Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
9
INTERNETWORKING MODEL
The Layered Approach
 Advantages of Reference Models





It divides the network communication process into
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.
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.

10
THE OSI REFERENCE MODEL
The upper layers

Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
11
THE LOWER LAYERS
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
12
LAYER FUNCTIONS
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
13
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

Sample ->






World Wide Web (WWW)
E-mail gateways
Electronic data interchange (EDI)
Special interest bulletin boards
Internet navigation utilities
Financial transaction services
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.

The Application layer of the OSI model marks the
spot where users actually communicate to the
computer.
21
THE PRESENTATION LAYER
It presents data to the Application layer and is
responsible for data translation and code
formatting.
 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.

Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
22
THE SESSION LAYER
 The
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
Session layer is responsible for setting
up, managing, and then tearing down
sessions between Presentation layer
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
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
Transport layer segments and
reassembles data into a data stream.
 Services located in the Transport layer
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
down virtual circuits.
 The Transport layer can be connectionless or
connection-oriented.
 Some of you are probably familiar with TCP and
UDP already.

Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
25
FLOW CONTROL
 Data
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.

Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
integrity is ensured at the Transport
layer by maintaining flow control and by
allowing users to request reliable data
transport between systems.
26
CONNECTION-ORIENTED
COMMUNICATION

a call setup, or a three way handshake
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
27
TRANSMITTING SEGMENTS WITH
FLOW CONTROL
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
28
ACKNOWLEDGMENTS
 It
 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.
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
guarantees that the data won’t be
duplicated or lost.
29
WINDOWING
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
30
THE NETWORK LAYER
 The


Data packets : routed protocol
Route update packets : routing protocol
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
Network layer (also called layer 3)
manages device addressing, tracks the
location of devices on the network, and
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:
31
ROUTING TABLE USED IN A ROUTER
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
32
HERE ARE SOME POINTS ABOUT ROUTERS THAT YOU
SHOULD REALLY COMMIT TO MEMORY:





Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.

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.
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.
 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.

Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
34
DATA LINK LAYER WITH THE ETHERNET
AND IEEE SPECIFICATIONS.
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
35
THE IEEE ETHERNET DATA LINK
LAYER HAS TWO SUBLAYERS:
 Media
 Logical
Link Control (LLC) 802.2
Responsible for identifying Network layer
protocols and then encapsulating them.
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
Access Control (MAC) 802.3
Defines how packets are placed on the
media. Contention media access is “first
come/first served” access where everyone
shares the same bandwidth—hence the
name. Physical addressing is defined here,
36
SWITCHES AND BRIDGES AT THE DATA
LINK LAYER
 Layer
2 switching is considered hardwareComputer Network by P.It-arun
Computer Engineering Dept, RMUTT.
based bridging because it uses 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
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).

Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
38
HUBS AT THE PHYSICAL LAYER

Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
A hub is really a multiple-port repeater. A
repeater receives a digital signal and
reamplifies or regenerates that signal, and
then forwards the digital signal out all active
ports without looking at any data.
39
Computer
Lecture 2-2
40
Computer Network by P.It-arun
Engineering Dept, RMUTT.
ETHERNET NETWORKING
THE SUCCESS OF ETHERNET IS DUE
TO THE FOLLOWING FACTORS:
Simplicity and ease of maintenance
 Ability to incorporate new technologies
 Reliability
 Low cost of installation and upgrade

Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
41
802.3 ETHERNET IN RELATION TO THE
OSI MODEL
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
42
IEEE 802.X STANDARDS
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
43
ETHERNET TECHNOLOGIES MAPPED TO THE
OSI MODEL
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
44
ETHERNET ADDRESSING
 We
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
get into how Ethernet addressing
works. It uses the Media Access Control
(MAC) address burned into each and
every Ethernet Network Interface Card
(NIC).
45
MAC ADDRESS FORMAT
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
46
GENERIC FRAME FORMAT
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
47
IEEE 802.3
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
48
ETHERNET II FRAME FORMAT
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
49
ETHERNET II AND IEEE 802.3 FRAME
FORMAT
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
50
MEDIA ACCESS CONTROL (MAC)
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
51
MAC RULES AND COLLISION
DETECTION/BACKOFF
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
ETHERNET TIMING
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
54
INTERFRAME SPACING
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
55
BACKOFF
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
56
ERROR HANDLING
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
57
TYPES OF COLLISIONS
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
58
THE EFFECTS OF HAVING A CSMA/CD NETWORK
SUSTAINING HEAVY COLLISIONS INCLUDE
Delay
 Low throughput
 Congestion

Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
59
ETHERNET ERRORS
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
60
ETHERNET ERRORS
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
61
FCS ERRORS
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
62
PARAMETERS FOR 10 MBPS
ETHERNET OPERATION
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
63
MANCHESTER ENCODING EXAMPLES
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
64
PARAMETERS FOR 100-MBPS ETHERNET
OPERATION
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
65
MLT-3 ENCODING EXAMPLE (100BASETX)
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
66
NRZI ENCODING EXAMPLES (100BASEFX)
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
67
PARAMETERS FOR GIGABIT
ETHERNET OPERATION
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
68
ACTUAL 1000BASE-T SIGNAL
TRANSMISSION
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
69
GIGABIT ETHERNET LAYERS
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
70
GIGABIT ETHERNET MEDIA COMPARISON
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
71
PARAMETERS FOR 10-GBPS ETHERNET
OPERATION
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
72
10GBASE LX-4 SIGNAL
MULTIPLEXING
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
73
Computer
74
Computer Network by P.It-arun
Engineering Dept, RMUTT.
WIRELESS NETWORKING
BENEFITS OF WLANS
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
75
EVOLUTION OF WIRELESS LANS
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
76
UNLICENSED FREQUENCY BANDS
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
77
WIRELESS TECHNOLOGIES
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
78
DISTANCE VERSUS SPEED
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
79
WIRELESS TECHNOLOGIES
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
80
IN-BUILDING WLANS
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
81
THE IEEE 802 STANDARDS
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
82
IEEE 802.11 PROTOCOLS
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
83
IEEE 802.11 STANDARDS
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
84
Computer
85
Computer Network by P.It-arun
Engineering Dept, RMUTT.
DATA ENCAPSULATION
DATA ENCAPSULATION
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
86
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
87
Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.
88
SUMMARY



Computer Network by P.It-arun
Computer Engineering Dept, RMUTT.

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,
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