network lect1

advertisement
‫نظام المحاضرات االلكتروني‬
Uses of Computer Networks
 Business Applications
 Home Applications
‫نظام المحاضرات االلكتروني‬
 Business Applications
•Resource Sharing
•Communication Medium
•E-commerce (Electronic Commerce)
‫نظام المحاضرات االلكتروني‬
 Business Applications of Networks
A network with two clients and one server.
‫نظام المحاضرات االلكتروني‬
 Business Applications of Networks
The client-server model involves requests and replies.
‫نظام المحاضرات االلكتروني‬
 Home Network Applications
•Access to remote information
•Person-to-person communication
•Interactive entertainment
•Electronic commerce
‫نظام المحاضرات االلكتروني‬
 Business Applications of Networks
In peer-to-peer system there are no fixed clients and servers.
‫نظام المحاضرات االلكتروني‬
Network Hardware
 PANs (Personal Area Networks)
 Local Area Network (LAN) & Wireless LANs
 Metropolitan Area Network (MAN)
 Wide Area Network (WAN)
 Internetworks
‫نظام المحاضرات االلكتروني‬
Network Hardware (Broadcast Networks)
Types of transmission technology
•Broadcast links
•Point-to-point links
‫نظام المحاضرات االلكتروني‬
Classification of interconnected
processors by scale.
 Personal Area Networks
PANs (Personal Area Networks) let devices communicate over
the range of a person. A common example is a wireless
network that connects a computer with its peripherals.
Bluetooth PAN Configuration.
‫نظام المحاضرات االلكتروني‬
 Local Area Networks (LAN)
Two broadcast networks
(a) Bus
(b) Ring
‫نظام المحاضرات االلكتروني‬
 Wireless LANs
Figure 1-8. Wireless and wired LANs. (a) 802.11. (b) Switched
Ethernet.
‫نظام المحاضرات االلكتروني‬
 Metropolitan Area Networks
A metropolitan area network based on cable TV.
‫نظام المحاضرات االلكتروني‬
 Wide Area Networks (WAN)
WAN that connects three branch offices in Australia.
‫نظام المحاضرات االلكتروني‬
 Internetworks
The assumption so far is that a network is
homogeneous: there is hardly any variation in
hardware and software. In practice, large networks
can only be constructed by interconnecting different
kinds of networks internet(work).
‫نظام المحاضرات االلكتروني‬
Network Software
 Protocol Hierarchies
 Design Issues for the Layers
 Connection-Oriented and Connectionless Services
 Service Primitives
 The Relationship of Services to Protocols
‫نظام المحاضرات االلكتروني‬
 Protocol Hierarchies
Layers,
protocols,
and
interfaces.
‫نظام المحاضرات االلكتروني‬
 Protocol Hierarchies(2)
Example information flow supporting virtual communication in
layer 5.
‫نظام المحاضرات االلكتروني‬
 Design Issues for the Layers
•
•
•
•
•
Addressing
Error Control
Flow Control
Multiplexing
Routing
‫نظام المحاضرات االلكتروني‬
 Connection-Oriented and Connectionless Services
Six different types of service. •
Six different types of service.
‫نظام المحاضرات االلكتروني‬
 Service Primitives
Five service primitives for implementing a simple connectionoriented service.
‫نظام المحاضرات االلكتروني‬
 Service Primitives (2)
Packets sent in a simple client-server interaction on a
connection-oriented network.
‫نظام المحاضرات االلكتروني‬
 Services to Protocols Relationship
The relationship between a service and a protocol.
‫نظام المحاضرات االلكتروني‬
Reference Models
• The OSI Reference Model
• The TCP/IP Reference Model
• A Comparison of OSI and TCP/IP
• A Critique of the OSI Model and Protocols
• A Critique of the TCP/IP Reference Model
‫نظام المحاضرات االلكتروني‬
 The OSI Reference Model
The OSI
reference
model.
‫نظام المحاضرات االلكتروني‬
 The OSI Reference Model
1. Physical Layer
1. Convert the logical 1’s and 0’s coming from
6 Presentation
layer 2 into electrical signals.
7 Application
5 Session
4 Transport
3 Network
2 Data Link
1 Physical
2. Transmission of the electrical signals over
a communication channel.
Main topics:
• Transmission mediums
• Encoding
• Modulation
• RS232 and RS422 standards
• Repeaters
• Hubs (multi-port repeater)
‫نظام المحاضرات االلكتروني‬
 The OSI Reference Model
7 Application
6 Presentation
5 Session
4 Transport
3 Network
2 Data Link
1 Physical
2. Data Link Layer
1. Error control to compensate for the imperfections of
the physical layer.
2. Flow control to keep a fast sender from swamping a
slow receiver.
Main topics:
• Framing methods
• Error detection and correction methods
• Flow control
• Frame format
• IEEE LAN standards
• Bridges
• Switches (multi-port bridges)
‫نظام المحاضرات االلكتروني‬
 The OSI Reference Model
7 Application
3. Network Layer
6 Presentation
a) Controls the operation of the subnet.
5 Session
b) Routing packets from source to
destination.
4 Transport
3 Network
2 Data Link
1 Physical
c) Logical addressing.
Main topics:
• Internetworking
• Routing algorithms
• Internet Protocol (IP) addressing
• Routers
‫نظام المحاضرات االلكتروني‬
 The OSI Reference Model
7 Application
4. Transport Layer
6 Presentation
a) Provides additional Quality of Service.
5 Session
b) Heart of the OSI model.
4 Transport
Main topics:
3 Network
• Connection-oriented and connectionless
services
• Transmission Control Protocol (TCP)
• User Datagram Protocol (UDP)
2 Data Link
1 Physical
‫نظام المحاضرات االلكتروني‬
 The OSI Reference Model
7 Application
6 Presentation
5 Session
4 Transport
3 Network
2 Data Link
5. Session Layer
a) Allows users on different machines to
establish sessions between them.
b) One of the services is managing
dialogue control.
c) Token management.
d) Synchronization.
1 Physical
‫نظام المحاضرات االلكتروني‬
 The OSI Reference Model
7 Application
6 Presentation
5 Session
6. Presentation Layer
a) Concerned with the syntax and
semantics of the information.
4 Transport
b) Preserves the meaning of the
information.
3 Network
c) Data compression.
2 Data Link
d) Data encryption.
1 Physical
‫نظام المحاضرات االلكتروني‬
 The OSI Reference Model
7 Application
6 Presentation
5 Session
4 Transport
3 Network
2 Data Link
1 Physical
7. Application Layer
a) Provides protocols that are commonly
needed.
Main topics:
• File Transfer Protocol (FTP)
• HyperText Transfer Protocol (HTTP)
• Simple Mail Transfer Protocol (SMTP)
• Simple Network Management Protocol
(SNMP)
• Network File System (NFS)
• Telnet
‫نظام المحاضرات االلكتروني‬
 The TCP/IP Reference Model
‫نظام المحاضرات االلكتروني‬
 Comparing OSI and TCP/IP Models
Concepts central to the OSI model:
•Services
•Interfaces
•Protocols
‫نظام المحاضرات االلكتروني‬
 A Critique of the OSI Model and Protocols
Why OSI did not take over the world
•Bad timing
•Bad technology
•Bad implementations
•Bad politics
‫نظام المحاضرات االلكتروني‬
 A Critique of the TCP/IP Reference Model
Problems:
•Service, interface, and protocol not
distinguished
•Not a general model
•Host-to-network “layer” not really a layer
•No mention of physical and data link layers
•Minor protocols deeply entrenched, hard to
replace
‫نظام المحاضرات االلكتروني‬
Download