Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Preliminary troubleshooting of network commands

2025-01-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

one

Ping gateway

If the gateway is accessible, the basic network is available

two

Nslookup destDomain.xx or

Nslookup dest.domain.xx dnsServerIp

Query the IP address corresponding to the target domain name. If the address is resolved, and the IP address is correct. Take the third step, if the IP address is incorrect, take step 4, if the address cannot be resolved, make sure you can access DNS, or if there is a problem with the DNS server (you can try to query other records).

three

Ping destIP

See if you can ping the destination address. If you can reach ping, please check the service of the application itself. If ping is not available, refer to step 5.

four

Ipconfig / flushdns

Because the DNS record has a TTL value, the domain name query uses the record in the cache before the ttl value expires. This command clears the cache and ensures that the latest records are used.

five

Arp-d

Clear the ARP address cache. (in the same network, communication depends on ARP addresses to find the destination.) this command clears the record of the correspondence between IP and ARP addresses.

six

Ping destIP

Arp-a | findstr destip

If it is the same network segment and the ping is not available, you can first ping the destination address, and then query the other party's IP in the arp table. If the ARP cache of the target is queried, the other party forbids ping, but the host is online. If you are not on the same network segment as the target, refer to 7

seven

Telnet dest port

If you cannot ping the target, you and the target are not on the same network segment. You can telnet the open tcp port of the target, such as 3389. If there is a firewall, telnet may not work (some machines may not have a telnet client installed by default. You can use the raw mode of putty to connect)

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report