SlideShare a Scribd company logo
©Brooks/Cole, 2003
Chapter 6
Computer
Networks
©Brooks/Cole, 2003
Understand the rationale for the existence of networks.Understand the rationale for the existence of networks.
Distinguish between the three types of networks: LANs,Distinguish between the three types of networks: LANs,
MANs, and WANs.MANs, and WANs.
After reading this chapter, the reader shouldAfter reading this chapter, the reader should
be able to:be able to:
OOBJECTIVESBJECTIVES
List different connecting devices and the OSI layers inList different connecting devices and the OSI layers in
which each device operates.which each device operates.
Understand client-server models.Understand client-server models.
Understand the OSI model and TCP/IP.Understand the OSI model and TCP/IP.
©Brooks/Cole, 2003
NETWORKS,NETWORKS,
LARGE AND SMALLLARGE AND SMALL
6.16.1
©Brooks/Cole, 2003
Computer networksComputer networks
 AA computer networkcomputer network is a combinationis a combination
of systems connected throughof systems connected through
transmission media.transmission media.
 Local area network (Local area network (LANLAN))
 Metropolitan (Metropolitan ( 都市的都市的 ) area network) area network
((MANMAN))
 Wide area network (Wide area network (WANWAN))
©Brooks/Cole, 2003
Model and protocolModel and protocol
 AA modelmodel is the specification set by ais the specification set by a
standards organization as astandards organization as a guidelineguideline
for designing networks.for designing networks.
 AA protocolprotocol is a set ofis a set of rulesrules thatthat
controls the interaction of differentcontrols the interaction of different
devices in a network or andevices in a network or an
internetwork.internetwork.
©Brooks/Cole, 2003
OSI MODELOSI MODEL
6.26.2
©Brooks/Cole, 2003
The Open Systems InterconnectionThe Open Systems Interconnection
(OSI) model(OSI) model
is a theoretical model that showsis a theoretical model that shows
how any two different systems canhow any two different systems can
communicatecommunicate with each other.with each other.
Note:Note:
©Brooks/Cole, 2003
Figure 6-1
The OSI model
Figure 6-2
Flow of data in the OSI model
Header
Header
Header
Trailer
©Brooks/Cole, 2003
Seven layers of OSISeven layers of OSI
modelmodel
 Physical layerPhysical layer
 Data-link layerData-link layer
 Network layerNetwork layer
 Transport layerTransport layer
 Session layerSession layer
 Presentation layerPresentation layer
 Application layerApplication layer
©Brooks/Cole, 2003
Physical layerPhysical layer
 The physical layer is responsible forThe physical layer is responsible for
transmitting atransmitting a bit streambit stream over aover a
physical medium.physical medium.
 It encodes and decodes bits intoIt encodes and decodes bits into
groups of bitsgroups of bits..
 It then transforms a stream of bits intoIt then transforms a stream of bits into
aa signalsignal..
©Brooks/Cole, 2003
Data-link layerData-link layer
 The data-link layer organizes bits intoThe data-link layer organizes bits into
logical unitslogical units calledcalled framesframes..
 The data-link layer is responsible onlyThe data-link layer is responsible only
forfor node-to-node deliverynode-to-node delivery of the frame.of the frame.
 The data-link layer is oftenThe data-link layer is often
responsible forresponsible for error handlingerror handling
between two adjacent stationsbetween two adjacent stations..
©Brooks/Cole, 2003
Network layerNetwork layer
 The network layer is responsible forThe network layer is responsible for
delivery of adelivery of a packetpacket between thebetween the
original source and final destination.original source and final destination.
 UsingUsing logical addresses (IPlogical addresses (IP
addresses)addresses) instead of physicalinstead of physical
addresses.addresses.
 Example of IP addressExample of IP address
 140.122.76.121 (4 Bytes)140.122.76.121 (4 Bytes)
©Brooks/Cole, 2003
Transport layerTransport layer
 The transport layer is responsible forThe transport layer is responsible for
source-to-destination delivery of thesource-to-destination delivery of the entireentire
messagemessage..
 The transport layer is responsible forThe transport layer is responsible for
breaking thebreaking the entire messageentire message intointo severalseveral
packetspackets and delivery them to the networkand delivery them to the network
layer.layer.
 The transport layer is responsible forThe transport layer is responsible for
ensuring that the whole message isensuring that the whole message is
transmitted.transmitted.
 If packets arriveIf packets arrive out of orderout of order, they must be, they must be
reorganized.reorganized.
©Brooks/Cole, 2003
Session layerSession layer
 The session layer is designed to control theThe session layer is designed to control the
dialogdialog between users.between users.
 TheThe synchronization (synchronization ( 同步的同步的 ) points) points
divides a long message into smaller onesdivides a long message into smaller ones
and ensure that each section is receivedand ensure that each section is received
and acknowledged by the receiver.and acknowledged by the receiver.
 Most network implementationsMost network implementations todaytoday dodo notnot
use a separate session layer, their servicesuse a separate session layer, their services
are usually included in theare usually included in the applicationapplication layer.layer.
©Brooks/Cole, 2003
Presentation layerPresentation layer
 The presentation layer is concerned withThe presentation layer is concerned with
the syntax and semantics of thethe syntax and semantics of the informationinformation
exchangedexchanged between two systems.between two systems.
 It deals with the fact that different systemsIt deals with the fact that different systems
useuse different coding methodsdifferent coding methods..
 Compress (Compress ( 壓縮壓縮 ) and decompress () and decompress ( 解壓縮解壓縮 ))
datadata
 Encrypt (Encrypt ( 加密加密 ) and decrypt () and decrypt ( 解密解密 ) data) data
 Most implementations doMost implementations do notnot use ause a
