1 of 29

Chapter 1

  • Network – H/W & S/W

  • Ex. Communicate 2 friend by postal mail

WCB/McGraw-Hill

© The McGraw-Hill Companies, Inc., 1998

2 of 29

Straight cable (568B 🡨 🡪568B)

Cross Cable (568A 🡨 🡪568B)

3 of 29

4 of 29

Chapter 1

  • Network – H/W & S/W
  • Layered task
  • Ex. Communicate 2 friend by postal mail
  • 1 Higher Layer
  • 2 Middle Layer
  • 3 Lower Layer

Carrier for transmission

WCB/McGraw-Hill

© The McGraw-Hill Companies, Inc., 1998

5 of 29

Chapter 1� Network Model

  • The OSI model

standard for data communication.

  • The TCP/IP Model

protocol suite – commercial Architecture

WCB/McGraw-Hill

© The McGraw-Hill Companies, Inc., 1998

6 of 29

Figure 3-1

WCB/McGraw-Hill

© The McGraw-Hill Companies, Inc., 1998

OSI Model

7 of 29

Figure 3-2

WCB/McGraw-Hill

© The McGraw-Hill Companies, Inc., 1998

OSI Layers

8 of 29

Figure 3-3

WCB/McGraw-Hill

© The McGraw-Hill Companies, Inc., 1998

An Exchange Using the OSI Model

9 of 29

Figure 3-4

WCB/McGraw-Hill

© The McGraw-Hill Companies, Inc., 1998

Layer 1. Physical Layer

10 of 29

Layer 1. Physical Layer

  • Carry a bit stream over physical channel
  • Physical- devices e.g. NIC

transmission media- cable.

  • Bit pattern - (0001101)

must be transmitted- electrical/ optical signal

  • Clock synchronization.
  • Line configuration
  • Physical Topology
  • Transmission mode

WCB/McGraw-Hill

© The McGraw-Hill Companies, Inc., 1998

11 of 29

Figure 3-5

WCB/McGraw-Hill

© The McGraw-Hill Companies, Inc., 1998

Layer 2. Data Link Layer

12 of 29

Figure 3-6

WCB/McGraw-Hill

© The McGraw-Hill Companies, Inc., 1998

Data Link Layer Example

13 of 29

Layer 2. Data link Layer

  • Framing- stream , group of bits.
  • Physical Addressing
  • Flow control
  • Error control
  • Access control
  • node to node delivery.

WCB/McGraw-Hill

© The McGraw-Hill Companies, Inc., 1998

14 of 29

Figure 3-7

WCB/McGraw-Hill

© The McGraw-Hill Companies, Inc., 1998

Layer 3. Network Layer

15 of 29

Figure 3-8

WCB/McGraw-Hill

© The McGraw-Hill Companies, Inc., 1998

Network Layer Example

16 of 29

Figure 3-8-continued

WCB/McGraw-Hill

© The McGraw-Hill Companies, Inc., 1998

Network Layer Example

17 of 29

Layer 3. Network layer

(End to End packet delivery)

  • The Network Layer Performs

network routing functions

responsible for S to D delivery of packets

fragmentation and reassembly

  • Routing- define route

- independent n/w connection create large n/w

  • Logical Addressing

Sender’s Address – Receiver’s Address

WCB/McGraw-Hill

© The McGraw-Hill Companies, Inc., 1998

18 of 29

Figure 3-9

WCB/McGraw-Hill

© The McGraw-Hill Companies, Inc., 1998

Layer 4. Transport Layer

Process to process delivery of message

-Message arrive in order

19 of 29

Figure 3-10

WCB/McGraw-Hill

© The McGraw-Hill Companies, Inc., 1998

Transport Layer Example

20 of 29

Figure 3-10-continued

WCB/McGraw-Hill

© The McGraw-Hill Companies, Inc., 1998

Transport Layer Example

21 of 29

Layer 4. Transport Layer

  • The Transport Layer provides transparent transfer of data between end users, providing reliable data transfer services to the upper layers.
  • The Transport Layer controls the reliability of a given link through flow control, segmentation/desegmentation, and error control.

WCB/McGraw-Hill

© The McGraw-Hill Companies, Inc., 1998

22 of 29

Layer 4. Transport Layer

  • Service Point Addressing (PORT)
  • Several programs at same time

process Process

A ------------- B

  • Segmentation & reassembly

-Transmittable segments, Seq no.

  • Connection Control services.

WCB/McGraw-Hill

© The McGraw-Hill Companies, Inc., 1998

23 of 29

Figure 3-11

WCB/McGraw-Hill

© The McGraw-Hill Companies, Inc., 1998

Layer 5. Session Layer

24 of 29

Layer 5: Session Layer

  • The Session Layer controls the dialogues (connections) between computers.
  • It establishes, manages and terminates the connections between the local and remote application.
  • It provides for full-duplex, half-duplex, or simplex operation, and establishes checkpointing

(e.g. file of 2000 pages & chk point of 100 pages.),

  • termination, and restart procedures. 

24

25 of 29

Figure 3-12

WCB/McGraw-Hill

© The McGraw-Hill Companies, Inc., 1998

Layer 6. Presentation Layer

26 of 29

Layer 6: Presentation Layer

  • Different Syntax & semantic information
  • Translation

-encoding

sender dependent format

common format

receiver dependent format

-encryption. –carry sensitive info.

-compression.- reduce the nr. of bits.

(e.g. multimedia, text, audio, video)

26

27 of 29

Figure 3-13

WCB/McGraw-Hill

© The McGraw-Hill Companies, Inc., 1998

Layer 7. Application Layer

28 of 29

Layer 7: Application Layer

  • Provide Services

- E-mail

- Remote file access / Transfer

- Shared database management

  • Application

-X.400 message handling service.

-X.500 directory service.

-FTAM

28

29 of 29

Figure 3-14

WCB/McGraw-Hill

© The McGraw-Hill Companies, Inc., 1998

Summary of Layer Functions