Link Search Menu Expand Document

CMD Commands for Network

Windows has some handy networking utilities which might access from a command line (cmd console).

Ping Command

The ping command is used in networking utilities to detect devices on a network and troubleshoot network problems. When you ping an entity, you send that entity a short message, which it then returns (the echo). The general layout is ping hostname or ping IP address. For example,

ping www.google.com or ping 216.58.208.68

Tracert Command

It’s by far the second command for community management. Tracert is a short form of traceroute instructions to hint at network problems, and it additionally tunes the direction of the packets. For example: To trace the path to the host named dc1.microsoft.com, Input:

tracert dc1.microsoft.com

nbtstat command

nbstat is an application that shows protocol statistics and contemporary TCP/IP connections using NBT (NetBIOS over TCP/IP). In ethical hacking, a term referred to as enumeration to extract person names, device names, network sources, stocks, and offerings from a machine. So for enumeration, the nbtstat command is used to enumerate sharing offerings. As an example: Open your window terminal and run the

'nbstat ip_address'

command.

IPConfig/IFConfig

Suppose you are attempting to display the current configuration for a host system. In that case, this command is the most critical because it offers you a list of the ip address, subnet mask, default gateway, and DNS server configured for a sever. This command can also manage the host configuration with each DHCP and DNS service. It’s critical to start right here. Otherwise, you’ll find it extremely difficult to troubleshoot the system from a network connectivity angle. Parameters to apply with the ipconfig command:

  • ipconfig/all
    - Shows a complete TCP/IP configuration for all adapters.
  • ipconfig/displaydns
    - Shows the contents of the DNS client resolver cache.
  • ipconfig/flushdns
    - Flushes and resets the contents of the DNS client resolver cache.
  • ipconfig/registerdns
    - Initiates a manual registration for the DNS name of the host to the community configured DNS provider.

IP/Networking Commands

There are many IP commands with short descriptions indexed here, but you have to most effectively want those mentioned below to diagnose and configure your network.

C:>hostname

: this is the easiest to execute of all TCP/IP instructions, and it indeed shows the name of your computer.

C:>Ipconfig /renew

: the usage of this command will continue all the IP addresses that you are currently (leasing) borrowing from the DHCP server. This command is a quick trouble solver if you are having connection problems. However, it does now not work if you have configured it with a static IP address.

C:>nbtstat –a

: This Command aids in solving troubles with NetBIOS name resolution. (Not stands for NetBIOS over TCP/IP)

Speed up Streaming

In case you’re getting the good available internet streaming speed, but video streaming websites like YouTube are streaming slow, then there’s a threat your ISP might be throttling your connection. It’s far common for ISPs to throttle streaming to keep bandwidth. Happily, an effortless command can restore this issue. Within the command, set off, enter the under-cited command, and hit enter:

netsh advfirewall firewall add rule name="StopThrottling"
dir=in action=block
remoteip=173.194.55.0/24,206.111.0.0/16 enable=yes

The above code provides a rule for your firewall to save your ISP from throttling your connection simultaneously as streaming. Data security is a hot topic that necessitates organizations enlisting the help of specialists when dealing with significant volumes of sensitive data. It’s crucial to remember that better data security doesn’t come immediately.

Other useful articles:


Back to top

© , CMD Windows — All Rights Reserved - Terms of Use - Privacy Policy