Windows Tools

PPTP Ping Examples

Overview | Notes | Syntax | Examples | Related Tools Open Command Prompt

The following sections cover testing your PPTP connection and sample output.

PPTP Ping runs on Windows XP Professional, Windows 2000, Windows NT, and Windows 98, but not on Windows 95.

Example: Test PPTP Connectivity

For this example, assume there is a PPTP server on site A and a PPTP client on site B. You want to test PPTP connectivity between site A and site B.

To test PPTP connectivity between site A and site B

  1. Run Pptpsrv.exe on a computer on site A. This does not have to be the PPTP server.
  2. Run Pptpsrv.exe

  3. Run Pptpclnt.exe [ServerNameorIPaddress] on site B.
  4. Open command prompt

  5. When prompted by Pptpclnt.exe, type some text to send to Pptpsrv.exe, and then click Enter.
  6. You see the text received at the host running Pptpsrv.exe. You then see five GRE packets sent from Pptpclnt.exe and received at Pptpsrv.exe.

  7. Repeat steps 1-3, this time running Pptpsrv.exe on a host on site B and Pptpclnt.exe on a host on site A. These can, of course, be the same hosts you just used.

Sample output: server side

pptpsrv

Now you must run pptpclnt.exe on remote machine

Waiting for inbound connection on TCP port 1723...
Inbound connection from client has completed successfully!

Data received from client:
---> abcdefghijklmnopqrstuvwxyz


Sending the message 'Reply from server' to the client

=====================================================
Connectivity test to TCP Port 1723 was successful!!!
Closing down socket...
=====================================================

Created socket for GRE protocol test

Listening on PROTOCOL 47 for incoming GRE packets...

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

======================================
GRE protocol test was successful!
======================================
Closing socket

Sample output: client side

pptpclnt jade

Initializing WinSock...
Obtaining host information...
Successfully resolved server's host information

======================================
Enter data to send to server (up to 255 chrs.), then hit enter:
-->abcdefghijklmnopqrstuvwxyz

Successfully connected to server using TCP port 1723 (PPTP)
Sending data to server jade.dns.microsoft.com

Waiting for a reply to the data which was just sent...
Received a reply.  Reply contains the following text:
---> Hello, there! This is a reply from the server.

=================================
Connectivity test to TCP Port 1723 was successful!!!
Closing down socket...
=================================

Creating a socket to test GRE protocol traffic...

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

=====================================
Check server to see if the GRE packets were received successfully
=====================================
Closing down socket