presentation layerpresentation layer today,today, their services aretheir services are
usually included in other layer.usually included in other layer.
©Brooks/Cole, 2003
Application layerApplication layer
 The application layer enables theThe application layer enables the useruser
to access the network.to access the network.
 It definesIt defines common applicationscommon applications thatthat
can be implemented to make the jobcan be implemented to make the job
of the userof the user simplersimpler..
 Will be discussed later…Will be discussed later…
©Brooks/Cole, 2003
CATEGORIESCATEGORIES
OFOF
NETWORKSNETWORKS
6.36.3
©Brooks/Cole, 2003
Figure 6-3
Categories of networks
©Brooks/Cole, 2003
Figure 6-4
LANs
©Brooks/Cole, 2003
Local area networkLocal area network
 Bus topologyBus topology
 When a station sends a frame to anotherWhen a station sends a frame to another
computer,computer, allall computer receiver the framecomputer receiver the frame
and check its destination address.and check its destination address.
 Star topologyStar topology
 Hub (all, like a bus) v.s. switch (one)Hub (all, like a bus) v.s. switch (one)
 Ring topologyRing topology
 When a computer needs to send a frame toWhen a computer needs to send a frame to
another computer, it sends it to itsanother computer, it sends it to its neighborneighbor..
©Brooks/Cole, 2003
Figure 6-5
MAN
Figure 6-6
WAN
©Brooks/Cole, 2003
Wide area networkWide area network
 WAN is the connection of individualWAN is the connection of individual
computers or LANs over acomputers or LANs over a large arealarge area..
 A person using a telephone line toA person using a telephone line to
connect to an ISP is using a WAN.connect to an ISP is using a WAN.
 ISP: internet service providerISP: internet service provider
©Brooks/Cole, 2003
CONNECTINGCONNECTING
DEVICESDEVICES
6.46.4
©Brooks/Cole, 2003
Figure 6-7
Connecting devices
©Brooks/Cole, 2003
Figure 6-8
Repeater
 A repeater is an electronic device and operateA repeater is an electronic device and operate
only in theonly in the physical layerphysical layer of theof the OSIOSI model.model.
 A repeater canA repeater can regenerateregenerate the signal andthe signal and sendsend
it to the rest of the network.it to the rest of the network.
©Brooks/Cole, 2003
Repeaters operate at the first layerRepeaters operate at the first layer
(physical layer) of the(physical layer) of the
OSI model.OSI model.
Note:Note:
©Brooks/Cole, 2003
Figure 6-9
Bridge
©Brooks/Cole, 2003
BridgesBridges
 In bus topology, a bridge is a trafficIn bus topology, a bridge is a traffic
controller.controller.
 It can divide a long bus into smallerIt can divide a long bus into smaller
segments so that eachsegments so that each segmentsegment isis
independentindependent trafficwise.trafficwise.
 The bridge uses aThe bridge uses a tabletable to decide if theto decide if the
frame needs to be forwarded to anotherframe needs to be forwarded to another
segment.segment.
 With a bridge,With a bridge, two or more pairstwo or more pairs of stationsof stations
cancan communicate at the same timecommunicate at the same time..
©Brooks/Cole, 2003
Bridges operate at the first twoBridges operate at the first two
layerslayers
(physical layer and data-link layer)(physical layer and data-link layer)
of the OSI model.of the OSI model.
Note:Note:
©Brooks/Cole, 2003
Figure 6-10
Switch—one kind of dynamic bridge
©Brooks/Cole, 2003
Figure 6-11
Routers in an internet
©Brooks/Cole, 2003
Routers operate at the first threeRouters operate at the first three
layerslayers
(physical, data-link, and network(physical, data-link, and network
layer)layer)
of the OSI model.of the OSI model.
Note:Note:
©Brooks/Cole, 2003
RoutersRouters
 Whereas aWhereas a bridgebridge filters a frame basedfilters a frame based
on theon the physicalphysical address of the frame, aaddress of the frame, a
routerrouter routes a packet based on theroutes a packet based on the
logicallogical address of the packet.address of the packet.
 Whereas aWhereas a bridgebridge may connectmay connect twotwo
segments of a LANsegments of a LAN, a, a routerrouter can connectcan connect
two independent networkstwo independent networks..
©Brooks/Cole, 2003
GatewaysGateways
 AA gatewaygateway is a connecting device thatis a connecting device that
acts as a protocol converter.acts as a protocol converter.
 A gateway is usually a computerA gateway is usually a computer installedinstalled
with the necessary software.with the necessary software.
 Today the termToday the term gatewaygateway is usedis used
interchangeably with the terminterchangeably with the term routerrouter. The. The
distinction between the two terms isdistinction between the two terms is
disappearing.disappearing.
©Brooks/Cole, 2003
Figure 6-12
Connecting devices and the OSI model
©Brooks/Cole, 2003
THE INTERNETTHE INTERNET
ANDAND
TCP/IPTCP/IP
6.56.5
©Brooks/Cole, 2003
ProtocolsProtocols
 TCPTCP: Transmission control protocol: Transmission control protocol
 UDPUDP: User datagram protocol: User datagram protocol
 IPIP: Internet protocol: Internet protocol
 FTPFTP: File transfer protocol: File transfer protocol
 SMTPSMTP: Simple mail transfer protocol: Simple mail transfer protocol
 POP:POP: Post office protocolPost office protocol
 HTTPHTTP: Hypertext transfer protocol: Hypertext transfer protocol
Figure 6-13
TCP/IP and OSI model
©Brooks/Cole, 2003
Figure 6-14
IP addresses in dotted-decimal notation
Network layerNetwork layer
©Brooks/Cole, 2003
Figure 6-15
Client-server model
Application layerApplication layer
©Brooks/Cole, 2003
Client-server modelClient-server model
 Client:Client: an application program running onan application program running on
