TCP/IP????????? - PowerPoint PPT Presentation

About This Presentation
Title:

TCP/IP?????????

Description:

Title: TCP/IP Author: USER Last modified by: USER Created Date: 7/9/2001 8:06:28 AM Document presentation format: Other titles – PowerPoint PPT presentation

Number of Views:27
Avg rating:3.0/5.0
Slides: 51
Provided by: edut1550
Category:
Tags: tcp | layer

less

Transcript and Presenter's Notes

Title: TCP/IP?????????


1
TCP/IP?????????
  • ??????
  • ???
  • Email mli_at_ccms.ntu.edu.tw
  • Phone 3366-5010

2
? ?
  • TCP/IP??
  • TCP/IP?????
  • TCP/IP????????
  • ?????
  • ?????

3
TCP/IP??
  • 1967?DARPA (Defense Advanced Research Project
    Agency) ??ARPANET (Advanced Research Project
    Agency NETwork) ????
  • 1983???????(Internet)
  • 1985???NSFNET (National Science Foundation
    NETwork)

4
TCP/IP??(Cont.)
  • ?????????,SNMP (Simple Network Management
    Protocol)
  • ?? ISO (International Organization for
    Standardization) ??,???????
  • IAB (Internet Activities Board) ????????????

5
TCP/IP??(Cont.)
  • IETF (Internet Engineering Task Force)???????????
  • ???????????????,???RFC (Request for Comments)
  • NIC (network Information Center)????RFC??

6
TCP/IP?????
7
TCP/IP????
  • ????? (Network Interface Layer)
  • ????? (Internet Layer)
  • ????? (Transport Layer)
  • ??? (Application Layer)

8
?????
  • ??OSI????????????
  • ????????
  • ???????????????

9
?????
  • ?????????????
  • ???????????
  • ??????????????
  • ??????????
  • ????????

10
?????
  • ????????(TCP)?????????(UDP)
  • TCP?????????
  • TCP???????????????
  • TCP??????
  • UDP??????????

11
???
  • ?????????
  • ??????????
  • TELNET
  • FTP
  • SMTP
  • DNS

12
????????
13
?????(1)
14
?????(2)
15
??????(IP)
  • ???????? (Connectionless Service)
  • ?????? (Best-effort Delivery)
  • ????
  • ??
  • ??
  • ??????????

16
IP Header??
17
IP Header
  • Version IP??
  • Header Length IP header??
  • Type of Service ???????????
  • Total Length ????????
  • Identifier ??????????????

18
TOS ??
Bits 0-2 Precedence. 07.????????? Bits 3
0Normal Delay, 1Low Delay Bits 4 0Normal
Throughput, 1High Throughput Bits 5 0Normal
Reliability 1High Reliability Bits 6-7 ??????
19
IP Header(Cont.)
  • Flags ???????
  • ?? 0 ??
  • ?? 1 0??????,1??????
  • ?? 2 0???????fragment,1????????
  • Fragmented Offset ??????fragment???segment??????
    ,?8?????offset???

20
IP Header(Cont.)
  • Time to Live segment?????????
  • Protocol IP????????
  • Header Checksum IP header?????
  • Source Address ????IP??
  • Destination Address ????IP??

21
IP Header(Cont.)
  • Options Segment???????
  • Padding ?header???32?????

22
IP ??
  • IP???32????????
  • IP???? lt????, ????gt
  • IP????? dotted-decimal???(??????)

23
?????????? ?32??????
24
IP????
  • ??A, B, C????????????
  • ??D?????????????????
  • ??E?????

25
???IP????
IP?? ????,????
26
IP????
27
????
  • ???? IP???????,?????0
  • ??,140.112.254.4,?????B?????,?????140.112.0.0
  • ???????????????

28
??A,B,C?????
29
???????
30
???(subnet)
  • ??? ?IP????????,?????????????
  • IP?? ????, ?????, ????
  • ??,??B?140.112.0.0,??????8???????,140.112.1.0
    140.112.254.0,?254????

31
???(Cont.)
  • ?????????(subnet mask)???????
  • ??????????1?,????????
  • ??????????0?,????????

32
???(Cont.)
33
???(Cont.)
  • IP??????????????,?????????
  • ??????0,?????????
  • ??????1,??broadcast????
  • ??IP???????????????? 2n 2,n???????????????

34
???(Cont.)
  • ??,140.112.0.0 (255.255.255.0),????????????28 2
    254 ,???????????28 2 254

35
IP Prefix
  • CIDR (Classless Interdomain Routing)
    ????IP??(??A, ??B, ??C)????IP Prefix
  • IP Prefix??? IP?? / ?????????
  • ??,140.112.3.0/24

36
IP Prefix
37
??????
38
ARP Address Resolution Protocol
  • IP segment?????????(????????)
  • ARP???IP??????????????
  • ?????????????????

39
?????
  • ??????????????
  • ???????
  • ??????(TCP)
  • ???????(UDP)

40
TCP?????
  • ??????????,??????????????
  • ????????(ACK), ?????(Checksum),
    ???(Timer)?????,?????????
  • ??Window Control??????

41
TCP Header ?? (Transmission Control Protocol)
42
TCP Header
  • Source Port Destination Port ????????????
  • Sequence Number ?????????????,??????????
  • Acknowledgment Number ????????????,?????????
  • Header Length TCP Header???

43
TCP Header(Cont.)
  • Reserved ???????
  • Flags ?6?bits???,??????????
  • URG ????
  • ACK ????,??????????
  • PSH push function
  • RST ????

44
TCP Header(Cont.)
  • SYN ??????
  • FIN ????????
  • Window Size ???????,??????????(?8???????)
  • Checksum ??????
  • Urgent Pointer ?????URG flag?1?,??????

45
TCP Header(Cont.)
  • Options ???????????????????????
  • Padding ?header???32?????

46
TCP???????
  • ??,?????????????
  • ???????,?????????
  • ???????
  • ?????????

47
Three-Way Handshack
48
Three-Way Handshack
49
UDP Header ?? (User Datagram Protocol)
50
UDP Header
  • Source Port ????????
  • Destination Port ????????
  • UDP Length ????????
  • Checksum ??????
Write a Comment
User Comments (0)
About PowerShow.com