Network Commands

Some of the useful network commands helpful to fetch information about your network configuration and troubleshoot the errors. The commands below are executable in terminal : (window logo + r) and type cmd and press enter.

arp.exe -a

Interface: 192.168.1.2 --- 0xa
  Internet Address      Physical Address      Type
  192.168.1.1           00-1e-40-3f-92-6b     dynamic
  192.168.1.255         ff-ff-ff-ff-ff-ff     static
  224.0.0.22            01-00-5e-00-00-16     static
  224.0.0.252           01-00-5e-00-00-fc     static
  239.255.255.250       01-00-5e-7f-ff-fa     static
  255.255.255.255       ff-ff-ff-ff-ff-ff     static

ipconfig.exe /all

Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Qualcomm Atheros AR8151 PCI-E Gigabit Ethernet Controller (NDIS 6.20)
   Physical Address. . . . . . . . . : B8-70-F4-E5-D6-F1
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::45af:178a:bf30:2ead%10(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.1.2(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Sunday, December 01, 2013 2:26:15 PM
   Lease Expires . . . . . . . . . . : Monday, December 02, 2013 2:31:38 PM
   Default Gateway . . . . . . . . . : 192.168.1.1
   DHCP Server . . . . . . . . . . . : 192.168.1.1
   DHCPv6 IAID . . . . . . . . . . . : 236745992
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-18-9B-2A-65-B8-70-F4-E5-D6-F1
   DNS Servers . . . . . . . . . . . : 192.168.1.1
                                       192.168.1.1
   NetBIOS over Tcpip. . . . . . . . : Enabled

ipconfig.exe /displaydns
Display the DNS records.

route.exe print
Shows you interface list, IPv4 & IPv6 route table.

net.exe start
Shows the windows services that are started in your system.

netstat.exe -e
Shows the windows services that are started in your system.

netstat.exe -o
Shows the active connections of your pc.

netstat.exe -s
Lists the details about packet recieved and sent.

netstat.exe -n
Active Connections.