Arp
used to view what layer 2 MAC address corresponds to as a known layer 3 IP address, can also use to statically add a "MAC address to IP address mapping" to a PCs Address Resolution Protocol (ARP)_ MAC Address Lookup table (ARP cache) Syntax: * arp -s inet_addr eth_addr [if_addr] * arp -d inet_addr [if_addr] * arp -a [inet_addr] [-N if_addr] [-v]
Ipconfig
displays IP address configuration parameters in windows PC, can also release/renew a DHCP lease
Syntax:
ipconfig [/all | /renew | /release | /renew6 | /release6]
nbtstat
displays NetBIOS information for IP based networks, can display a list of NetBIOS device names learned by windows PC
Syntax:
nbtstat [ [-a remote_name] [-A ip_address] [-c] [-n] [-r] [-R] [-S] ]
Netstat
displays various information about IP-based connections on PC, view information about current sessions, including source and destination IP addresses and port numbers, display protocol statistics
Syntax:
netstat [-a] [-b] [-e] [-f] [-p proto] [-r] [-s]
Nslookup
resolves a FQDN to an IP address
can be issues along with an FQDN or be used in interactive mode, where you are prompted to enter command parameters
Syntax:
nslookup [fqdn]
Ping
checks connectivity between two network devices
Syntax:
ping [-t] [-n count] [-l size] [-f] [-i TTL] [-S srcaddr] target_name
Ping with IPv6
* PING6 ipv6destinationaddress
Route
displays a PCs current IP routing table, can add/delete entries to or from that routing table
Syntax:
C:>route [-f] [-p] command [destination] [mask netmask] [gateway]
[metric metric] [if interface]
Tracert
pings every router hop from the source to the destination and reports the rountrip time for each router hop, can help identify any slow links connecting routers along the path from source to destination
Syntax:
C:>tracert destination
Tracert with IPv6
similar to tracert, IPv6 path through a network can be verified Syntax: * tracert destinationipv6addr * tracert6 destinationipv6addr * tracert -6 destinationipv6addr
PathPing
combines features of ping and tracert over a period of time, shows the amount of packet loss at any given router so you can identify routers that are causing issues