170 likes | 287 Views
The Outline The concept of ping TCP/IP protocol ICMP Ethereal RFC standard for benchmark. Switch Test Presentation. ICMP Type = 8. ICMP Type = 0. A 電腦. B 電腦. The concept of Ping tool. A ping B. TCP/IP Structure. Application : IE 、 Web Server…. Protocol : HTTP 、 FTP…. TCP/IP Model.
E N D
The Outline The concept of ping TCP/IP protocol ICMP Ethereal RFC standard for benchmark Switch Test Presentation www.inventecesc.com
ICMP Type = 8 ICMP Type = 0 A電腦 B電腦 The concept of Ping tool A ping B www.inventecesc.com
TCP/IP Structure www.inventecesc.com
Application: IE、Web Server… Protocol: HTTP、FTP… TCP/IP Model www.inventecesc.com
TCP/IP VS. OSI www.inventecesc.com
HTTP GET Response A電腦 Google TCP/IP Stack www.inventecesc.com
ICMP Code All 8 16 32 0 www.inventecesc.com
ICMP Code TYPE = 3 0 = network unreachable router router 1 = host unreachable router DNS 2 = protocol unreachable host Service 3 = port unreachable host Port Num 4 = fragmentation needed but impossible router because of 'don't fragment' command MTU 5 = source route not reachable router routing www.inventecesc.com
ICMP Code TYPE = 8 - Echo Request sent by: 0 = (no special meaning) host, router TYPE = 0 - Echo Reply sent by: 0 = (no special meaning) host, router www.inventecesc.com
Switch 16 port Sender Receiver1 Receiver2 Structure of test environment (Packet size = 65500 in windows and 65507 in Linux) www.inventecesc.com
Sender information BACK www.inventecesc.com
Receive packet rule in • non-promiscuous mode • Broadcast • Personal IP www.inventecesc.com
Structure of test environment Simple equation ( ( input_count - output_count ) * 100 ) / input_count A電腦送出10000個封包 (ICMP TYPE=8) B電腦收到9500個封包 (ICMP TYPE=0) Frame loss數目 = 10000 – 9500 = 500 1 - 500/10000 = 95% Frame loss定義為降90%往下測試為標準 請參照 RFC2544 page16 -- 26.3 RFC2889 page3 -- 5.1.2 www.inventecesc.com
Reference • RFC2544 • RFC2889 • RFC1242 www.inventecesc.com