a local machinea local machine
 Server:Server: an application program runningan application program running
on a remote machineon a remote machine
 A client requests a service from a server.A client requests a service from a server.
 The server program is always running,The server program is always running,
and the client program runs only whenand the client program runs only when
needed.needed.
©Brooks/Cole, 2003
Figure 6-16
FTP
FTP ---- Client-server modelClient-server model
©Brooks/Cole, 2003
FTP --FTP -- Client-server modelClient-server model
 FTP was designed to resolve twoFTP was designed to resolve two
problems:problems:
 Different coding systems in useDifferent coding systems in use
 One machine may use ASCII, and other may useOne machine may use ASCII, and other may use
UnicodeUnicode
 Different file formats in useDifferent file formats in use
©Brooks/Cole, 2003
Figure 6-17
SMTP/POP
SMTP ---- Client-serverClient-server
modelmodel
©Brooks/Cole, 2003
Figure 6-18
Email address
violet@ice.ntnu.edu.tw
©Brooks/Cole, 2003
Figure 6-19
TELNET-- a general client-server modela general client-server model
 Local login v.s. remote loginLocal login v.s. remote login
 TELNET is a general client-server program onTELNET is a general client-server program on
the Internet that allow remote loginthe Internet that allow remote login
©Brooks/Cole, 2003
Figure 6-20
URL
http://www.ice.ntnu.edu.tw/~violet
ftp://140.122.77.121
HTTPHTTP
 URL: Uniform resource locatorURL: Uniform resource locator
 A special kind of addressing using by HTTPA special kind of addressing using by HTTP
©Brooks/Cole, 2003
WWWWWW
 WWW: World wide webWWW: World wide web
 Hypertext: home pageHypertext: home page
 BrowserBrowser
 Document TypesDocument Types
 Static documentsStatic documents
 Dynamic documentsDynamic documents
 Active documentsActive documents
©Brooks/Cole, 2003
Figure 6-21
Browser
©Brooks/Cole, 2003
Figure 6-22
Categories of Web documents
 Static documentsStatic documents
 HTML: Hypertext Markup LanguageHTML: Hypertext Markup Language
 Dynamic documentsDynamic documents
 CGI: Common Gateway Interface (Perl)CGI: Common Gateway Interface (Perl)
 Active documentsActive documents
 Java languageJava language
©Brooks/Cole, 2003
Key termsKey terms
 Active documentActive document
 Application layerApplication layer
 BridgeBridge
 BrowserBrowser
 Bus topologyBus topology
 ClientClient
 Client-server modelClient-server model
 Computer networkComputer network
 Connecting devicesConnecting devices
 Data-link layerData-link layer
 Dotted-decimal notationDotted-decimal notation
 Dynamic documentDynamic document
 EmailEmail
 HTMLHTML
 HTTPHTTP
 InternetInternet
 Internet addressInternet address
 InternetworkInternetwork
 Internet protocol (IP)Internet protocol (IP)
 IP addressIP address
 LANLAN
 Lical loginLical login
 MANMAN
 ModelModel
 Network layerNetwork layer
©Brooks/Cole, 2003
 NodeNode
 Node-to-node deliveryNode-to-node delivery
 OSIOSI
 Physical addressPhysical address
 Physical layerPhysical layer
 Presentation layerPresentation layer
 ProtocolProtocol
 Remote loginRemote login
 RepeaterRepeater
 Ring topologyRing topology
 RouterRouter
 SegmentSegment
 ServerServer
 Session layerSession layer
 SMTPSMTP
 Source-to-destination deliverySource-to-destination delivery
 Star topologyStar topology
 Static documentStatic document
 SwitchSwitch
 Synchronization pointSynchronization point
 TELNETTELNET
 TopologyTopology
 TrailerTrailer
 TCPTCP
 TCP/IPTCP/IP
 Transport layerTransport layer
 URLURL
 UDPUDP
 WebWeb
 WANWAN
 WWWWWW

More Related Content

What's hot

Tcp ip
Tcp ipTcp ip
Tcp ip
Dhani Ahmad
 
Ccna Presentation
Ccna PresentationCcna Presentation
Ccna Presentationbcdran
 
OSI Network model ppt
OSI Network model pptOSI Network model ppt
OSI Network model pptextraganesh
 
Tcp IP Model
Tcp IP ModelTcp IP Model
Tcp IP Model
Ankur Kumar
 
Token ring
Token ringToken ring
Token ring
SarmadSindhi2
 
Osi model
Osi modelOsi model
Osi model
dhawal mehta
 
CCNA v6.0 ITN - Chapter 02
CCNA v6.0 ITN - Chapter 02CCNA v6.0 ITN - Chapter 02
CCNA v6.0 ITN - Chapter 02
Irsandi Hasan
 
iso osi model
 iso osi model iso osi model
iso osi model
vishnu1204
 
Presentation on TCP/IP Model
Presentation on TCP/IP ModelPresentation on TCP/IP Model
Presentation on TCP/IP Model
Abir Junayed
 
Data Link Layer
Data Link LayerData Link Layer
Data Link Layer
Sachii Dosti
 
CCCNA R&S-02-The TCP-IP and OSI Networking Models
CCCNA R&S-02-The TCP-IP and OSI Networking ModelsCCCNA R&S-02-The TCP-IP and OSI Networking Models
CCCNA R&S-02-The TCP-IP and OSI Networking Models
Amir Jafari
 
Data Link Layer
Data Link LayerData Link Layer
Data Link Layer
Rutwik Jadhav
 
