ICMP (Internet Control Message Protocol) PowerPoint PPT Presentation

presentation player overlay
1 / 24
About This Presentation
Transcript and Presenter's Notes

Title: ICMP (Internet Control Message Protocol)


1
ICMP(Internet Control Message Protocol)
  • SE_LAB
  • ? ? ?

2
? ?
  • ICMP? ??
  • ??? ??????? ICMP
  • ICMP ???
  • ICMP Message Format
  • ICMP ??? (ICMP Message Type)
  • ICMP ??? ? ???

3
ICMP? ?? (Cont)
  • ICMP
  • ??? ??? ??? ????? ???? ???? ???? ??? ???? ????
  • RFC 792? ??
  • IP ???? ???? ?? IP????? ???? ??? ICMP? IP? ????
    ??? ?? ???? ???
  • Ping ???? ??? ??? ????

4
ICMP? ?? (Cont)
  • ICMP ?? ??
  • ???? ? ????? ??? ???? ??
  • IP ?????? ?? ICMP ?? ???? ????? ????? ???
  • ??? A?? ??? B? ?? ??? ??? ??? R1, R2, R3??? ????
    ???? ??
  • ?????? IP??? ?? ??? IP ??? ?? ??? IP ???? ???
  • ??? ?? ICMP???? ???? ??? ??
  • ??2

5
???
???
6
ICMP? ?? (Cont)
  • ICMP? ?? ???? ??? ?? ??
  • ICMP ?? ???
  • IP ?????? ??? IP ????? ??? ?? ?????
  • ?? ??? ???????? ???? ?????
  • ???? ? ? ?? ??? ?? ?????
  • ??? ??? ?? ???? ???? ?? ?? ?????(?, ?? ??, ???
    ??, ?????? ??, ????? ??)

7
??? ??????? ICMP
  • ??? ??????? ICMP
  • ICMP? OSI 7???? ???? ???? IP?? ?? ????
    ????(TCP,UDP)? ??? ??
  • ICMP? 3??? ???? ??

8
??? ??????? ICMP (Cont)
?? ??
?? ??
??????
I C M P
I P
I G M P
R A R P
?? ??
A R P
???? ?????
9
??? ??????? ICMP (Cont)
  • ??(Application)??
  • TCP/IP ????? ???? ????? ???? ????? ???? ????
  • FTP,SMTP,TELNET,HTTP
  • ??(Transport)??
  • ? ??? ?? ?? ? ??? ?? ???? ??? ? ?? ??
  • TCP??? ?? ??? , UDT? ??? ??

10
??? ??????? ICMP (Cont)
  • ????(Network)??
  • ???? ?? ?? ??? ?? ?, ??? ???? ?? ??
  • ICMP, IP, IGMP
  • ??(Link)??
  • ??? ???? ??? ?????? ??? ????? ??
  • ARP, RARP

11
ICMP ???
  • ICMP???
  • ICMP ???? ???? ???? ??? ????? ??? IP? ?? ??? ?
  • ICMP ???? IP ??????? ??

12
ICMP ??? (Cont)
  • ICMP? ????? ???? IP??

?? 4
?? ?? (32?? ??) IP ??? ???? ??? ????? ?? 5? ??
TOS 0(?????,?? ????, ?? ????, ?? ???
??? ICMP ???? ????? ??
?? ??? ??? ?????? ?? ??
?? ?? ??? ?? ??, ?????? ???? ??? ?? ?????
???? 1(ICMP ???? ???)
?? ?? ???? ????
??? IP ICMP ???? ???? ??? ?? ???? IP??
??? IP ICMP? ??? ?? ???? ???? IP??
13
ICMP Header Format
  • ICMP Header Format
  • ?? ICMP ???? ???? ??(Type) ??? 15?? ?? ?? ?? ??
    ??
  • ICMP ???? ??? ??? ?? ??? ???? ?? ?? ?? ?? ??
    ??(Code) ??? ???
  • ???(Checksum) ??? ICMP ?? ???? ???? ?
  • ICMP ???? ??(query) ??? ??, ??(error) ??? ?? ??

14
ICMP Header Format (Cont)
0 7 8
15 16 31
Type Code Checksum
Message Dependant Message Dependant Message Dependant
Information Information Information
8-bit ??? ??? Type ?? ???? ???
8-bit Code ?? ??? ??? ?? ???? ??
16-bit Checksum ??
???? ICMP?????? ???? ?? ??, ???? ??? ???
reserved?? ?? ???? ? 0??? ??.
15
ICMP ???
  • ICMP ???
  • ICMP? ??? ?? ???, ?? ? ?? ???? ???
  • ?? IP ??? ???? ???? ?? ????
  • ? ??
  • ??? ??? ??? IP ??? ???? ???
  • ? ?? ???? ?? ??
  • ??? ?? ??? ?? ??? ???? ??
  • ??

16
ICMP ??? (Cont)
  • ??? ?? ??? ??? ?? ???? ??
  • ???? IP ?? TTL ?? ?? ??? ????
  • ?? ??
  • ???? ?? IP ?????? ??? ????
  • ?? ??
  • ?? ??? ????? ??? ?? ?? ??
  • ?? ??? ????? ??? ??? ??? ?
  • ??? ?? ??
  • ?? ICMP ??? ??

17
(No Transcript)
18
ICMP ??? (Cont)
  • ICMP Message Type
  • ICMP Type 0? 8 ??/Ping
  • ?? ?? ???? ICMP ???
  • Ping ????? IP ??? ?? ?? ??? ? ??? ??? ???? ??
    ???
  • ICMP Type 3 ??? ???
  • ?????? ???? ???? ?? ???? ??? ??? ??? ???? ????
    ??? ??? ????? ??
  • Code ??? ???? ???? ?? ?? ? ?? ?? ??? ??

19
ICMP ??? (Cont)
  • ICMP Type 4 ??? ??
  • ???? ???? ?? ??? ?? ???? ???? ??? ????? ??? ??
  • ????? ?? ?????? ??? ???? ????? ??(??? ??? ??)
  • ICMP Type 5 ???
  • ???? ???? ????? ?? ??? ?? ??? ?? ?? ??? ??? ???
    ??
  • ???? ???? ?? ?? ??? ??? ???? ?

20
(No Transcript)
21
ICMP ??? (Cont)
  • ICMP Type 11 - ????
  • TTL??? ?? ???? ?? ??? ??
  • ??? ??? ???? ?? ?? ?? ?? ? ??? ?? ? ??
  • ICMP Type 13,14 ?? ??? ??, ?? ??? ??
  • ICMP Type 13?14 ???? ?? IP ??? ?? ??? ???? ?? ??
  • ?? ???? ???? ??? ?? ?? ???? ??? ??? ??? ???? ??
  • ?? ?? ???? ???? ??? ??? ??

22
(No Transcript)
23
(No Transcript)
24
ICMP ???
  • ICMP ???
  • Unreachable Type ? ?? ??
  • Redirect? ?? ??
  • ???
  • ICMP? ?? ??? ??? ??? ?? ?? ???? ????? ?
Write a Comment
User Comments (0)
About PowerShow.com