I. Introduction to the Role
 
PPTP is the initials of the Point-to-Point Tunneling Protocol (Point-to-Point Tunneling Protocol). Point-to-Point tunneling is a common routing protocol on the network. "Tunneling" means that the data is encrypted and "packaged" before it is transmitted before being unpacked and decrypted. In this way, the data in the transmission process is like in the tunnel through the passage of its content will not be seen outside, so said "tunnel transmission." For a more detailed understanding, please refer to the relevant information. If the transfer fails, you must use a specific diagnostics to find the cause. We used the ping command when testing network connectivity, as mentioned in the previous article, and a similar command is required for the diagnosis of PPTP. In the Windows2000 Support Tools folder, you can find Pptpclnt.exe and Pptpsrv.exe, two programs, which is the tool we want, where Pptpclnt.exe is used for clients, Pptpsrv.exe is used on the server side. is a group of tools that must be used in conjunction with each other.
 
When you use the above two programs to access each other between a remote PPTP server and a PPTP client, you must use port 1723 and require support based on the 47-class protocol. The 47 class protocol refers to the GRE (Generic Routing encapsulation: Generic Routing Encapsulation) protocol, so before running Pptpclnt.exe and Pptpsrv.exe, ensure that the above conditions are met. Also, pay special attention to: PPTP Ping can run in Windows2000, WindowsNT, and Windows98, but not running in windows95!
 
Two. How to use
 
This set of programs is based on the command-line interface, because the diagnostics must involve the PPTP server and the PPTP client two places, so when the diagnostics run, you need to synthesize the server-side and client-side response information and system prompts, and then judge the problem according to the situation. With PPTP ping you can complete many of the projects that test your PPTP server, as described below, which is described in terms of the project category and both server and client prompts. and agree to the following description: PPTP server at Site A, and PPTP client at site B.
 
1. Test PPTP connectivity.
 
(1) Run Pptpsrv.exe on the computer at site A.
 
(2) Run Pptclnt.exe on site B, the server name or IP address should be indicated in the command. For example: Pptclnt.exe[[servername or IPAddress]
 
At this point, at the end of the server you can see the following tips: (hint the original in English, the following is translated into Chinese)
 
Pptpsrv
 
Must be guaranteed to run Pptpclnt.exe on the client side
 
Wait (using TCP's 1723 port) to connect ...
 
The connection with the client has been successful!
 
Data sent from the client:
 
---> ABCDEFGHIJKLMNOPQRSTUVWXYZ
 
Sends a ' Reply from server ' message to one end of the client.
 
Set up test based on GRE protocol ...
 
Accepting GRE packets based on 47-class protocol ....
 
Total GRE Packets Received = 1
 
Total GRE Packets Received = 2
 
Total GRE Packets Received = 3
 
Total GRE Packets Received = 4
 
Total GRE Packets Received = 5
 
(3) Finally prompts the test to complete. If you need to test the PPTP connection between this server and another client, repeat the steps above.
 
(4) In order to facilitate comparison, this is also listed in the above test, the client side of the screen prompts information. (the original is in English, the following is the case of translation into Chinese)
 
PPTPCLNT Jade (Jade is the server name)
 
Initialize socket ...
 
Find host information ...
 
Server host information has been successfully received
 
Type the information that is sent to the end of the server (for testing connectivity). The characters used for sending should be below 255, for example:
 
-->abcdefghijklmnopqrstuvwxyz
 
Successfully connected PPTP with TCP protocol on port 1723
 
The data is now being sent to the server jade.dns.microsoft.com ...
 
Wait for Send end ...
 
Receive an answer to the end of the send, the answer should be the following text:
 
---> Hello, there! This is a reply from the server.
 
TCP protocol connectivity test succeeded with Port 1723
 
Close socket ...
 
Set up to test the GRE protocol ...
 
(The following tip is sent to the other end of the content)
 
Total GRE Packets Sent = 1
 
Total GRE Packets Sent = 2
 
Total GRE Packets Sent = 3
 
Total GRE Packets Sent = 4
 
Total GRE Packets Sent = 5
 
If the GRE package is sent to each other, check to see if the other server is successfully accepted.
 
Close socket
 
This test is all over.