Ccna(routing &and switching)
Ccna(routing &and switching)Ccna(routing &and switching)
Ccna(routing &and switching)
Shweta Kumari
 
Logical addressing
Logical  addressingLogical  addressing
Logical addressing
Avinash Gautam
 
QOS (Quality of Services) - Computer Networks
 QOS (Quality of Services) - Computer Networks QOS (Quality of Services) - Computer Networks
QOS (Quality of Services) - Computer Networks
IIIT Manipur
 
Capa de red
Capa de redCapa de red
Capa de red
flakita_champi
 
Overview of Spanning Tree Protocol
Overview of Spanning Tree ProtocolOverview of Spanning Tree Protocol
Overview of Spanning Tree Protocol
Arash Foroughi
 
Osi reference model
Osi reference modelOsi reference model

What's hot (20)

Tcp ip
Tcp ipTcp ip
Tcp ip
 
Ccna Presentation
Ccna PresentationCcna Presentation
Ccna Presentation
 
OSI Network model ppt
OSI Network model pptOSI Network model ppt
OSI Network model ppt
 
Tcp IP Model
Tcp IP ModelTcp IP Model
Tcp IP Model
 
Token ring
Token ringToken ring
Token ring
 
Osi model
Osi modelOsi model
Osi model
 
CCNA v6.0 ITN - Chapter 02
CCNA v6.0 ITN - Chapter 02CCNA v6.0 ITN - Chapter 02
CCNA v6.0 ITN - Chapter 02
 
iso osi model
 iso osi model iso osi model
iso osi model
 
introduction about TCP/IP
introduction about TCP/IPintroduction about TCP/IP
introduction about TCP/IP
 
Presentation on TCP/IP Model
Presentation on TCP/IP ModelPresentation on TCP/IP Model
Presentation on TCP/IP Model
 
Data Link Layer
Data Link LayerData Link Layer
Data Link Layer
 
CCCNA R&S-02-The TCP-IP and OSI Networking Models
CCCNA R&S-02-The TCP-IP and OSI Networking ModelsCCCNA R&S-02-The TCP-IP and OSI Networking Models
CCCNA R&S-02-The TCP-IP and OSI Networking Models
 
Data Link Layer
Data Link LayerData Link Layer
Data Link Layer
 
Wan technology
Wan technologyWan technology
Wan technology
 
Ccna(routing &and switching)
Ccna(routing &and switching)Ccna(routing &and switching)
Ccna(routing &and switching)
 
Logical addressing
Logical  addressingLogical  addressing
Logical addressing
 
QOS (Quality of Services) - Computer Networks
 QOS (Quality of Services) - Computer Networks QOS (Quality of Services) - Computer Networks
QOS (Quality of Services) - Computer Networks
 
Capa de red
Capa de redCapa de red
Capa de red
 
Overview of Spanning Tree Protocol
Overview of Spanning Tree ProtocolOverview of Spanning Tree Protocol
Overview of Spanning Tree Protocol
 
Osi reference model
Osi reference modelOsi reference model
Osi reference model
 

Viewers also liked

Milind Mishra OSI model
Milind Mishra OSI modelMilind Mishra OSI model
Milind Mishra OSI model
Milind Mishra
 
OSI Model (Data Communication) DC3
OSI Model (Data Communication) DC3OSI Model (Data Communication) DC3
OSI Model (Data Communication) DC3koolkampus
 
Osi Layer model provided by TopTechy.com
Osi Layer model provided by TopTechy.comOsi Layer model provided by TopTechy.com
Osi Layer model provided by TopTechy.com
Vicky Kamboj
 
OSI MODEL - A PROJECT
OSI MODEL - A PROJECTOSI MODEL - A PROJECT
OSI MODEL - A PROJECT
Abhi shreshtha
 
OSI Model of Networking
OSI Model of NetworkingOSI Model of Networking
OSI Model of Networking
Mukesh Tekwani
 
OSI Model
OSI ModelOSI Model
OSI Model
Rahul Bandhe
 
The Considerations for Internet of Things @ 2017
The Considerations for Internet of Things @ 2017The Considerations for Internet of Things @ 2017
The Considerations for Internet of Things @ 2017
Jian-Hong Pan
 
Networking Chapter 16
Networking Chapter 16Networking Chapter 16
Networking Chapter 16mlrbrown
 
Osi model
Osi modelOsi model
Wierless networks ch3 (1)
Wierless networks ch3 (1)Wierless networks ch3 (1)
Wierless networks ch3 (1)bheemsain
 
HTML CSS | Computer Science
HTML CSS | Computer ScienceHTML CSS | Computer Science
HTML CSS | Computer Science
Transweb Global Inc
 
Osi model(open system interconnection)
Osi model(open system interconnection)Osi model(open system interconnection)
Osi model(open system interconnection)Dipu Thomas joy
 
006 Osi Model
006 Osi Model006 Osi Model
006 Osi ModelBELKA08
 
OSI Model | Computer Science
OSI Model | Computer ScienceOSI Model | Computer Science
OSI Model | Computer Science
Transweb Global Inc
 
THE COMPLETE OSI MODEL
THE COMPLETE OSI MODEL THE COMPLETE OSI MODEL
THE COMPLETE OSI MODEL
AMIT GUPTA
 
Physical Layer of ISO-OSI model and Devices
Physical Layer of ISO-OSI model and DevicesPhysical Layer of ISO-OSI model and Devices
Physical Layer of ISO-OSI model and Devices
Shahid Khan
 
Network Management Security NS8
Network Management Security NS8Network Management Security NS8
Network Management Security NS8koolkampus
 
Communication system ppt
Communication system pptCommunication system ppt
Communication system pptmaiitkota
 

Viewers also liked (20)

