Last update at :2023-12-25,Edit by888u
For overseas VPS or server lines, the outbound route is generally tested. This can be queried through some professional websites, such as webkaka, IPIP and other professional websites. Sometimes the outbound route looks good, but if the return route Poor routing has a greater impact on the speed of browsing the Internet, so now we will briefly explain the return route of the VPS host or server in the Linux system. This cannot be queried through the test address given by the merchant. You need to purchase a VPS host. Or a standalone server, connect to your own server through the SSH port, and then execute the following TraceRoute command to test.
1. TraceRoute command for backhaul routing test
First you need to install TraceRoute. For the specific installation method, just copy the following command in SSH
Centos system installation TraceRoute command
yum update && yum install traceroute -y
Debian/Ubuntu system installation TraceRoute command
apt-get update && apt-get install traceroute -y
The query routing command is traceroute IP address. The IP address here is not the IP address of the host you are currently using; however, it is not recommended to choose traceroute to add the IP address directly, because it is a bit confusing. You can add parameters in the subsequent command. For example: traceroute -q 1 IP address; the effect is as follows:
In this way, you can see the routing situation from foreign VPS to mainland China. Generally, you will not test VPS hosts in mainland China; but through the above renderings, how do you know where these nodes are located? It is very troublesome to check one by one. You can use the BestTrace command to query.
2. Use the BestTrace command to test the backhaul route
BestTrace is a test script developed based on TraceRoute. It is a Linux query routing software officially provided by ipip. The installation is very convenient and quick, and does not require compilation. Unlike TraceRoute, which requires compilation and waiting for a period of time, especially for small bandwidth and IO The waiting time for poor performance is still relatively long.
Before using the BestTrace command, you need to install TraceRoute on the system. Just follow the above method, and then install BestTrace. The specific installation method is as follows:
mkdir besttrace && cd besttrace wget -N --no-check-certificate https://cdn.ipip.net/17mon/besttrace4linux.zip unzip besttrace4linux.zip && chmod +x *
The query command is: ./besttrace –q 1 IP address, the effect is as follows:
The above code is detailed as follows:
#Create a directory mkdir test && cd test #Download Best Trace for Linux and unzip it wget https://cdn.ipip.net/17mon/besttrace4linux.zip && unzip besttrace4linux.zip #Add execution permissions chmod +x besttrace #route trace ./besttrace -q 1 IP address
Recommended site searches: free personal website server, webmaster IP, independent IP space, Singapore server, expired domain name query, Hong Kong server rental 99idc, virtual host 99idc, Korean high-defense server, overseas server, IP query detailed address,
发表评论