Technology Questions

Go Back   Technology Questions > Software Questions > Operating System Questions > Windows XP

Windows XP Discuss the Microsoft Windows XP Operating System

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 06-11-2007, 05:30 AM
MSExchange2003Student
Newsgroup Contributor
 
Posts: n/a
How do i keep a ping command every 10/20 seconds

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


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 06-11-2007, 05:30 AM
  #2 (permalink)  
Old 06-11-2007, 08:50 AM
Joe Church
Newsgroup Contributor
 
Posts: n/a
Re: How do i keep a ping command every 10/20 seconds

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.


"MSExchange2003Student" <exchangestudent@newsgroups.com> wrote in message
news:%23%23GwjNCrHHA.3492@TK2MSFTNGP02.phx.gbl...
> 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
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 06-11-2007, 12:50 PM
Pegasus
Newsgroup Contributor
 
Posts: n/a
Re: How do i keep a ping command every 10/20 seconds


"MSExchange2003Student" <exchangestudent@newsgroups.com> wrote in message
news:%23%23GwjNCrHHA.3492@TK2MSFTNGP02.phx.gbl...
> 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?


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #4 (permalink)  
Old 06-11-2007, 10:30 PM
MSExchange2003Student
Newsgroup Contributor
 
Posts: n/a
Re: How do i keep a ping command every 10/20 seconds


"Pegasus" <I.can@fly.com> wrote in message
news:e1BVeBGrHHA.4108@TK2MSFTNGP06.phx.gbl...
>
> "MSExchange2003Student" <exchangestudent@newsgroups.com> wrote in message
> news:%23%23GwjNCrHHA.3492@TK2MSFTNGP02.phx.gbl...
>> 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

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.
>
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #5 (permalink)  
Old 06-11-2007, 10:50 PM
Pegasus
Newsgroup Contributor
 
Posts: n/a
Re: How do i keep a ping command every 10/20 seconds


"MSExchange2003Student" <exchangestudent@newsgroups.com> wrote in message
news:epufHFLrHHA.3248@TK2MSFTNGP03.phx.gbl...
>
> "Pegasus" <I.can@fly.com> wrote in message
> news:e1BVeBGrHHA.4108@TK2MSFTNGP06.phx.gbl...
>>
>> "MSExchange2003Student" <exchangestudent@newsgroups.com> wrote in message
>> news:%23%23GwjNCrHHA.3492@TK2MSFTNGP02.phx.gbl...
>>> 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

> What the heck is this - is it contents that must be in a script file?


It's a simple, humble batch file.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
I can ping with IPv6. I can not ping with IPv4. Eric Gamess Windows Vista 3 03-23-2009 06:56 PM
10 seconds delay when starting 'command prompt' Jim Brown Windows Vista 4 02-14-2009 03:36 PM
Make a ping on WM6: where's the ping class on .net cf2? Premier Pocket PC General 2 08-13-2007 01:10 PM
no output for ping command Mike Windows XP 15 05-29-2007 07:40 AM
Re: To Ping Or Not to Ping: That's the question! billy Windows XP 0 01-04-2007 02:46 AM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 03:49 PM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0