IP Telephone Lab 1 Connectivity Test
IP Telephone Lab 2 Outline Ping & ICMP Fast Ping (fping) & AutoStatus One-Way Ping
IP Telephone Lab 3 Ping Pinging with 32 bytes of data: Reply from : bytes=32 time<1ms TTL=64 Ping statistics for : Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms
IP Telephone Lab 4 ICMP Packet Format RFC 792 – Internet Control Message Protocol
IP Telephone Lab 5 Probing Packets
IP Telephone Lab 6 Round-Trip Time Client Server ms ms ms ms request reply request reply
IP Telephone Lab 7 166ms to Berkeley Pinging [ ] with 32 bytes of data: Reply from : bytes=32 time=166ms TTL=46 Ping statistics for : Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 166ms, Maximum = 166ms, Average = 166ms
IP Telephone Lab 8
9 330ms to France Pinging [ ] with 32 bytes of data: Reply from : bytes=32 time=330ms TTL=39 Ping statistics for : Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 330ms, Maximum = 330ms, Average = 330ms
IP Telephone Lab 10
IP Telephone Lab 11 Looking Glass Server Reverse traceroute
IP Telephone Lab 12 HW 1 Find a website which provides the reverse traceroute service. Mail the following information to voip- –URL of the service –Is it dual-stack or IPv4-only? –What interesting services (in addition to ping and traceroute) did you find? Due: (Tue) 13:00
IP Telephone Lab 13 fping fping < FILENAME fping -g /24 –A class C subnet is scanned in 30 seconds.
IP Telephone Lab 14
IP Telephone Lab 15 AutoStatus
IP Telephone Lab 16 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. ftp.ncnu.edu.tw:21 No way to check UDP services!
IP Telephone Lab 17 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.
IP Telephone Lab 18 Tools Presentation Two independent speakers for each tool: –SIPp –Cacti –BWCTL –perfSONAR