I have a Linux-based media player. It is on a 100Mbit/s wired ethernet connection to my broadband modem / router.
When I give it a static IP address, the ping times are around 6ms, and never above 10. However when it is set to use DHCP, the ping times are all around 1000ms(!). Transfer speeds are not affected, it just seems to be the initial latency. This is 100% repeatable; switch back to static and all is well, back to DHCP and problem returns.
To make sense of all this, router is .1 media player is .4 laptop is .12
I am using SSH into the media player to run the ping.
The laptop is WiFi and DHCP to the router, but this link is fine.
EDIT- Pinging from media player to router now alternates between good and bad!
To try to summarise this very messy post:
Individually
Laptop to media player = ~1000ms consistent
Media player to laptop = ~1000ms consistent
Both running together
Laptop to media player = <10ms consistent
Media player to laptop = ~1000ms consistent
Then when stopping the laptop > media player ping, I see this from the media player pinging the laptop!
64 bytes from 192.168.0.12: seq=148 ttl=64 time=1004.136 ms
64 bytes from 192.168.0.12: seq=149 ttl=64 time=7.040 ms
64 bytes from 192.168.0.12: seq=150 ttl=64 time=1004.956 ms
64 bytes from 192.168.0.12: seq=151 ttl=64 time=8.162 ms
64 bytes from 192.168.0.12: seq=152 ttl=64 time=1004.103 ms
64 bytes from 192.168.0.12: seq=153 ttl=64 time=7.062 ms
64 bytes from 192.168.0.12: seq=154 ttl=64 time=1004.069 ms
64 bytes from 192.168.0.12: seq=155 ttl=64 time=6.941 ms
and after that messing around, when the media player pings the router, I get
PING 192.168.0.1 (192.168.0.1): 56 data bytes
64 bytes from 192.168.0.1: seq=0 ttl=64 time=4.518 ms
64 bytes from 192.168.0.1: seq=1 ttl=64 time=1001.566 ms
64 bytes from 192.168.0.1: seq=2 ttl=64 time=6.021 ms
64 bytes from 192.168.0.1: seq=3 ttl=64 time=1001.276 ms
64 bytes from 192.168.0.1: seq=4 ttl=64 time=5.518 ms
64 bytes from 192.168.0.1: seq=5 ttl=64 time=190.415 ms
64 bytes from 192.168.0.1: seq=6 ttl=64 time=1001.343 ms
64 bytes from 192.168.0.1: seq=7 ttl=64 time=6.342 ms
64 bytes from 192.168.0.1: seq=8 ttl=64 time=1003.160 ms
64 bytes from 192.168.0.1: seq=9 ttl=64 time=7.344 ms
64 bytes from 192.168.0.1: seq=10 ttl=64 time=31.949 ms
64 bytes from 192.168.0.1: seq=11 ttl=64 time=872.556 ms
64 bytes from 192.168.0.1: seq=12 ttl=64 time=868.554 ms
64 bytes from 192.168.0.1: seq=13 ttl=64 time=868.334 ms
64 bytes from 192.168.0.1: seq=14 ttl=64 time=1001.691 ms
64 bytes from 192.168.0.1: seq=15 ttl=64 time=96.383 ms
64 bytes from 192.168.0.1: seq=16 ttl=64 time=1001.305 ms
64 bytes from 192.168.0.1: seq=17 ttl=64 time=5.531 ms
What on earth could cause this? Everything is fine with a static IP address!