3. exploring the packet delivery

39
ICND1 v1.0—1-1 Building a Simple Network Exploring the Packet Delivery Process

Upload: viet-thang-nguyen

Post on 28-Apr-2015

108 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 3. Exploring the Packet Delivery

ICND1 v1.0—1-1

Building a Simple Network

Exploring the Packet Delivery Process

Page 2: 3. Exploring the Packet Delivery

ICND1 v1.0—1-2

Layer 1 Devices

•Layer 1 provides the physical media and its encoding.•Examples:

oEthernetoSerialoRepeateroPhysical interface of the NIC

Page 3: 3. Exploring the Packet Delivery

ICND1 v1.0—1-3

Layer 2 Devices

•Layer 2 devices provide an interface with the physical media.•Examples:

oNICoBridgeoSwitch

Page 4: 3. Exploring the Packet Delivery

ICND1 v1.0—1-4

Layer 2 Addressing

•MAC address•Assigned to end devices

Page 5: 3. Exploring the Packet Delivery

ICND1 v1.0—1-5

Layer 3 Devices and Their Function

•The network layer provides connectivity and path selection between two host systems.

•In the host, this is the path between the data link layer and the upper layers of the NOS.

•In the router, it is the actual path across the network.

Page 6: 3. Exploring the Packet Delivery

ICND1 v1.0—1-6

Layer 3 Addressing

•Each NOS has its own Layer 3 address format.•OSI uses an NSAP.•TCP/IP uses IP.

Page 7: 3. Exploring the Packet Delivery

ICND1 v1.0—1-7

ARP

Page 8: 3. Exploring the Packet Delivery

ICND1 v1.0—1-8

ARP Table

Page 9: 3. Exploring the Packet Delivery

ICND1 v1.0—1-9

Host-to-Host Packet Delivery (1 of 22)

Page 10: 3. Exploring the Packet Delivery

ICND1 v1.0—1-10

Host-to-Host Packet Delivery (2 of 22)

Page 11: 3. Exploring the Packet Delivery

ICND1 v1.0—1-11

Host-to-Host Packet Delivery (3 of 22)

Page 12: 3. Exploring the Packet Delivery

ICND1 v1.0—1-12

Host-to-Host Packet Delivery (4 of 22)

Page 13: 3. Exploring the Packet Delivery

ICND1 v1.0—1-13

Host-to-Host Packet Delivery (5 of 22)

Page 14: 3. Exploring the Packet Delivery

ICND1 v1.0—1-14

Host-to-Host Packet Delivery (6 of 22)

Page 15: 3. Exploring the Packet Delivery

ICND1 v1.0—1-15

Host-to-Host Packet Delivery (7 of 22)

Page 16: 3. Exploring the Packet Delivery

ICND1 v1.0—1-16

Host-to-Host Packet Delivery (8 of 22)

Page 17: 3. Exploring the Packet Delivery

ICND1 v1.0—1-17

Host-to-Host Packet Delivery (9 of 22)

Page 18: 3. Exploring the Packet Delivery

ICND1 v1.0—1-18

Host-to-Host Packet Delivery (10 of 22)

Page 19: 3. Exploring the Packet Delivery

ICND1 v1.0—1-19

Host-to-Host Packet Delivery (11 of 22)

Page 20: 3. Exploring the Packet Delivery

ICND1 v1.0—1-20

Host-to-Host Packet Delivery (12 of 22)

Page 21: 3. Exploring the Packet Delivery

ICND1 v1.0—1-21

Host-to-Host Packet Delivery (13 of 22)

Page 22: 3. Exploring the Packet Delivery

ICND1 v1.0—1-22

Host-to-Host Packet Delivery (14 of 22)

Page 23: 3. Exploring the Packet Delivery

ICND1 v1.0—1-23

Host-to-Host Packet Delivery (15 of 22)

Page 24: 3. Exploring the Packet Delivery

ICND1 v1.0—1-24

Host-to-Host Packet Delivery (16 of 22)

Page 25: 3. Exploring the Packet Delivery

ICND1 v1.0—1-25

Host-to-Host Packet Delivery (17 of 22)

Page 26: 3. Exploring the Packet Delivery

ICND1 v1.0—1-26

Host-to-Host Packet Delivery (18 of 22)

Page 27: 3. Exploring the Packet Delivery

ICND1 v1.0—1-27

Host-to-Host Packet Delivery (19 of 22)

Page 28: 3. Exploring the Packet Delivery

ICND1 v1.0—1-28

Host-to-Host Packet Delivery (20 of 22)

Page 29: 3. Exploring the Packet Delivery

ICND1 v1.0—1-29

Host-to-Host Packet Delivery (21 of 22)

Page 30: 3. Exploring the Packet Delivery

ICND1 v1.0—1-30

Host-to-Host Packet Delivery (22 of 22)

Page 31: 3. Exploring the Packet Delivery

ICND1 v1.0—1-31

Default Gateway

Page 32: 3. Exploring the Packet Delivery

ICND1 v1.0—1-32

Host-Based Tools: ping

Page 33: 3. Exploring the Packet Delivery
Page 34: 3. Exploring the Packet Delivery

ICND1 v1.0—1-34

Host-Based Tools: Table

Page 35: 3. Exploring the Packet Delivery

ICND1 v1.0—1-35

Host-Based Tools: tracert

Page 36: 3. Exploring the Packet Delivery
Page 37: 3. Exploring the Packet Delivery

ICND1 v1.0—1-37

Summary

•Layer 1 provides the physical media and its encoding.•Layer 2 devices provide an interface with the physical media.•Layer 2 addresses are MAC addresses.•The network layer provides connectivity and path selection

between two host systems.•Layer 3 addresses are IP addresses.

Page 38: 3. Exploring the Packet Delivery

ICND1 v1.0—1-38

Summary (Cont.)

•Before a host can send data to another host, it must have the MAC address of that host.

•If the MAC address is not known, ARP is used to map Layer 2 to Layer 3.

•Reliable communication requires a TCP session.•Data sent must be acknowledged.•If hosts are on different segments, a default gateway is needed.•Several host-based tools are available to check connectivity

between hosts:opingotracertoarp

Page 39: 3. Exploring the Packet Delivery

ICND1 v1.0—1-39