Page 1 of 1

NAT latency issues...

Posted: 10. Feb 2010, 18:12
by Nethfel
Hi all,

I searched the forums and found a thread in the Linux forum about problems with NAT latency, but that it was fixed back in '09 - but I seem to be having some issues.

Host: OSX 10.6.2
Guest: Windows XP SP3

Ping to a server that is connected on the same network as the host:

C:\>ping 192.168.1.175

Pinging 192.168.1.175 with 32 bytes of data:

Reply from 192.168.1.175: bytes=32 time=1ms TTL=127
Reply from 192.168.1.175: bytes=32 time=504ms TTL=127
Reply from 192.168.1.175: bytes=32 time=2ms TTL=127
Reply from 192.168.1.175: bytes=32 time=506ms TTL=127

Ping statistics for 192.168.1.175:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 1ms, Maximum = 506ms, Average = 253ms


This alternating 1ms, 500ms thing happens in almost every ping - either it's 1,500,1,500 or 500,1,500,1 - once in a while I get 1,1,1,1 but it's very rare.

if I ping the same host from the terminal on my Macbook, I get:

ping 192.168.1.175
PING 192.168.1.175 (192.168.1.175): 56 data bytes
64 bytes from 192.168.1.175: icmp_seq=0 ttl=128 time=1.091 ms
64 bytes from 192.168.1.175: icmp_seq=1 ttl=128 time=0.697 ms
64 bytes from 192.168.1.175: icmp_seq=2 ttl=128 time=0.707 ms
64 bytes from 192.168.1.175: icmp_seq=3 ttl=128 time=0.701 ms
64 bytes from 192.168.1.175: icmp_seq=4 ttl=128 time=0.616 ms
64 bytes from 192.168.1.175: icmp_seq=5 ttl=128 time=0.664 ms
^C
--- 192.168.1.175 ping statistics ---
6 packets transmitted, 6 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.616/0.746/1.091/0.157 ms

so I know what the ping times *should* be. Has anyone else seen this? Does anyone have any suggestions? I would really prefer to not go to bridged mode as I sometimes travel and need to use some 3rd party internet access (ie: hotel wifi, verizon, etc.) and will only have a single external IP address...