How do i keep a ping command every 10/20 seconds

  • Thread starter MSExchange2003Student
  • Start date
M

MSExchange2003Student

Hi all

I ahve VPN tunnels between 2 pc's on my network that goed over the internet.
My concern is that the VPN tunnel goes down and then a ping is required from
the client (not in my building) - Is there any utility that i can use that
will ping the server every 10/20 seconds to keep the tunnel up - Please help
urgentlu
 
J

Joe Church

Any free ping utility would do, check on google for "free ping" which will
work, or you could even just do a manual ping from the command prompt and do
a -t at the end which makes it a persistent ping. You would have to close
the cmd prompt window to stop the ping.

for exmaple: ping servername -t

Hope tha thelps.
 
P

Pegasus

MSExchange2003Student said:
Hi all

I ahve VPN tunnels between 2 pc's on my network that goed over the
internet. My concern is that the VPN tunnel goes down and then a ping is
required from the client (not in my building) - Is there any utility that
i can use that will ping the server every 10/20 seconds to keep the tunnel
up - Please help urgentlu

Try this:
@echo off
:again
ping OtherPC -n 1
ping localhost -n 20 > nul
goto again

BTW, what's so urgent about your question?
 
M

MSExchange2003Student

Pegasus said:
Try this:
@echo off
:again
ping OtherPC -n 1
ping localhost -n 20 > nul
goto again
What the heck is this - is it contents that must be in a script file?
BTW, what's so urgent about your question?
I have something to implement over the Net but the VPN tunnels that goes
down is hindering the process, so i need something to keep the VPN tunnels
up and i have notice if i do a simple ping from the client to the server it
brings the VPN tunnel back up.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top