802.16 ip telephone lab 1 connectivity test. 802.16 ip telephone lab 2 outline ping & icmp fast...
TRANSCRIPT
1
802.16 IP Telephone Lab
Connectivity Test
2
802.16 IP Telephone Lab
Outline
• Ping & ICMP
• Fast Ping (fping) & AutoStatus
• One-Way Ping
3
802.16 IP Telephone Lab
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
4
802.16 IP Telephone Lab
ICMP Packet Format• RFC 792 – Internet Control Message Protocol
00
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Type Code Checksum
unused
Identifier Sequence Number
Data
5
802.16 IP Telephone Lab
Probing Packets
6
802.16 IP Telephone Lab
Round-Trip TimeClientServer
0.000 ms
9.952 ms
1006.122 ms
1017.039 ms
request
reply
request
reply
7
802.16 IP Telephone Lab
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
8
802.16 IP Telephone Lab
9
802.16 IP Telephone Lab
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
10
802.16 IP Telephone Lab
11
802.16 IP Telephone Lab
Looking Glass Server
• Reverse traceroute
• http://www.six-de.net/lg/
12
802.16 IP Telephone Lab
HW 1
• Find a website which provides the reverse traceroute service.
• Mail the following information to [email protected].– URL of the service– Is it dual-stack or IPv4-only?– What interesting services (in addition to ping a
nd traceroute) did you find?
• Due: 2009.9.29 (Tue) 13:00
13
802.16 IP Telephone Lab
fping
• fping < FILENAME
• fping -g 163.22.20.0/24– A class C subnet is scanned in 30 seconds.
14
802.16 IP Telephone Lab
15
802.16 IP Telephone Lab
AutoStatus
16
802.16 IP Telephone Lab
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, t
he attempt to establish a connection at ftp.ncnu.edu.tw:21 will succeed.
• No way to check UDP services!
17
802.16 IP Telephone Lab
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.
18
802.16 IP Telephone Lab
Tools Presentation
• Two independent speakers for each tool:– SIPp– Cacti– BWCTL– perfSONAR