Outline OSI Model & TCP/IP Model Internet Protocol TCP & UDP Wireshark Capture Filter References 2
OSI Model 3
Comparing TCP/IP with OSI 7
TCP/IP Model 8
Internet Protocol (IP) IPv 4 Length : 32 -bit, Header : 20 bytes IPv 6 Length : 128 -bit Header : 40 bytes Network ID 位於IP位址的前段,可用來識別所屬網路。 Host ID 位於IP位址的後段,可用來識別個別裝置。 9
Internet Protocol (cont. ) IPv 4 Header 10
Internet Protocol (cont. ) IPv 6 Header 11
Internet Protocol (cont. ) Class A (Range 1. x. x. x to 126. x. x. x) Class B (Range 128. x. x. x to 191. x. x. x) Class C (Range 192. x. x. x to 223. x. x. x) 12
Internet Protocol (cont. ) Private IP address Class A : 10. 0 - 10. 255 Class B : 172. 16. 0. 0 - 172. 31. 255 Class C : 192. 168. 0. 0 - 192. 168. 255 13
TCP Connection-oriented Establishment Maintenance Termination Reliability Data confirm Error correction Flow control Sliding Windows 15
TCP (cont. ) TCP Header 16
TCP (cont. ) Three-Way Handshake 17
TCP (cont. ) Flow control – Sliding Windows 18
UDP Connection-less No acks (Unconfirmed Service) High rate of transmission Unreliable No flow control 19
UDP (cont. ) 20
23
24
25
26
Capture Filter
28
References Wireshark official website http: //www. wireshark. org/ 網路教學-IP位址 http: //www. pcnet. idv. tw/pcnet/network_ip_addr. htm 網路教學-TCP與UDP http: //www. pcnet. idv. tw/pcnet/network_ip_tcp. ht m Sliding Windows Demo http: //www 2. rad. com/networks/2004/sliding_window/inde x. html 29