Cover | Table of Contents
route command with the print option to display the routing table. Here is a simple routing table from a small system:
C:\>route print
IPv4 Route Table
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x10003 ...00 50 ba 3f c2 5e ...... D-Link DFE-530TX+ PCI Adapter
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 172.16.12.1 172.16.12.20 30
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
172.16.12.0 255.255.255.0 172.16.12.20 172.16.12.20 30
172.16.12.20 255.255.255.255 127.0.0.1 127.0.0.1 30
172.16.12.255 255.255.255.255 172.16.12.20 172.16.12.20 30
224.0.0.0 240.0.0.0 172.16.12.20 172.16.12.20 30
255.255.255.255 255.255.255.255 172.16.12.20 172.16.12.20 1
Default Gateway: 172.16.12.1
===========================================================================
Persistent Routes:
None
arp command displays or modifies the contents of the ARP table. To display the entire ARP table, use the arp -a command. Display individual entries by specifying the individual host after the -a argument on the arp command line. For example, to check the ARP table entry for IP address 192.168.0.2 enter:
C:\>arp -a 192.168.0.2
Interface: 192.168.0.20 --- 0x10003
Internet Address Physical Address Type
192.168.0.2 00-e0-4c-9b-99-19 dynamic
-a option with no host address. arp -a produces the following output:
C:\> arp -a
Interface: 192.168.0.20 --- 0x10003
Internet Address Physical Address Type
192.168.0.2 00-e0-4c-9b-99-19 dynamic
192.168.0.3 00-00-c0-9a-72-ca dynamic
192.168.0.12 00-10-a4-8b-8b-97 static
http://www.iana.org. Windows Server 2003 systems document protocol and port numbers in two simple text files.#. An example of a protocol file is shown below:
C:\>type %SystemRoot%\system32\drivers\etc\protocol
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This file contains the Internet protocols as defined by RFC 1700
# (Assigned Numbers).
#
# Format:
#
# <protocol name> <assigned number> [aliases...] [#<comment>]
ip 0 IP # Internet protocol
icmp 1 ICMP # Internet control message protocol
ggp 3 GGP # Gateway-gateway protocol
tcp 6 TCP # Transmission control protocol
egp 8 EGP # Exterior gateway protocol
pup 12 PUP # PARC universal packet protocol
udp 17 UDP # User datagram protocol
hmp 20 HMP # Host monitoring protocol
xns-idp 22 XNS-IDP # Xerox NS IDP
rdp 27 RDP # "reliable datagram" protocol
rvd 66 RVD # MIT remote virtual disk
A name indicates what we seek. An address indicates where it is. A route indicates how to get there.
A name indicates what we seek. An address indicates where it is. A route indicates how to get there.
C:\>ping 172.16.12.2
C:\>ping pooh.example.com
#.
#
# Table of IP addresses and hostnames
#
172.16.12.2 pooh.example.com pooh
127.0.0.1 localhost
172.16.12.1 thoth.example.com thoth www
172.16.12.4 wotan.example.com wotan
172.16.12.3 kerby.example.com kerby
172.16.1.2 kiwi.example.com kiwi
172.16.6.10 thor.sales.example.com thor.sales thor
pooh.example.com and the alternate hostname (or alias) pooh. The hostname and all of its aliases resolve to the same IP address, in this case 172.16.12.2.
172.16.6.16 anubis
172.16.6.10 thor
172.16.6.7 theodore
#PRE
#PRE to speed up address resolution for frequently used hostnames.#DOM:
domain
#INCLUDE
file
|
Command
|
Syntax
|
Function
|
|---|---|---|
|
Hello
|
HELO <
sending-host
>
|