UNIX System Management: Network connectivity Error Checking

Source: Internet
Author: User
Keywords UNIX System Management connection error checking
Tags address aliyun check checking connection error checking connectivity error error checking

To complete this chapter, you can do the following things:

Use the following command to check http://www.aliyun.com/zixun/aggregation/18415.html "> network connection errors:

Lanscan

Lanadmin

Linkloop

Arp

Ping

Netstat-i

Netstat-a

Netstat-r

Hostname

Nslookup

1. Network Error-checking tool

The following tools are available for network error checking in UNIX:

ARP (BSD)

Ping (public domain)

Netstat (BSD)

Nslookup (BSD)

Traceroute

Using these tools does not necessarily make it clear and straightforward to identify problems with network connectivity. These tools often only give you some hints of questions. You may have to use several tools to find out exactly where the problem is, so you have to have a deep understanding of the network concept and the ability to use every network tool.

2. Potential network connectivity issues

The LAN Terminator is not connected correctly.

Many times, users do not properly abort their LAN cable. There must be two terminators in your network, one at the beginning of the cable and one at the end of the cable.

Nic does not start

If there is a problem with the LAN card, the Ifconfig command fails. If you use an editor, such as VI, to modify a configuration file, a syntax error may occur if you do not pay attention.

IP address error for NIC

There may be an error while configuring the IP_Address in the/etc/rc.config.d/netconf file.

The subnet mask is incorrect

Some people can make an error when configuring the Sumnet_mask in the/etc/rc.config.d/netconf file.

The same IP address has been used by other systems

Sometimes, some people do not apply to the network administrator for a unique IP address when they connect his system to the network.

The routing table is not configured correctly

Some people may have an error in configuring the route parameter in the/etc/rc.config.d/netconf file.

Router down

Sometimes, a system must be shut down, and if you want to shut down a router, you should declare at least two days in advance.

LAN cable is broken

There is a special device to check if a cable is broken.

The length of the LAN is too long to exceed the limit.

If the coaxial cable is installed long before, it is likely that the length of the cable is too long. When a new system is added to the network segment, the problem occurs if the length of the cable exceeds the length limit. The cable inspector can be used to measure the length of the cable.

Hosts file is not configured correctly

If your system cannot resolve a host name to a correct IP address, it may be a problem with your hosts file. If you have two IP addresses (such as a gateway) in your Hosts file, gethostbyname () will only return the first IP address, which may not be the address you want. You should always check your hosts file to ensure correctness.

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.