networking chapter 12 1. distributed capabilities communications architectures ◦ software that...

25
Networking Networking Chapter 12 1

Upload: chloe-oconnor

Post on 14-Jan-2016

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Networking Chapter 12 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers Network operating

NetworkingNetworkingChapter 12

1

Page 2: Networking Chapter 12 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers Network operating

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: Networking Chapter 12 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers Network operating

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: Networking Chapter 12 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers Network operating

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: Networking Chapter 12 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers Network operating

File TransferFile Transfer

5

Page 6: Networking Chapter 12 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers Network operating

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: Networking Chapter 12 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers Network operating

Physical LayerPhysical LayerSpecifying

◦the characteristics of the transmission medium

◦Nature of the signals◦Data rate

7

Page 8: Networking Chapter 12 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers Network operating

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: Networking Chapter 12 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers Network operating

Internet LayerInternet LayerProcedures for data to traverse

different networksImplemented in the end systems

and routers

9

Page 10: Networking Chapter 12 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers Network operating

Transport LayerTransport LayerEnsures all data arrives at the

destination and in the order sentTCP

10

Page 11: Networking Chapter 12 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers Network operating

Application LayerApplication LayerSupports various user applicationExample: file transfer

11

Page 12: Networking Chapter 12 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers Network operating

TCP HeaderTCP Header

12

Page 13: Networking Chapter 12 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers Network operating

UDPUDP

13

Page 14: Networking Chapter 12 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers Network operating

IPIP

14

Page 15: Networking Chapter 12 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers Network operating

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: Networking Chapter 12 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers Network operating

IPv6IPv6

16

Page 17: Networking Chapter 12 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers Network operating

TCP/IP ConceptsTCP/IP Concepts

17

Page 18: Networking Chapter 12 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers Network operating

Protocols and HeadersProtocols and Headers

18

Page 19: Networking Chapter 12 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers Network operating

Items in the HeaderItems in the HeaderDestination network addressFacilities requests

◦Example: priority

19

Page 20: Networking Chapter 12 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers Network operating

TCP.IP ApplicationsTCP.IP ApplicationsSimple Mail Transfer Protocol

(SMTP)File Transfer ProtocolTELNET

20

Page 21: Networking Chapter 12 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers Network operating

SocketsSocketsEnable communication between

a client and serverConcatenation of a port value

and an IP address form a socket

21

Page 22: Networking Chapter 12 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers Network operating

Two Types of SocketsTwo Types of SocketsStream sockets

◦Use TCP◦Reliable data transfer

Datagram sockets◦Use UDP◦Delivery is not guaranteed

22

Page 23: Networking Chapter 12 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers Network operating

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: Networking Chapter 12 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers Network operating

24

Page 25: Networking Chapter 12 1. Distributed Capabilities Communications architectures ◦ Software that supports a group of networked computers Network operating

25