Community


All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Intermittent Pings from clients machines
PostPosted: Tue Feb 04, 2014 12:16 pm 
Offline

Joined: Tue Feb 04, 2014 10:13 am
Posts: 2
We are using the Pro version 256 licence and about 100 clients across various locations and networks.

I'm getting intermittent ping's using NeoRouter to ping to remote clients.

I get 4-5 successful ping's and then times out then for 10-14 tries then returns.

It seems to settle down if I restart the NeoRouter service or change from UDP to Relay and back for a while.

Things I've changed in Feature.ini:-
ServerAuthBacklog=10 changed to
ServerAuthBacklog=3000

I thought it might be a congestion thing.

Any suggestions welcome.

Thx


Top
 Profile  
 
 Post subject: Re: Intermittent Pings from clients machines
PostPosted: Wed Feb 05, 2014 7:52 am 
Offline

Joined: Sun Nov 16, 2008 6:41 am
Posts: 1868
Hi Ovo,

It looks like UDP packets got dropped somewhere.

1.Routers/firewall
If some traffic control get enabled, some packets, including UDP would be delayed or shaped, Since ping (icmp) is a simple protocol, it may lost packets when UDP packets lost.

2.socket buffer
OS may drop packets from socket buffer when busy. You can adjust the socket buffer size of NR client. Please take a look at the performance tuning guide of NR, http://download.neorouter.com/Documents ... 111_en.pdf

NR clients may create UDP P2P connection between peers. Unlike TCP, UDP is an unreliable protocol, so it's possible to lost packets. However, the applications over NR network should be able to handle it.

Thanks,
KevinZ - NeoRouter team


Top
 Profile  
 
 Post subject: Re: Intermittent Pings from clients machines
PostPosted: Wed Feb 05, 2014 1:04 pm 
Offline

Joined: Tue Feb 04, 2014 10:13 am
Posts: 2
Hi Kevinz

Thanks for the reply.

I'm familiar with networking and traffic types.

I guess before I start drilling down with capturing packets, I wanted to make sure this wasn't a simple configuration issue.

Can you recommend the best debugging method within NeoRouter to capture the information I need to best narrow down this issue. E.g. switches for the Log.ini file.

Regards

Ovo


Top
 Profile  
 
 Post subject: Re: Intermittent Pings from clients machines
PostPosted: Wed Feb 05, 2014 7:14 pm 
Offline

Joined: Sun Nov 16, 2008 6:41 am
Posts: 1868
Hi Ovo,

Assume your UDP issue can be reproduced.

Please follow the steps below to troubleshoot:

1.Change the connection settings of NR client to use "relay mode", then try ping and see if the ping is stable. If ping is stable, it means the NR server can handle the traffic properly.

2.Change to UDP P2P option to reproduce the issue. Use tcpviewer to check NR client service does create UDP connection. If you can use wireshark to monitor the NR adapter, it would be helpful. When you run ping, you should be able to see the icmp packets and see if they are dropped or delayed. You can also run a tcp app (for example: vnc) over NR and monitor the packets. If you see the TCP packets (vnc over NR) mis-ordered or re-sent, it means the UDP packets (NR) would be lost or delayed (mis-ordered).

You can modify Feature.ini file on client side to increase the buffer, then test see if any changes.
[Default]
SoSendBuf=2097152
SoRecvBuf=2097152

3.Tips
a.When create UDP connection between peers, no traffic goes through NR server.
b.When create UDP connection, it may take 1 minutes to establish the connection. Generally you may see one or two ping response, then a long ping response (if server is slow, may see timeout, as it may take more than 1s), then back to shorter and stable ping responses. It means UDP tunnel is ready and it switch to the P2P tunnel. So it will be faster than before. If you see it back to the same response after the long response, P2P tunnel may not be ready and it keep the relay mode. The long response is caused by P2P tunnel creator, but only one or two.
c.In NR Configuration Explorer or web console, please use Packet Filter feature to filter out all broadcast/ivp6 packets if you don't need, as they may slow down your server.

Thanks,
KevinZ - NeoRouter team


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron