802.16 ip telephone lab 1 connectivity test. 802.16 ip telephone lab 2 outline ping & icmp fast...

18
1 802.16 IP Telephone Lab Connectivity Test

Upload: tracy-hopkins

Post on 14-Dec-2015

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 802.16 IP Telephone Lab 1 Connectivity Test. 802.16 IP Telephone Lab 2 Outline Ping & ICMP Fast Ping (fping) & AutoStatus One-Way Ping

1

802.16 IP Telephone Lab

Connectivity Test

Page 2: 802.16 IP Telephone Lab 1 Connectivity Test. 802.16 IP Telephone Lab 2 Outline Ping & ICMP Fast Ping (fping) & AutoStatus One-Way Ping

2

802.16 IP Telephone Lab

Outline

• Ping & ICMP

• Fast Ping (fping) & AutoStatus

• One-Way Ping

Page 3: 802.16 IP Telephone Lab 1 Connectivity Test. 802.16 IP Telephone Lab 2 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

Page 4: 802.16 IP Telephone Lab 1 Connectivity Test. 802.16 IP Telephone Lab 2 Outline Ping & ICMP Fast Ping (fping) & AutoStatus One-Way Ping

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

Page 5: 802.16 IP Telephone Lab 1 Connectivity Test. 802.16 IP Telephone Lab 2 Outline Ping & ICMP Fast Ping (fping) & AutoStatus One-Way Ping

5

802.16 IP Telephone Lab

Probing Packets

Page 6: 802.16 IP Telephone Lab 1 Connectivity Test. 802.16 IP Telephone Lab 2 Outline Ping & ICMP Fast Ping (fping) & AutoStatus One-Way Ping

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

Page 7: 802.16 IP Telephone Lab 1 Connectivity Test. 802.16 IP Telephone Lab 2 Outline Ping & ICMP Fast Ping (fping) & AutoStatus One-Way Ping

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

Page 8: 802.16 IP Telephone Lab 1 Connectivity Test. 802.16 IP Telephone Lab 2 Outline Ping & ICMP Fast Ping (fping) & AutoStatus One-Way Ping

8

802.16 IP Telephone Lab

Page 9: 802.16 IP Telephone Lab 1 Connectivity Test. 802.16 IP Telephone Lab 2 Outline Ping & ICMP Fast Ping (fping) & AutoStatus One-Way Ping

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

Page 10: 802.16 IP Telephone Lab 1 Connectivity Test. 802.16 IP Telephone Lab 2 Outline Ping & ICMP Fast Ping (fping) & AutoStatus One-Way Ping

10

802.16 IP Telephone Lab

Page 11: 802.16 IP Telephone Lab 1 Connectivity Test. 802.16 IP Telephone Lab 2 Outline Ping & ICMP Fast Ping (fping) & AutoStatus One-Way Ping

11

802.16 IP Telephone Lab

Looking Glass Server

• Reverse traceroute

• http://www.six-de.net/lg/

Page 12: 802.16 IP Telephone Lab 1 Connectivity Test. 802.16 IP Telephone Lab 2 Outline Ping & ICMP Fast Ping (fping) & AutoStatus One-Way Ping

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

Page 13: 802.16 IP Telephone Lab 1 Connectivity Test. 802.16 IP Telephone Lab 2 Outline Ping & ICMP Fast Ping (fping) & AutoStatus One-Way Ping

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.

Page 14: 802.16 IP Telephone Lab 1 Connectivity Test. 802.16 IP Telephone Lab 2 Outline Ping & ICMP Fast Ping (fping) & AutoStatus One-Way Ping

14

802.16 IP Telephone Lab

Page 15: 802.16 IP Telephone Lab 1 Connectivity Test. 802.16 IP Telephone Lab 2 Outline Ping & ICMP Fast Ping (fping) & AutoStatus One-Way Ping

15

802.16 IP Telephone Lab

AutoStatus

Page 16: 802.16 IP Telephone Lab 1 Connectivity Test. 802.16 IP Telephone Lab 2 Outline Ping & ICMP Fast Ping (fping) & AutoStatus One-Way Ping

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!

Page 17: 802.16 IP Telephone Lab 1 Connectivity Test. 802.16 IP Telephone Lab 2 Outline Ping & ICMP Fast Ping (fping) & AutoStatus One-Way Ping

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.

Page 18: 802.16 IP Telephone Lab 1 Connectivity Test. 802.16 IP Telephone Lab 2 Outline Ping & ICMP Fast Ping (fping) & AutoStatus One-Way Ping

18

802.16 IP Telephone Lab

Tools Presentation

• Two independent speakers for each tool:– SIPp– Cacti– BWCTL– perfSONAR