Milind Mishra OSI model
Milind Mishra OSI modelMilind Mishra OSI model
Milind Mishra OSI model
 
OSI Model (Data Communication) DC3
OSI Model (Data Communication) DC3OSI Model (Data Communication) DC3
OSI Model (Data Communication) DC3
 
Osi Layer model provided by TopTechy.com
Osi Layer model provided by TopTechy.comOsi Layer model provided by TopTechy.com
Osi Layer model provided by TopTechy.com
 
OSI MODEL - A PROJECT
OSI MODEL - A PROJECTOSI MODEL - A PROJECT
OSI MODEL - A PROJECT
 
Osi model
Osi modelOsi model
Osi model
 
OSI Model of Networking
OSI Model of NetworkingOSI Model of Networking
OSI Model of Networking
 
OSI Model
OSI ModelOSI Model
OSI Model
 
The Considerations for Internet of Things @ 2017
The Considerations for Internet of Things @ 2017The Considerations for Internet of Things @ 2017
The Considerations for Internet of Things @ 2017
 
Networking Chapter 16
Networking Chapter 16Networking Chapter 16
Networking Chapter 16
 
Osi model
Osi modelOsi model
Osi model
 
Chapter2
Chapter2Chapter2
Chapter2
 
Wierless networks ch3 (1)
Wierless networks ch3 (1)Wierless networks ch3 (1)
Wierless networks ch3 (1)
 
HTML CSS | Computer Science
HTML CSS | Computer ScienceHTML CSS | Computer Science
HTML CSS | Computer Science
 
Osi model(open system interconnection)
Osi model(open system interconnection)Osi model(open system interconnection)
Osi model(open system interconnection)
 
006 Osi Model
006 Osi Model006 Osi Model
006 Osi Model
 
OSI Model | Computer Science
OSI Model | Computer ScienceOSI Model | Computer Science
OSI Model | Computer Science
 
THE COMPLETE OSI MODEL
THE COMPLETE OSI MODEL THE COMPLETE OSI MODEL
THE COMPLETE OSI MODEL
 
Physical Layer of ISO-OSI model and Devices
Physical Layer of ISO-OSI model and DevicesPhysical Layer of ISO-OSI model and Devices
Physical Layer of ISO-OSI model and Devices
 
Network Management Security NS8
Network Management Security NS8Network Management Security NS8
Network Management Security NS8
 
Communication system ppt
Communication system pptCommunication system ppt
Communication system ppt
 

Similar to The OSI model and TCP/IP

Chapter 4
Chapter 4Chapter 4
Chapter 4asguna
 
Chapter 2. vantage understanding sensor placement in networks
Chapter 2. vantage  understanding sensor placement in networksChapter 2. vantage  understanding sensor placement in networks
Chapter 2. vantage understanding sensor placement in networks
Phu Nguyen
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
Aiman Hud
 
C C N A Day1
C C N A  Day1C C N A  Day1
C C N A Day1
darulquthni
 
CN Module 1 ppt final 20.08.2020.ppt
CN Module 1 ppt final 20.08.2020.pptCN Module 1 ppt final 20.08.2020.ppt
CN Module 1 ppt final 20.08.2020.ppt
deeplearning6
 
Networking Basics
Networking BasicsNetworking Basics
Networking Basics
Carlo Fonda
 
OSI and TCPIP Model
OSI and TCPIP ModelOSI and TCPIP Model
OSI and TCPIP Model
Tapan Khilar
 
Network Models.pptx
Network  Models.pptxNetwork  Models.pptx
Network Models.pptx
AhmadAbba6
 
Ccna notes
Ccna notesCcna notes
Ccna notes
Dreams Design
 
CCNA CHAPTER 1 BY jetarvind kumar madhukar
CCNA CHAPTER 1 BY jetarvind kumar madhukarCCNA CHAPTER 1 BY jetarvind kumar madhukar
CCNA CHAPTER 1 BY jetarvind kumar madhukar
ALLCAD Services Pvt Limited
 
CCNA CHAPTER 1 BY jetarvind kumar madhukar
CCNA CHAPTER 1 BY jetarvind kumar madhukarCCNA CHAPTER 1 BY jetarvind kumar madhukar
CCNA CHAPTER 1 BY jetarvind kumar madhukar
ALLCAD Services Pvt Limited
 
OSI and TCP/IP reference models in networking
OSI and TCP/IP reference models in networkingOSI and TCP/IP reference models in networking
OSI and TCP/IP reference models in networking
MeenakshiGupta233101
 
Osi Model Lambert K
Osi Model Lambert KOsi Model Lambert K
Osi Model Lambert K
Home
 

Similar to The OSI model and TCP/IP (20)

Chapter 4
Chapter 4Chapter 4
Chapter 4
 
Chapter 2. vantage understanding sensor placement in networks
Chapter 2. vantage  understanding sensor placement in networksChapter 2. vantage  understanding sensor placement in networks
Chapter 2. vantage understanding sensor placement in networks
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
 
Osi(1)
Osi(1)Osi(1)
Osi(1)
 
Ccna day1
Ccna day1Ccna day1
Ccna day1
 
Ccna day1
Ccna day1Ccna day1
Ccna day1
 
C C N A Day1
C C N A  Day1C C N A  Day1
C C N A Day1
 
Ccna day1
Ccna day1Ccna day1
Ccna day1
 
CN Module 1 ppt final 20.08.2020.ppt
CN Module 1 ppt final 20.08.2020.pptCN Module 1 ppt final 20.08.2020.ppt
CN Module 1 ppt final 20.08.2020.ppt
 
Osi model
Osi modelOsi model
Osi model
 
Networking Basics
Networking BasicsNetworking Basics
Networking Basics
 
