Ccna routing and Switching Complete Study Guide


IP Type:             0x01 ICMP



Download 28,65 Mb.
Pdf ko'rish
bet184/1268
Sana31.12.2021
Hajmi28,65 Mb.
#227237
1   ...   180   181   182   183   184   185   186   187   ...   1268
Bog'liq
Todd Lammle-CCNA Routing and Switching Complete Study Guide Exam 100-105, Exam 200-105, Exam 200-125-Sybex (2016)

IP Type:             0x01 ICMP

 Header Checksum:     0x2df0

 Source IP Address:   100.100.100.2

 Dest. IP Address:    100.100.100.1

 No Internet Datagram Options

ICMP - Internet Control Messages Protocol

 ICMP Type:       8 Echo Request

 Code:            0

 Checksum:        0x395c

 Identifier:      0x0300

 Sequence Number: 4352

 ICMP Data Area:

 abcdefghijklmnop  61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f 70

 qrstuvwabcdefghi  71 72 73 74 75 76 77 61 62 63 64 65 66 67 68 69

Frame Check Sequence: 0x00000000

Notice anything unusual? Did you catch the fact that even though ICMP works at the 

Internet (Network) layer, it still uses IP to do the Ping request? The Type field in the IP 

header is 

0x01

, which specifies that the data we’re carrying is owned by the ICMP protocol. 



Remember, just as all roads lead to Rome, all segments or data must go through IP!

The Ping program uses the alphabet in the data portion of the packet as a 

payload, typically around 100 bytes by default, unless, of course, you are 

pinging from a Windows device, which thinks the alphabet stops at the let-

ter W (and doesn’t include XY, or Z) and then starts at A again. Go figure!

If you remember reading about the Data Link layer and the different frame types in 

Chapter 2, “Ethernet Networking and Data Encapsulation,” you should be able to look 

at the preceding trace and tell what type of Ethernet frame this is. The only fields are 




114

 

Chapter 3 



  Introduction to TCP/IP 

destination hardware address, source hardware address, and Ether-Type. The only frame 

that uses an Ether-Type field exclusively is an Ethernet_II frame.

We’ll move on soon, but before we get into the ARP protocol, let’s take another look 

at ICMP in action. Figure 3.18 shows an internetwork—it has a router, so it’s an internet-

work, right?

f I g u r e   3 .18     ICMP in action

Server 1

10.1.2.2/24

10.1.4.2/24

I’m trying to

telnet to

10.1.1.5—

can you

forward this

request?

10.1.5.2/24

10.1.5.3/24

10.1.5.4/24

10.1.5.5/24

10.1.1.0 network?

No, never heard of it!

Discard! Create ICMP packet!

Server 1 (10.1.2.2) telnets to 10.1.1.5 from a DOS prompt. What do you think Server 1 

will receive as a response? Server 1 will send the Telnet data to the default gateway, which 

is the router, and the router will drop the packet because there isn’t a network 10.1.1.0 in 

the routing table. Because of this, Server 1 will receive an ICMP destination unreachable 

back from the router.


Download 28,65 Mb.

Do'stlaringiz bilan baham:
1   ...   180   181   182   183   184   185   186   187   ...   1268




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2025
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish