Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
51
Добавлен:
11.04.2015
Размер:
22.9 Mб
Скачать

Chapter 2 IPv6 Protocol for Windows Server 2008 and Windows Vista

41

Tracert

The Tracert tool determines the path taken to a destination. For IPv4, Tracert sends ICMPv4 Echo messages to the destination with incrementally increasing TTL field values. For IPv6, Tracert sends ICMPv6 Echo Request messages to the destination with incrementally increasing Hop Limit field values. Tracert displays the path as the list of nearside router interfaces of the routers in the path between a source host and a destination node.

The Tracert tool in Windows Server 2008 and Windows Vista has been enhanced to support IPv6 in the following ways:

Tracert can parse both IPv4 and IPv6 address formats.

If you specify a target host by name, the addresses returned using Windows name resolution techniques can contain both IPv4 and IPv6 addresses—in which case, by default, an IPv6 address is preferred (subject to source and destination address selection).

The following is an example display of the Tracert tool on a computer running Windows Server 2008 or Windows Vista:

F:\>tracert 2001:db8:1:f282:dd48:ab34:d07c:3914

Tracing route to 2001:db8:1:f282:dd48:ab34:d07c:3914 over a maximum of 30 hops

1

<1 ms

<1 ms

<1 ms

2001:db8:1:f241:2b0:d0ff:fea4:243d

2

<1 ms

<1 ms

<1 ms

2001:db8:1:f2ac:2b0:d0ff:fea5:d347

3

<1 ms

<1 ms

<1 ms

2001:db8:1:f282:dd48:ab34:d07c:3914

Trace complete.

The following Tracert command-line options support IPv6:

-R

Forces Tracert to trace the round-trip path by sending the ICMPv6 Echo Request message to the destination, including an IPv6 Routing extension header with the sending node as the next destination

-S SourceAddr

Forces Tracert to use a specified IPv6 source address

-4

Forces Tracert to use an IPv4 address when the DNS name query for a host name returns both IPv4 and IPv6 addresses

-6

Forces Tracert to use an IPv6 address when the DNS name query for a host name returns both IPv4 and IPv6 addresses

42 Understanding IPv6, Second Edition

Note The Tracert -j host-list command-line option is not supported for IPv6.

Pathping

The Pathping tool provides information about network latency and network loss at intermediate hops between a source and destination. For IPv4, Pathping sends multiple ICMPv4 Echo messages to each router between a source and destination over a period of time, and then it computes results based on the packets returned from each router. For IPv6, Pathping sends ICMPv6 Echo Request messages. Because Pathping displays the degree of packet loss at any given router or link, you can determine which routers or subnets might be having network problems. Pathping performs the equivalent of the Tracert tool by identifying which routers are in the path, and then it sends messages periodically to all the routers over a specified time period and computes statistics based on the number returned from each.

The Pathping tool in Windows Server 2008 and Windows Vista has been enhanced to support IPv6 in the following ways:

Pathping can parse both IPv4 and IPv6 address formats.

If you specify a target host by name, the addresses returned using Windows name resolution techniques can contain both IPv4 and IPv6 addresses—in which case, by default, an IPv6 address is preferred (subject to source and destination address selection).

The following is an example display of the Pathping tool on a computer running Windows Server 2008 or Windows Vista:

F:\>pathping 2001:db8:1:f282:dd48:ab34:d07c:3914

Tracing route to 2001:db8:1:f282:dd48:ab34:d07c:3914 over a maximum of 30 hops

0server1.example.microsoft.com [2001:db8:1:f282:204:5aff:fe56:1006]

12001:db8:1:f282:dd48:ab34:d07c:3914

Computing statistics for 25 seconds...

 

 

 

 

Source to Here

This Node/Link

 

Hop

RTT

Lost/Sent = Pct

Lost/Sent = Pct

Address

0

 

 

 

 

server1.example.microsoft.com

[2001:db8:1:f282:204:5aff:fe56:1006]

 

 

 

 

 

