180 likes | 324 Views
Connectivity Test. Outline. Ping & ICMP Fast Ping (fping) & AutoStatus One-Way Ping. Ping. Pinging 163.22.20.115 with 32 bytes of data: Reply from 163.22.20.115: bytes=32 time<1ms TTL=64 Reply from 163.22.20.115: bytes=32 time<1ms TTL=64 Reply from 163.22.20.115: bytes=32 time<1ms TTL=64
E N D
Outline • Ping & ICMP • Fast Ping (fping) & AutoStatus • One-Way Ping
Ping • Pinging 163.22.20.115 with 32 bytes of data: • Reply from 163.22.20.115: bytes=32 time<1ms TTL=64 • Reply from 163.22.20.115: bytes=32 time<1ms TTL=64 • Reply from 163.22.20.115: bytes=32 time<1ms TTL=64 • Reply from 163.22.20.115: bytes=32 time<1ms TTL=64 • Ping statistics for 163.22.20.115: • Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), • Approximate round trip times in milli-seconds: • Minimum = 0ms, Maximum = 0ms, Average = 0ms
ICMP Packet Format • RFC 792 – Internet Control Message Protocol
Round-Trip Time Client Server 0.000 ms request reply 9.952 ms 1006.122 ms request reply 1017.039 ms
166ms to Berkeley • Pinging www.berkeley.edu [169.229.131.81] with 32 bytes of data: • Reply from 169.229.131.81: bytes=32 time=166ms TTL=46 • Reply from 169.229.131.81: bytes=32 time=166ms TTL=46 • Reply from 169.229.131.81: bytes=32 time=166ms TTL=46 • Reply from 169.229.131.81: bytes=32 time=166ms TTL=46 • Ping statistics for 169.229.131.81: • Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), • Approximate round trip times in milli-seconds: • Minimum = 166ms, Maximum = 166ms, Average = 166ms
330ms to France • Pinging www.it-sudparis.eu [157.159.11.8] with 32 bytes of data: • Reply from 157.159.11.8: bytes=32 time=330ms TTL=39 • Reply from 157.159.11.8: bytes=32 time=330ms TTL=39 • Reply from 157.159.11.8: bytes=32 time=330ms TTL=39 • Reply from 157.159.11.8: bytes=32 time=330ms TTL=39 • Ping statistics for 157.159.11.8: • Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), • Approximate round trip times in milli-seconds: • Minimum = 330ms, Maximum = 330ms, Average = 330ms
Looking Glass Server • Reverse traceroute • http://www.six-de.net/lg/
HW 1 • Find a website which provides the reverse traceroute service. • Mail the following information to voip-ta@ipv6.club.tw. • URL of the service • Is it dual-stack or IPv4-only? • What interesting services (in addition to ping and traceroute) did you find? • Due: 2009.9.29 (Tue) 13:00
fping • fping < FILENAME • fping -g 163.22.20.0/24 • A class C subnet is scanned in 30 seconds.
AutoStatus • Use “fping” to check whether servers are on-line. • Use “tcp_check.c” to check that services are running. • If the FTP server is listening at TCP port 21, the attempt to establish a connection at ftp.ncnu.edu.tw:21 will succeed. • No way to check UDP services!
HW 2 • Query an IP phone with the OPTIONS method. • Write a SIPp script or a sipcheck.c (similar to the tcpcheck.c in AutoStatus) • Return -1 on failure; 0 on success. • Try to integrate this tool to AutoStatus • You may need to modify AutoStatus so that its “hosts” configuration file can specify the UDP port.
Tools Presentation • Two independent speakers for each tool: • SIPp • Cacti • BWCTL • perfSONAR