Overview of the TCP/IP protocol for testing your network

Source: Internet
Author: User
Tags nslookup

After the network hardware and network protocols are installed, we usually need to test the TCP/IP protocol. How can we perform a comprehensive test? We believe that the comprehensive test should include two aspects: Lan and Internet. Therefore, we should test the LAN and Internet, the following are the steps to test the TCP/IP configuration using the command line in actual work:

1. Click Start/run, Enter CMD and press enter to open the Command Prompt window.

2. First, check whether the IP address, subnet mask, default gateway, and DNS server address are correct. Enter the command ipconfig/all and press Enter. The network configuration is displayed. Check whether the network configuration is correct.

3. Enter ping 127.0.0.1 to check whether the NIC can forward data. If "Request timed out" is displayed, the configuration error or network error occurs.

4. Ping An Internet address, for example, ping 202.102.128.68 to check whether data packets are sent back to verify the connectivity with the Internet.

5. Ping a LAN address to check its connectivity.

6. Use nslookup to test whether DNS resolution is correct. Enter nslookup www.ccidnet.com to check whether DNS resolution can be performed.

If your computer passes all tests, the network is normal. Otherwise, the Network may have different degrees of problems. This section will not be detailed here. However, note that when using the ping command, some companies will discard ICMP packets on their hosts, causing your ping command to fail to return data packets normally.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.