1. Trang chủ
  2. » Công Nghệ Thông Tin

Chapter 20 Network Layer: Internet Protocol pot

52 952 0
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Tiêu đề Network Layer: Internet Protocol Pot
Trường học McGraw-Hill Companies
Chuyên ngành Networking and Internet Protocols
Thể loại Textbook chapter
Năm xuất bản 2023
Định dạng
Số trang 52
Dung lượng 1,6 MB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Need for Network Layer Internet as a Datagram Network Internet as a Connectionless Network Topics discussed in this section:... Communication at the network layer in the Internet is con

Trang 2

20-1 INTERNETWORKING

In this section, we discuss internetworking, connecting networks together to make an internetwork or an internet

Need for Network Layer

Internet as a Datagram Network

Internet as a Connectionless Network

Topics discussed in this section:

Trang 3

20.3

Trang 4

20.4

Trang 5

20.5

Trang 6

20.6

Trang 8

Communication at the network layer in

the Internet is connectionless.

Note

Trang 9

20-2 IPv4

The Internet Protocol version 4 (

The Internet Protocol version 4 (IPv4 IPv4 ) is the delivery

mechanism used by the TCP/IP protocols.

Trang 10

20.10

Trang 11

20.11

Trang 12

20.12

Trang 13

The precedence subfield was part of

version 4, but never used.

Note

Trang 14

20.14

Trang 15

20.15

Trang 16

20.16

Trang 18

20.18

Trang 19

20.19

Trang 20

20.20

Trang 21

There is an error in this packet The 4 leftmost

bits (0100) show the v ersion, w hich is correct

The next 4 bits (0010) show an inv alid header

length (2 × 4 = 8) The minimum number of by tes

in the header must be 20 The packet has been

corrupted in transmission.

Example 20.1

Trang 22

In an IPv4 packet, the value of HLEN is 1000 in binary How many bytes of options are being carried by this packet?

Trang 23

In an IPv4 packet, the value of HLEN is 5, and the value

of the total length field is 0x0028 How many bytes of data are being carried by this packet?

Solution

The HLEN v alue is 5, w hich means the total number of by tes in the header is 5 × 4, or 20

by tes (no options) The total length is 40 by tes,

w hich means the packet is carry ing 20 by tes of data (40 20).

Example 20.3

Trang 25

20.25

Trang 26

20.26

Trang 27

20.27

Trang 28

20.28

Trang 29

20.29

Trang 30

Example 20.5

Trang 31

w e need more information (the v alue of the fragmentation offset).

Example 20.6

Trang 32

A packet has arrived with an M bit value of 1 and a fragmentation offset value of 0 Is this the first fragment, the last fragment, or a middle fragment?

Trang 33

A packet has arrived in which the offset value is 100 What is the number of the first byte? Do we know the number of the last byte?

Solution

To find the number of the first byte, we multiply the offset value by 8 This means that the first byte number is 800

We cannot determine the number of the last byte unless

we know the length.

Example 20.8

Trang 34

by tes (5 × 4), w hich means that there are 80

by tes in this datagram If the first by te number is

800, the last by te number must be 879.

Example 20.9

Trang 35

Figure 20.13 shows an example of a checksum calculation for an IPv4 header without options The header is divided into 16-bit sections All the sections are added and the sum is complemented The result is inserted in the checksum field.

Example 20.10

Trang 36

20.36

Trang 37

20.37

Trang 38

20-3 IPv6

The network layer protocol in the TCP/IP protocol suite is currently IPv4 Although IPv4 is well designed, data communication has evolved since the inception of IPv4 in the 1970s IPv4 has some deficiencies that make it unsuitable for the fast-growing Internet.

Trang 39

20.39

Trang 40

20.40

Trang 41

20.41

Trang 42

20.42

Trang 43

20.43

Trang 44

20.44

Trang 45

20.45

Trang 46

20.46

Trang 47

20-4 TRANSITION FROM IPv4 TO IPv6

Because of the huge number of systems on the Internet, the transition from IPv4 to IPv6 cannot happen suddenly It takes a considerable amount of time before every system in the Internet can move from IPv4 to IPv6 The transition must be smooth to prevent any problems between IPv4 and IPv6 systems

Trang 48

20.48

Trang 49

20.49

Trang 50

20.50

Trang 51

20.51

Trang 52

20.52

Ngày đăng: 06/03/2014, 12:20

TỪ KHÓA LIÊN QUAN