Ccna notes
Ccna notesCcna notes
Ccna notes
 
OSI and TCPIP Model
OSI and TCPIP ModelOSI and TCPIP Model
OSI and TCPIP Model
 
Network Models.pptx
Network  Models.pptxNetwork  Models.pptx
Network Models.pptx
 
Ccna notes
Ccna notesCcna notes
Ccna notes
 
CCNA CHAPTER 1 BY jetarvind kumar madhukar
CCNA CHAPTER 1 BY jetarvind kumar madhukarCCNA CHAPTER 1 BY jetarvind kumar madhukar
CCNA CHAPTER 1 BY jetarvind kumar madhukar
 
CCNA CHAPTER 1 BY jetarvind kumar madhukar
CCNA CHAPTER 1 BY jetarvind kumar madhukarCCNA CHAPTER 1 BY jetarvind kumar madhukar
CCNA CHAPTER 1 BY jetarvind kumar madhukar
 
OSI and TCP/IP reference models in networking
OSI and TCP/IP reference models in networkingOSI and TCP/IP reference models in networking
OSI and TCP/IP reference models in networking
 
Ccna notes
Ccna notesCcna notes
Ccna notes
 
Osi Model Lambert K
Osi Model Lambert KOsi Model Lambert K
Osi Model Lambert K
 

More from Yohniki Gordon

Carbon cycle
Carbon cycleCarbon cycle
Carbon cycle
Yohniki Gordon
 
Memory
MemoryMemory
Stages of Development
Stages of DevelopmentStages of Development
Stages of Development
Yohniki Gordon
 
TCP/IP Protocal Suite
TCP/IP Protocal SuiteTCP/IP Protocal Suite
TCP/IP Protocal Suite
Yohniki Gordon
 
The OSI model
The OSI modelThe OSI model
The OSI model
Yohniki Gordon
 
Psychology Presentation
Psychology PresentationPsychology Presentation
Psychology Presentation
Yohniki Gordon
 
Optical Storage
Optical StorageOptical Storage
Optical Storage
Yohniki Gordon
 

More from Yohniki Gordon (7)

Carbon cycle
Carbon cycleCarbon cycle
Carbon cycle
 
Memory
MemoryMemory
Memory
 
Stages of Development
Stages of DevelopmentStages of Development
Stages of Development
 
TCP/IP Protocal Suite
TCP/IP Protocal SuiteTCP/IP Protocal Suite
TCP/IP Protocal Suite
 
The OSI model
The OSI modelThe OSI model
The OSI model
 
Psychology Presentation
Psychology PresentationPsychology Presentation
Psychology Presentation
 
Optical Storage
Optical StorageOptical Storage
Optical Storage
 

Recently uploaded

Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
goswamiyash170123
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
Bisnar Chase Personal Injury Attorneys
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Delivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and TrainingDelivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and Training
AG2 Design
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
Krisztián Száraz
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
Wasim Ak
 

Recently uploaded (20)

Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Delivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and TrainingDelivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and Training
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
 

