Skip to content
SantoshKumarP1412 edited this page Jul 27, 2023 · 7 revisions
  1. "ipconfig" (Internet Protocol configuration) is a console application program of some computer operating systems that displays all current TCP/IP network configuration.

image

  1. "ipconfig /all" it show all the information about your network adapter, you will need to use the /all parameter.

image image

  1. "ipconfig /renew" orders your DHCP client to renegotiate an IP address lease with the DHCP server on your router.

image

4."ipconfig /release" is executed to force the client to immediately give up its lease by sending the server a DHCP release notification.

image

  1. "ipconfig /flushdns" it clear any IP addresses or other DNS records from your cache image

  2. "ipconfig /displaydns" shows the DNS resolver cache of your system image image

  3. "ipconfig /registerdns" registers all DHCP leases and re-registers DNS names for all your system's network adapters.

image

8."ipconfig /showclassid Adapter" image

  1. "ipconfig /setclassid Adapter" image

  2. "ipconfig /?"

  3. ping: used to troubleshoot connectivity, reachability, and name resolution.

image

ping for not reachable address

image

  1. tracert: it is used to find no. of hops to reach the destination host.

image

  1. nslookup: (also known as Name Server Lookup) Command Line utility helps to get the name server information of a particular host.

image

nslook -type= A google.com The A DNS Record usually holds a 32 bit IPv4 address, whereas the AAAA DNS Record holds a 128 bit IPv6 address.

image

  1. netstat: Network statistics command is a networking tool used for troubleshooting and configuration, that can also serve as a monitoring tool for connections over the network.

image

  1. netstat -a: Display all active TCP connection.

image

image

  1. netstat -e: Display ethernet statistics such as number of byte and packet sent and received.

image

  1. netstat -n: it display address and port in numerical form

image

  1. netstat -o: display TCP connection and includes the process ID for each connection image

  2. netstat -p: proto may be any of the TCP UDP TCPv6 UDPv6

image

  1. netstat -s:

image image image

21.netstat -r: it display the content of IP routing table.

image image

  1. arp -a An ARP cache is a collection of Address Resolution Protocol entries that are created when an IP address is resolved to a MAC address.

image

Clone this wiki locally