IP Command Lines

October 22, 2006 05:40:01

To get to the command prompt in Windows XP go to: Start, Run and in the empty box type cmd and then hit the enter key. If you do not have the RUN option please contact your network administrator.

Display Connection Configuration: ipconfig /all

Display DNS Cache Info Configuration: ipconfig /displaydns

Clear DNS Cache: ipconfig /flushdns

Release All IP Address Connections: ipconfig /release

Renew All IP Address Connections IP Configuration: ipconfig /renew

Refresh DHCP and Re-Register the DNS connections: ipconfig /registerdns

Display DCHP Class Information: ipconfig /showclassid

Change/Modify DHCP Class ID: ipconfig /setclassid

Network Connections: control netconnections

Network Setup Wizard: netsetup.cpl

Test Connectivity: ping Example: ping www.i-hack.org

Trace IP address Route: tracert

Displays the TCP/IP protocol sessions: netstat

Display Local Route: route

Display Resolved MAC Addresses: arp

Display Name of Computer Currently on: hostname