Sieu ho tro Homepage
Forum Home Forum Home > Information Technology > HĐH Windows
  New Posts New Posts RSS Feed - TCP/IP Tools
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

TCP/IP Tools

 Post Reply Post Reply
administrator View Drop Down


Joined: 14 October 2005
Status: Offline
Points: 510
Post Options Post Options   Thanks (0) Thanks(0)   Quote administrator Quote  Post ReplyReply Direct Link To This Post Topic: TCP/IP Tools
    Posted: 31 July 2012 at 13:34
TCP/IP Tools

arp - Used to view the arp cache.
ipconfig - Displays the configuration settings for the host.
nbtstat - Used to troubleshoot NetBIOS name resolution problems.
netstat - Current connections, routing tables, interface statistics, netlink messages, multicast mamberships, and masquerade connections are displayed,
nslookup - Name server lookup for DNS.
ping - Used to verify that another host may be reached with an ICMP packet.
route - View or modify the local route table.
snmp - Remote management of network devices.
tracert - Traceroute traces a route through routers from one IP address to another.
Other Windows tools

Event Log
Performance Monitor
Registry Editor


ARP -a or ARP -g - Display all entries in the ARP cache
ARP -s - Add static entry to the ARP cache table. Syntax: "arp -s (ip address) (mac address)"
ARP -d ipaddress - Delete an entry.

IP configuration determination is determined with the following programs on the listed operating systems. It reports IP address, subnet mask, default gateway

Ifconfig for Linux/Unix
Ipconfig for NT
Winipcfg for Windows 95/98
IPConfig options:

/all - Shows much configuration information from local hostname, IP address, subnet mask to DHCP server and WINS server address and lease dates. It will display an IP address of and DHCP address of if the DHCP attempt was unsuccessful. Items displayed:
Host name
Net mask
NetBIOS node type - B, P, M, or H node.
NetBIOS Scope ID assignment
DNS server addresses
"NetBIOS resolution via DNS Enabled Status"
WINS servers IP addresses
"IP Routing enabled status"
"WINS Proxy's Enabled Status"
"DHCP's Enabled Status"
Network card description
Netword card MAC address.
/renew - Renews the DHCP lease
/release - Releases the DHCP lease and the IP address is available for other clients.


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


-a - (All) Show all connections and listening ports.
-e - (Ethernet) Show ethernet statistics. Combined with the -s option it will show protocol statistics..
-n (Numerical) Show addresses and port numbers in numerical form.
-p protoname - Shows connections for the specified protocol. The possible protocol includes TCP and UDP. The -s option used with this option will show statistics for each protocol.
-r - (Route) Show the routing table.
-s - (Statistics) Show protocol statistics. The default, statistics are TCP, UDP and IP. Used with the -p option, a subset of the default is displayed.
interval - The amount of time (interval) in seconds to pause between each display of statistics. CTRL C is used to stop redisplaying statistics. If the interval is not included the current configuration information is displayed once.

Uses interactive or noninteractive (command line) modes. If noninteractive mode is used, nslookup is just invoked with its name on the command line and no computer name to lookup is specified. Syntax:

nslookup [-options] computername [-DNSserver]



route add [network address] mask value [gateway address] EX: route add mask
route -p add [network address] mask value [gateway address] - A permanent route is added.
route change [network address] [gateway address]
route delete [network address] [gateway address]
route print [network address] [gateway address]
route -s [gateway address] = Add a route to a smart gateway
route -f = Clear all routes (flush).
The -p option is used to make the route permanent and it is stored in the system registry. NT comes with RIP dynamic capability.


Tracert allows path determination from one computer to another. It will list the IP addresses of the machines the data must pass through. Example usage:

tracert IPaddress

The IP address is the address of a remote computer you want to find the path to.

Network Monitor

Can capture data based on source and destination MAC, or IP address along with other filtering capability.

ICMP helps determine when packets are not delivered correctly. IGP (Interior Gateway Protocol) includes RIP and OSPF protocols.


Used to manage the NetBIOS cache. Syntax:

NBTSTAT [-a RemoteName] [-A IP address] [-c] [-n] [-r] [-R] [-s] [S] [interval] ]

NBTSTAT command     Result
nbtstat -a machinename     View the remote computer NetBIOS name table specified by name of machine
nbtstat -A IPaddress     View the remote computer NetBIOS name table specified by IP address
nbtstat -c     View the remote machine NetBIOS name cache including the IP addresses
nbtstat -n     View local NetBIOS computer names
nbtstat -r     View NetBIOS names resolved using broadcast or WINS.
nbtstat -R     Purge then reload NetBIOS cache from lmhosts file
nbtstat -s     View the sessions table with the destination IP address.
nbtstat -S     View the sessions table by converting the destination address to host names using the hosts file.
Back to Top
Sponsored Links

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.

This page was generated in 0.125 seconds.
bao ky nam , Thuoc nam ky dieu
C?a thp ch?ng chy,cua thep chong chay,c?a ch?ng chy,cua chong chay,c?a nh?a abs,cua nhua abs,c?a abs,cua abs,cua thep van go,c?a thp vn g?,c?a thp an ton,cua thep an toan,c?a cu?n ch?ng chy,cua cuon chong chay,c?a g? ch?ng chy,cua go chong chay,c?a tru?t t? d?ng,cua truot tu dong,c?a knh ch?ng chy,cua kinh chong chay