Switch Test Presentation The Outline 1 2 3

















- Slides: 17
Switch Test Presentation The Outline 1. 2. 3. 4. 5. The concept of ping TCP/IP protocol ICMP Ethereal RFC standard for benchmark www. inventecesc. com
The concept of Ping tool A ping B ICMP Type = 8 ICMP Type = 0 A電腦 B電腦 www. inventecesc. com
TCP/IP Structure www. inventecesc. com
TCP/IP Model Application TCP IP Application: IE、Web Server… HTTP、FTP、TELNET、 SNMP、NFS Protocol: HTTP、FTP… TCP、UDP IP、ICMP、ARP、RARP Physical Layer: Ethernet、FDDI、Token Ring…. www. inventecesc. com
TCP/IP VS. OSI Application TCP IP Physical Layer Application IE Presentation HTML Session HTTP Transport Port Number Network IP Address Data Link MAC Physical RJ-45 www. inventecesc. com
TCP/IP Stack IE Apache/IIS HTML HTTP GET 2190 80 192. 1. 1. 1 211. 2. 1. 1 00 -11 BB-2211 -DD AA-2 CDD-15 -F 3 -VV Response A電腦 Google RJ 45 www. inventecesc. com Fiber
ICMP Code All 8 0 Type 16 Code Identifier 32 Checksum Sequence Number OPTIONAL DATA. . . www. inventecesc. com
ICMP Code TYPE = 3 0 = network unreachable 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
Structure of test environment Switch 16 port Sender Receiver 1 Receiver 2 (Packet size = 65500 in windows and 65507 in Linux) www. inventecesc. com
Sender information BACK www. inventecesc. com
www. inventecesc. com
www. inventecesc. com
Receive packet rule in non-promiscuous mode • Broadcast • Personal IP www. inventecesc. com
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%往下測試為標準 請參照 RFC 2544 page 16 -- 26. 3 RFC 2889 page 3 -- 5. 1. 2 www. inventecesc. com
Reference • RFC 2544 • RFC 2889 • RFC 1242 www. inventecesc. com