1 / 10

TCP Header 與 IP Header 介紹

TCP Header 與 IP Header 介紹. A0923318 許孟喬. IP Header. Type of Service (TOS). 這裡指的是 IP 封包在傳送過程中要求的服務類型,其中一共由 8 個 bit 組成: 000..... Routine 設定 IP 順序 ﹐ 預設為 0﹐ 否則 ﹐ 數值越高越優先 ...0.... Delay 延遲要求 ﹐0 是正常值 ﹐1 為低要求 ....0... Throughput 通訊量要求 ﹐0 為正常值 ﹐1 為高要求

dympna
Download Presentation

TCP Header 與 IP Header 介紹

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. TCP Header與IP Header 介紹 A0923318 許孟喬

  2. IP Header

  3. Type of Service(TOS) 這裡指的是 IP封包在傳送過程中要求的服務類型,其中一共由 8 個 bit組成: 000.....Routine設定IP順序﹐預設為0﹐否則﹐數值越高越優先 ...0....Delay延遲要求﹐0是正常值﹐1為低要求 ....0...Throughput通訊量要求﹐0為正常值﹐1為高要求 .....0..Reliability可靠性要求﹐0為正常值﹐1為高要求 ......00 Not Used未使用

  4. Flag • 這是當封包在傳輸過程中進行最佳組合時使用的 3 個 bit 的識別記號。 位元 0 : 保留 位元 1 : 0表示可以fragment,1表示不可 fragment 位元 2 : 0表示是最後一個fragment,1表示後面 還有資料

  5. Fragment Offset • 表示分割後的fragment在原來segment中的相對位置 Time To Live (TTL) • 在網路中存活的時間

  6. Protocol • 這裡指的是該封包所使用的網路協定類型,像是ICMP 或 TCP/UDP等等。 Header Checksum • 這個數值主要用來檢查錯誤用的,用以確保封包被正確無誤的接收到。當封包開始進行傳送後,接收端主機會利用這個檢驗值會來檢驗餘下的封包,如果一切看來無誤,就會發出確認信息,表示接收正常。

  7. TCP Header

  8. Sequence Number • 表示此資料段在訊息中的序號,接收端依序組合資料段 Acknowledgment Number • 接收端希望下次收到的序號,也是回應已收到封包

  9. Flags • 由6個bits所組成,控制資料的傳輸與連結 • URG : 緊急指標 • ACK : 如果設定,表示此封包有一個回應 • PSH : push function • RST : 重設連結 • SYN : 建立順序號碼 • FIN : 傳送資料到此為止

  10. Window Size • 使用於流量控制,表示能接收資料的數目 Urgent Pointer • 緊急指標。URG flag為1時,此欄位才生效

More Related