Hotspot Engine Program
Network-related practitioners need to face various problems in detecting and solving network faults, and the actual cases are also the most faulty because of the network. I hope it will play a role in troubleshooting in your practical work in the future.
1. Usage of ping command:
The ping command is an executable command that comes with the Windows system to verify the connection between computers. It is based on the TCP IP protocol and detects the connection between two computers by sending and receiving packets.
So when there is a network failure, we can use the ping command to estimate the failure point, if the ping command is not successful, then we should consider whether the hardware connection is wrong, such as whether the network card is set correctly, such as whether the network cable is connected, and then consider whether the IP address is set correctly, the specific way to use it is to call up the command prompt window, and then ping the IP address.
The way to bring up the command prompt window can be called up by typing cmd in Start-Run, (or Win key + R, and then cmd).
We can see that in the graph above, the values returned include bytes, time, and TTL. The time indicates the length of time to connect with the address, and the lower the value, the faster the time. TTL indicates the time to live and refers to the number of CIDR blocks that data is allowed to pass through before being dropped by the router.
We can also see from the image above that only 4 packets will be sent by default, and if you want to return multiple packets, you can do so by ping -n. As shown below:
If you want to return packets uninterruptedly, then you can do this with ping -t, so that the data will be returned continuously until the administrator manually closes it, and the termination shortcut for closing is ctrl+c.
For more applications of ping command parameters, we can enter ping ?Able to view.
2. Usage of arp command:
The ARP command is an address resolution protocol, which is also a TCP IP protocol, which obtains the MAC address of a device based on the IP address. Frequently used include querying, adding, and deleting records.
We type: arp -a in the command prompt of a computer in the local area network
We can read the one-to-one correspondence between the IP address and the physical MAC address. (We're demonstrating a home computer here, and there's no LAN.)
When you want to bind or add an arp record, you can do so with the arp -s command. The format is: arp + space + -s + IP address + MAC address.
If you want to delete an APR record, use arp -d to delete it.
3. Usage of tracert command:
This command is a traceroute command that determines the path taken by IP packets in a network to reach a host.
Its usage is also not difficult, we can type :tracert in the command prompt
You can see its commonly used commands and parsing.
For example, if we still track the IP address of something, we can see the specific tracking path address. When the network responds slowly, the returned value is the request timeout. Usually, about 10 nodes track the completed IP address or **, and the access speed is good.
4. Usage of route command:
This command is used to manage and view the routing table of the machine when packets cannot be transmitted efficiently.
We can view and modify the routing table of the machine. The command to view the route table is route print
Other commands: route are followed by the following commands: add route change change change to change existing route delete delete route. For specific usage, you can enter route ? View.
The above four network commands are all frequently used, how many have you used?