Miscellaneous TCP / IP Tips

C:\WINDOWS> tracert -?

Usage: tracert [-d] [-h maximum_hops] [-j host-list] [-w timeout] target_name

Options:

-d Do not resolve addresses to hostnames.

-h maximum_hops Maximum number of hops to search for target.

-j host-list Loose source route along host-list.

-w timeout Wait timeout milliseconds for each reply.

C:\WINDOWS>

C:\WINDOWS> netstat -a

Active Connections

Proto Local Address Foreign Address State

TCP epix:1144 192.168.0.1:nbsession ESTABLISHED

UDP epix:domain *:*

UDP epix:1030 *:*

UDP epix:nbname *:*

UDP epix:nbdatagram *:*

UDP epix:nbname *:*

UDP epix:nbdatagram *:*

C:\WINDOWS>

C:\WINDOWS> netstat -e

Interface Statistics

Received Sent

Bytes 11506394 8550634

Unicast packets 11926 14509

Non-unicast packets 6337 229

Discards 0 0

Errors 0 0

Unknown protocols 0

C:\WINDOWS>

C:\WINDOWS> netstat -n

Active Connections

Proto Local Address Foreign Address State

TCP 192.168.0.2:1144 192.168.0.1:139 ESTABLISHED

C:\WINDOWS>

 

IP Statistics

Packets Received = 18159

Received Header Errors = 0

Received Address Errors = 0

Datagrams Forwarded = 0

Unknown Protocols Received = 0

Received Packets Discarded = 0

Received Packets Delivered = 18159

Output Requests = 14681

Routing Discards = 204

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

ICMP Statistics

Received Sent

Messages 49 50

Errors 0 0

Destination Unreachable 0 1

Time Exceeded 42 0

Parameter Problems 0 0

Source Quenchs 0 0

Redirects 0 0

Echos 0 49

Echo Replies 7 0

Timestamps 0 0

Timestamp Replies 0 0

Address Masks 0 0

Address Mask Replies 0 0

TCP Statistics

Active Opens = 85

Passive Opens = 0

Failed Connection Attempts = 0

Reset Connections = 62

Current Connections = 1

Segments Received = 11754

Segments Sent = 14318

Segments Retransmitted = 22

UDP Statistics

Datagrams Received = 6355

No Ports = 1

Receive Errors = 0

Datagrams Sent = 291

C:\WINDOWS>

C:\WINDOWS> netstat -r

Route Table

Active Routes:

Network Address Netmask Gateway Address Interface Metric

0.0.0.0 0.0.0.0 199.224.69.203 199.224.69.203 1

127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1

192.168.0.0 255.255.255.0 192.168.0.2 192.168.0.2 2

192.168.0.2 255.255.255.255 127.0.0.1 127.0.0.1 1

192.168.0.255 255.255.255.255 192.168.0.2 192.168.0.2 1

199.224.69.0 255.255.255.0 199.224.69.203 199.224.69.203 1

199.224.69.203 255.255.255.255 127.0.0.1 127.0.0.1 1

199.224.69.255 255.255.255.255 199.224.69.203 199.224.69.203 1

224.0.0.0 224.0.0.0 199.224.69.203 199.224.69.203 1

224.0.0.0 224.0.0.0 192.168.0.2 192.168.0.2 1

255.255.255.255 255.255.255.255 192.168.0.2 192.168.0.2 1

Active Connections

Proto Local Address Foreign Address State

TCP epix:1144 192.168.0.1:nbsession ESTABLISHED

C:\WINDOWS>

C:\WINDOWS> netstat -?

Displays protocol statistics and current TCP/IP network connections.

NETSTAT [-a] [-e] [-n] [-s] [-p proto] [-r] [interval]

-a Displays all connections and listening ports. (Server-side

connections are normally not shown).

-e Displays Ethernet statistics. This may be combined with the -s

option.

-n Displays addresses and port numbers in numerical form.

-p proto Shows connections for the protocol specified by proto; proto

may be tcp or udp. If used with the -s option to display

per-protocol statistics, proto may be tcp, udp, or ip.

-r Displays the contents of the routing table.

-s Displays per-protocol statistics. By default, statistics are

shown for TCP, UDP and IP; the -p option may be used to specify

a subset of the default.

interval Redisplays selected statistics, pausing interval seconds

between each display. Press CTRL+C to stop redisplaying

statistics. If omitted, netstat will print the current

configuration information once.

 

C:\WINDOWS>

Tracing route to 206.228.73.254 over a maximum of 30 hops

1 139 ms 125 ms 128 ms lwby-69terminal04.epix.net [199.224.69.11]

2 131 ms 138 ms 121 ms lwby.epix.net [199.224.69.1]

3 139 ms 128 ms 141 ms svcr05-2.epix.net [199.224.88.53]

4 134 ms 142 ms 129 ms svcr03-1.epix.net [199.224.88.49]

5 156 ms 133 ms 139 ms svcr01-2.epix.net [199.224.103.193]

6 229 ms 204 ms 139 ms svcr02-1.epix.net [199.224.103.186]

7 143 ms 137 ms 307 ms svcr04-1.epix.net [199.224.88.22]

8 217 ms 162 ms 137 ms clsm02-2.epix.net [199.224.88.26]

9 168 ms 161 ms 173 ms sl-pen-14-S4/0-4xT1.sprintlink.net [144.228.164.

45]

10 175 ms 159 ms 171 ms 208.28.7.25

11 168 ms 194 ms 164 ms 144.232.0.77

12 186 ms 204 ms 200 ms sl-pen-9-F0/0.sprintlink.net [144.228.60.9]

13 219 ms 425 ms 304 ms sl-microserveply-1-S0-T1.sprintlink.net [144.228

.69.138]

14 507 ms 381 ms 183 ms cr-harris1-e01-inet2.east.microserve.net [207.44

.7.34]

15 183 ms 206 ms 209 ms 206.228.73.254

Trace complete.

C:\WINDOWS>