0/ 100

= 0%

|

1

0ms

0/ 100 = 0%

0/ 100

= 0% 2001:db8:1:f282:dd48:ab34:d07c:

3914

 

 

 

 

 

Trace complete.

 

 

 

The following Pathping command-line options support IPv6:

-4

Forces Pathping to use an IPv4 address when the DNS name query for a host name returns both IPv4 and IPv6 addresses

Chapter 2 IPv6 Protocol for Windows Server 2008 and Windows Vista

43

-6

Forces Pathping to use an IPv6 address when the DNS name query for a host name returns both IPv4 and IPv6 addresses

Note The Pathping -g host-list command-line option is not supported for IPv6.

Netstat

The Netstat tool displays active TCP connections, ports on which the computer is listening, Ethernet statistics, the IPv4 routing table, IPv4 statistics (for the IP, ICMP, TCP, and UDP protocols), the IPv6 routing table, and IPv6 statistics (for the IPv6, ICMPv6, TCP over IPv6, and UDP over IPv6 protocols).

The following is an example display of the Netstat tool on a computer running Windows Server 2008 or Windows Vista:

F:\>netstat -s

 

IPv4 Statistics

 

Packets Received

= 187107

Received Header Errors

= 0

Received Address Errors

= 84248

Datagrams Forwarded

= 0

Unknown Protocols Received

= 0

Received Packets Discarded

= 0

Received Packets Delivered

= 186194

Output Requests

= 27767

Routing Discards

= 0

Discarded Output Packets

= 0

Output Packet No Route

= 0

Reassembly Required

= 0

Reassembly Successful

= 0

Reassembly Failures

= 0

Datagrams Successfully Fragmented

= 0

Datagrams Failing Fragmentation

= 0

Fragments Created

= 0

IPv6 Statistics

 

Packets Received

= 53118

Received Header Errors

= 0

Received Address Errors

= 0

Datagrams Forwarded

= 0

Unknown Protocols Received

= 0

Received Packets Discarded

= 0

Received Packets Delivered

= 0

Output Requests

= 60695

Routing Discards

= 0

Discarded Output Packets

= 0

44

Understanding IPv6, Second Edition

 

 

Output Packet No Route

 

= 0

 

Reassembly Required

 

= 0

 

Reassembly Successful

 

= 0

 

Reassembly Failures

 

= 0

 

Datagrams Successfully Fragmented

= 0

 

Datagrams Failing Fragmentation

= 0

 

Fragments Created

 

= 0

 

ICMPv4 Statistics

 

 

 

 

Received

Sent

 

Messages

682

881

 

Errors

0

0

 

Destination Unreachable

2

201

 

Time Exceeded

0

0

 

Parameter Problems

0

0

 

Source Quenches

0

0

 

Redirects

0

0

 

Echos

340

340

 

Echo Replies

340

340

 

Timestamps

0

0

 

Timestamp Replies

0

0

 

Address Masks

0

0

 

Address Mask Replies

0

0

 

ICMPv6 Statistics

 

 

 

 

Received

Sent

 

Messages

309

80

 

Errors

0

0

 

Destination Unreachable

193

0

 

Echos

4

0

 

Echo Replies

0

4

 

MLD Reports

0

6

 

Router Solicitations

0

7

 

Router Advertisements

54

0

 

Neighbor Solicitations

31

32

 

Neighbor Advertisements

27

31

 

TCP Statistics for IPv4

 

 

 

Active Opens

 

= 128

 

Passive Opens

 

= 106

 

Failed Connection Attempts

 

= 0

 

Reset Connections

 

= 3

 

Current Connections

 

= 16

 

Segments Received

 

= 22708

 

Segments Sent

 

= 26255

 

Segments Retransmitted

 

= 37

 

TCP Statistics for IPv6

 

 

 

Active Opens

 

= 74

 

Passive Opens

 

= 72

Соседние файлы в папке Lecture 2_10