The OSI model and TCP/IP

  • 2. ©Brooks/Cole, 2003 Understand the rationale for the existence of networks.Understand the rationale for the existence of networks. Distinguish between the three types of networks: LANs,Distinguish between the three types of networks: LANs, MANs, and WANs.MANs, and WANs. After reading this chapter, the reader shouldAfter reading this chapter, the reader should be able to:be able to: OOBJECTIVESBJECTIVES List different connecting devices and the OSI layers inList different connecting devices and the OSI layers in which each device operates.which each device operates. Understand client-server models.Understand client-server models. Understand the OSI model and TCP/IP.Understand the OSI model and TCP/IP.
  • 4. ©Brooks/Cole, 2003 Computer networksComputer networks  AA computer networkcomputer network is a combinationis a combination of systems connected throughof systems connected through transmission media.transmission media.  Local area network (Local area network (LANLAN))  Metropolitan (Metropolitan ( 都市的都市的 ) area network) area network ((MANMAN))  Wide area network (Wide area network (WANWAN))
  • 5. ©Brooks/Cole, 2003 Model and protocolModel and protocol  AA modelmodel is the specification set by ais the specification set by a standards organization as astandards organization as a guidelineguideline for designing networks.for designing networks.  AA protocolprotocol is a set ofis a set of rulesrules thatthat controls the interaction of differentcontrols the interaction of different devices in a network or andevices in a network or an internetwork.internetwork.
  • 7. ©Brooks/Cole, 2003 The Open Systems InterconnectionThe Open Systems Interconnection (OSI) model(OSI) model is a theoretical model that showsis a theoretical model that shows how any two different systems canhow any two different systems can communicatecommunicate with each other.with each other. Note:Note:
  • 9. Figure 6-2 Flow of data in the OSI model Header Header Header Trailer
  • 10. ©Brooks/Cole, 2003 Seven layers of OSISeven layers of OSI modelmodel  Physical layerPhysical layer  Data-link layerData-link layer  Network layerNetwork layer  Transport layerTransport layer  Session layerSession layer  Presentation layerPresentation layer  Application layerApplication layer
  • 11. ©Brooks/Cole, 2003 Physical layerPhysical layer  The physical layer is responsible forThe physical layer is responsible for transmitting atransmitting a bit streambit stream over aover a physical medium.physical medium.  It encodes and decodes bits intoIt encodes and decodes bits into groups of bitsgroups of bits..  It then transforms a stream of bits intoIt then transforms a stream of bits into aa signalsignal..
  • 12. ©Brooks/Cole, 2003 Data-link layerData-link layer  The data-link layer organizes bits intoThe data-link layer organizes bits into logical unitslogical units calledcalled framesframes..  The data-link layer is responsible onlyThe data-link layer is responsible only forfor node-to-node deliverynode-to-node delivery of the frame.of the frame.  The data-link layer is oftenThe data-link layer is often responsible forresponsible for error handlingerror handling between two adjacent stationsbetween two adjacent stations..
  • 13. ©Brooks/Cole, 2003 Network layerNetwork layer  The network layer is responsible forThe network layer is responsible for delivery of adelivery of a packetpacket between thebetween the original source and final destination.original source and final destination.  UsingUsing logical addresses (IPlogical addresses (IP addresses)addresses) instead of physicalinstead of physical addresses.addresses.  Example of IP addressExample of IP address  140.122.76.121 (4 Bytes)140.122.76.121 (4 Bytes)
  • 14. ©Brooks/Cole, 2003 Transport layerTransport layer  The transport layer is responsible forThe transport layer is responsible for source-to-destination delivery of thesource-to-destination delivery of the entireentire messagemessage..  The transport layer is responsible forThe transport layer is responsible for breaking thebreaking the entire messageentire message intointo severalseveral packetspackets and delivery them to the networkand delivery them to the network layer.layer.  The transport layer is responsible forThe transport layer is responsible for ensuring that the whole message isensuring that the whole message is transmitted.transmitted.  If packets arriveIf packets arrive out of orderout of order, they must be, they must be reorganized.reorganized.
  • 15. ©Brooks/Cole, 2003 Session layerSession layer  The session layer is designed to control theThe session layer is designed to control the dialogdialog between users.between users.  TheThe synchronization (synchronization ( 同步的同步的 ) points) points divides a long message into smaller onesdivides a long message into smaller ones and ensure that each section is receivedand ensure that each section is received and acknowledged by the receiver.and acknowledged by the receiver.  Most network implementationsMost network implementations todaytoday dodo notnot use a separate session layer, their servicesuse a separate session layer, their services are usually included in theare usually included in the applicationapplication layer.layer.
  • 16. ©Brooks/Cole, 2003 Presentation layerPresentation layer  The presentation layer is concerned withThe presentation layer is concerned with the syntax and semantics of thethe syntax and semantics of the informationinformation exchangedexchanged between two systems.between two systems.  It deals with the fact that different systemsIt deals with the fact that different systems useuse different coding methodsdifferent coding methods..  Compress (Compress ( 壓縮壓縮 ) and decompress () and decompress ( 解壓縮解壓縮 )) datadata  Encrypt (Encrypt ( 加密加密 ) and decrypt () and decrypt ( 解密解密 ) data) data  Most implementations doMost implementations do notnot use ause a presentation layerpresentation layer today,today, their services aretheir services are usually included in other layer.usually included in other layer.
  • 17. ©Brooks/Cole, 2003 Application layerApplication layer  The application layer enables theThe application layer enables the useruser to access the network.to access the network.  It definesIt defines common applicationscommon applications thatthat can be implemented to make the jobcan be implemented to make the job of the userof the user simplersimpler..  Will be discussed later…Will be discussed later…
  • 21. ©Brooks/Cole, 2003 Local area networkLocal area network  Bus topologyBus topology  When a station sends a frame to anotherWhen a station sends a frame to another computer,computer, allall computer receiver the framecomputer receiver the frame and check its destination address.and check its destination address.  Star topologyStar topology  Hub (all, like a bus) v.s. switch (one)Hub (all, like a bus) v.s. switch (one)  Ring topologyRing topology  When a computer needs to send a frame toWhen a computer needs to send a frame to another computer, it sends it to itsanother computer, it sends it to its neighborneighbor..
  • 24. ©Brooks/Cole, 2003 Wide area networkWide area network  WAN is the connection of individualWAN is the connection of individual computers or LANs over acomputers or LANs over a large arealarge area..  A person using a telephone line toA person using a telephone line to connect to an ISP is using a WAN.connect to an ISP is using a WAN.  ISP: internet service providerISP: internet service provider
  • 27. ©Brooks/Cole, 2003 Figure 6-8 Repeater  A repeater is an electronic device and operateA repeater is an electronic device and operate only in theonly in the physical layerphysical layer of theof the OSIOSI model.model.  A repeater canA repeater can regenerateregenerate the signal andthe signal and sendsend it to the rest of the network.it to the rest of the network.
  • 28. ©Brooks/Cole, 2003 Repeaters operate at the first layerRepeaters operate at the first layer (physical layer) of the(physical layer) of the OSI model.OSI model. Note:Note:
  • 30. ©Brooks/Cole, 2003 BridgesBridges  In bus topology, a bridge is a trafficIn bus topology, a bridge is a traffic controller.controller.  It can divide a long bus into smallerIt can divide a long bus into smaller segments so that eachsegments so that each segmentsegment isis independentindependent trafficwise.trafficwise.  The bridge uses aThe bridge uses a tabletable to decide if theto decide if the frame needs to be forwarded to anotherframe needs to be forwarded to another segment.segment.  With a bridge,With a bridge, two or more pairstwo or more pairs of stationsof stations cancan communicate at the same timecommunicate at the same time..
  • 31. ©Brooks/Cole, 2003 Bridges operate at the first twoBridges operate at the first two layerslayers (physical layer and data-link layer)(physical layer and data-link layer) of the OSI model.of the OSI model. Note:Note:
  • 34. ©Brooks/Cole, 2003 Routers operate at the first threeRouters operate at the first three layerslayers (physical, data-link, and network(physical, data-link, and network layer)layer) of the OSI model.of the OSI model. Note:Note:
  • 35. ©Brooks/Cole, 2003 RoutersRouters  Whereas aWhereas a bridgebridge filters a frame basedfilters a frame based on theon the physicalphysical address of the frame, aaddress of the frame, a routerrouter routes a packet based on theroutes a packet based on the logicallogical address of the packet.address of the packet.  Whereas aWhereas a bridgebridge may connectmay connect twotwo segments of a LANsegments of a LAN, a, a routerrouter can connectcan connect two independent networkstwo independent networks..
  • 36. ©Brooks/Cole, 2003 GatewaysGateways  AA gatewaygateway is a connecting device thatis a connecting device that acts as a protocol converter.acts as a protocol converter.  A gateway is usually a computerA gateway is usually a computer installedinstalled with the necessary software.with the necessary software.  Today the termToday the term gatewaygateway is usedis used interchangeably with the terminterchangeably with the term routerrouter. The. The distinction between the two terms isdistinction between the two terms is disappearing.disappearing.
  • 37. ©Brooks/Cole, 2003 Figure 6-12 Connecting devices and the OSI model
  • 38. ©Brooks/Cole, 2003 THE INTERNETTHE INTERNET ANDAND TCP/IPTCP/IP 6.56.5
  • 39. ©Brooks/Cole, 2003 ProtocolsProtocols  TCPTCP: Transmission control protocol: Transmission control protocol  UDPUDP: User datagram protocol: User datagram protocol  IPIP: Internet protocol: Internet protocol  FTPFTP: File transfer protocol: File transfer protocol  SMTPSMTP: Simple mail transfer protocol: Simple mail transfer protocol  POP:POP: Post office protocolPost office protocol  HTTPHTTP: Hypertext transfer protocol: Hypertext transfer protocol
  • 41. ©Brooks/Cole, 2003 Figure 6-14 IP addresses in dotted-decimal notation Network layerNetwork layer
  • 42. ©Brooks/Cole, 2003 Figure 6-15 Client-server model Application layerApplication layer
  • 43. ©Brooks/Cole, 2003 Client-server modelClient-server model  Client:Client: an application program running onan application program running on a local machinea local machine  Server:Server: an application program runningan application program running on a remote machineon a remote machine  A client requests a service from a server.A client requests a service from a server.  The server program is always running,The server program is always running, and the client program runs only whenand the client program runs only when needed.needed.
  • 44. ©Brooks/Cole, 2003 Figure 6-16 FTP FTP ---- Client-server modelClient-server model
  • 45. ©Brooks/Cole, 2003 FTP --FTP -- Client-server modelClient-server model  FTP was designed to resolve twoFTP was designed to resolve two problems:problems:  Different coding systems in useDifferent coding systems in use  One machine may use ASCII, and other may useOne machine may use ASCII, and other may use UnicodeUnicode  Different file formats in useDifferent file formats in use
  • 46. ©Brooks/Cole, 2003 Figure 6-17 SMTP/POP SMTP ---- Client-serverClient-server modelmodel
  • 47. ©Brooks/Cole, 2003 Figure 6-18 Email address violet@ice.ntnu.edu.tw
  • 48. ©Brooks/Cole, 2003 Figure 6-19 TELNET-- a general client-server modela general client-server model  Local login v.s. remote loginLocal login v.s. remote login  TELNET is a general client-server program onTELNET is a general client-server program on the Internet that allow remote loginthe Internet that allow remote login
  • 49. ©Brooks/Cole, 2003 Figure 6-20 URL http://www.ice.ntnu.edu.tw/~violet ftp://140.122.77.121 HTTPHTTP  URL: Uniform resource locatorURL: Uniform resource locator  A special kind of addressing using by HTTPA special kind of addressing using by HTTP
  • 50. ©Brooks/Cole, 2003 WWWWWW  WWW: World wide webWWW: World wide web  Hypertext: home pageHypertext: home page  BrowserBrowser  Document TypesDocument Types  Static documentsStatic documents  Dynamic documentsDynamic documents  Active documentsActive documents
  • 52. ©Brooks/Cole, 2003 Figure 6-22 Categories of Web documents  Static documentsStatic documents  HTML: Hypertext Markup LanguageHTML: Hypertext Markup Language  Dynamic documentsDynamic documents  CGI: Common Gateway Interface (Perl)CGI: Common Gateway Interface (Perl)  Active documentsActive documents  Java languageJava language
  • 53. ©Brooks/Cole, 2003 Key termsKey terms  Active documentActive document  Application layerApplication layer  BridgeBridge  BrowserBrowser  Bus topologyBus topology  ClientClient  Client-server modelClient-server model  Computer networkComputer network  Connecting devicesConnecting devices  Data-link layerData-link layer  Dotted-decimal notationDotted-decimal notation  Dynamic documentDynamic document  EmailEmail  HTMLHTML  HTTPHTTP  InternetInternet  Internet addressInternet address  InternetworkInternetwork  Internet protocol (IP)Internet protocol (IP)  IP addressIP address  LANLAN  Lical loginLical login  MANMAN  ModelModel  Network layerNetwork layer
  • 54. ©Brooks/Cole, 2003  NodeNode  Node-to-node deliveryNode-to-node delivery  OSIOSI  Physical addressPhysical address  Physical layerPhysical layer  Presentation layerPresentation layer  ProtocolProtocol  Remote loginRemote login  RepeaterRepeater  Ring topologyRing topology  RouterRouter  SegmentSegment  ServerServer  Session layerSession layer  SMTPSMTP  Source-to-destination deliverySource-to-destination delivery  Star topologyStar topology  Static documentStatic document  SwitchSwitch  Synchronization pointSynchronization point  TELNETTELNET  TopologyTopology  TrailerTrailer  TCPTCP  TCP/IPTCP/IP  Transport layerTransport layer  URLURL  UDPUDP  WebWeb  WANWAN  WWWWWW