proyek sistem operasi (networking) chapter 14 1. distributed capabilities communications...

25
Proyek Sistem Operasi Proyek Sistem Operasi (Networking) (Networking) Chapter 14 1

Upload: leonard-cobb

Post on 04-Jan-2016

213 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Proyek Sistem Operasi (Networking) Chapter 14 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers

Proyek Sistem Operasi Proyek Sistem Operasi (Networking)(Networking)Chapter 14

1

Page 2: Proyek Sistem Operasi (Networking) Chapter 14 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers

Distributed CapabilitiesDistributed CapabilitiesCommunications architectures

◦Software that supports a group of networked computers

Network operating system◦Each computer has its own private

operating systemDistributed operating system

◦Common operating system shared by a network of computers

2

Page 3: Proyek Sistem Operasi (Networking) Chapter 14 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers

The Need for a Protocol The Need for a Protocol ArchitectureArchitectureComputer communications

◦Exchange of information between computers for the purpose of cooperative action

Computer network◦When tow or more computers are

interconnected via a communication network

3

Page 4: Proyek Sistem Operasi (Networking) Chapter 14 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers

Two ConceptsTwo ConceptsProtocol

◦Used for communication between entities in different systems

Protocol architecture◦Broken into subtasks, each of which

is implemented separately

4

Page 5: Proyek Sistem Operasi (Networking) Chapter 14 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers

File TransferFile Transfer

5

Page 6: Proyek Sistem Operasi (Networking) Chapter 14 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers

The TCP/IP Protocol The TCP/IP Protocol ArchitectureArchitectureProtocol suiteFive relatively independent

layers◦Physical◦Network access◦Internet◦Host-to-host, or transport◦Application

6

Page 7: Proyek Sistem Operasi (Networking) Chapter 14 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers

Physical LayerPhysical LayerSpecifying

◦the characteristics of the transmission medium

◦Nature of the signals◦Data rate

7

Page 8: Proyek Sistem Operasi (Networking) Chapter 14 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers

Network Access LayerNetwork Access LayerConcerned with the exchange of

data between an end system and the network

Different standards◦Circuit switching◦Packet switching (frame relay)◦LANs (Ethernet)

8

Page 9: Proyek Sistem Operasi (Networking) Chapter 14 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers

Internet LayerInternet LayerProcedures for data to traverse

different networksImplemented in the end systems

and routers

9

Page 10: Proyek Sistem Operasi (Networking) Chapter 14 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers

Transport LayerTransport LayerEnsures all data arrives at the

destination and in the order sentTCP

10

Page 11: Proyek Sistem Operasi (Networking) Chapter 14 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers

Application LayerApplication LayerSupports various user applicationExample: file transfer

11

Page 12: Proyek Sistem Operasi (Networking) Chapter 14 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers

TCP HeaderTCP Header

12

Page 13: Proyek Sistem Operasi (Networking) Chapter 14 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers

UDPUDP

13

Page 14: Proyek Sistem Operasi (Networking) Chapter 14 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers

IPIP

14

Page 15: Proyek Sistem Operasi (Networking) Chapter 14 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers

IPv6IPv6Provides enhancements over

existing IPDesigned to accommodate

higher speeds of a mix of data streams, graphic and video

Provides more addressesIncludes 128-bits for addresses

◦IP uses 32-bit address

15

Page 16: Proyek Sistem Operasi (Networking) Chapter 14 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers

IPv6IPv6

16

Page 17: Proyek Sistem Operasi (Networking) Chapter 14 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers

TCP/IP ConceptsTCP/IP Concepts

17

Page 18: Proyek Sistem Operasi (Networking) Chapter 14 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers

Protocols and HeadersProtocols and Headers

18

Page 19: Proyek Sistem Operasi (Networking) Chapter 14 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers

Items in the HeaderItems in the HeaderDestination network addressFacilities requests

◦Example: priority

19

Page 20: Proyek Sistem Operasi (Networking) Chapter 14 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers

TCP.IP ApplicationsTCP.IP ApplicationsSimple Mail Transfer Protocol

(SMTP)File Transfer ProtocolTELNET

20

Page 21: Proyek Sistem Operasi (Networking) Chapter 14 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers

SocketsSocketsEnable communication between

a client and serverConcatenation of a port value

and an IP address form a socket

21

Page 22: Proyek Sistem Operasi (Networking) Chapter 14 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers

Two Types of SocketsTwo Types of SocketsStream sockets

◦Use TCP◦Reliable data transfer

Datagram sockets◦Use UDP◦Delivery is not guaranteed

22

Page 23: Proyek Sistem Operasi (Networking) Chapter 14 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers

Socket SetupSocket Setupsocket() commandThree parameters

◦Protocol family is always PF_INET for TCP/IP

◦Type specifies whether stream or datagram

◦Protocol specifies either TCP or UDP

23

Page 24: Proyek Sistem Operasi (Networking) Chapter 14 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers

24

Page 25: Proyek Sistem Operasi (Networking) Chapter 14 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers

25