Higher pings from ethernet than wifi



  • Hey guys, probably the wrong forum to post this in, move if needed.

    When I connect to Battlefield 1 servers with my PS4, i get warned all the time about high latency to the server (150ms). This is connected to PFsense over gigabit ethernet. When i connect to the same game over my wifi, my latency drops to about 30ms. Any suggestions how I would even begin to find out what is going on? i have 300/20 internet that is quite fast and reliable.


  • Netgate Administrator

    How is the wifi connected?

    What sort of ping times do you get to other places from other clients?

    What is your actual gateway latency?

    150ms is high. I would not expect to see that unless there is an actual fault like a speed/duplex mismatch on an interface or you are shaping the traffic deliberately.

    Steve



  • Stephen,

    i will have to check when i get home but I think normally fast. When i do a speedtest, ping is about 4ms and 325mbs. The thing that is weird is if it's slow to the BF1 server, i get it, the game is a little buggy but you would think ethernet and wireless would be the same. The fact that when I connect with wifi, the ping is 1/3 is weird.

    It sucks because I cut no corners on my network, all Cat6a, Cisco, and an i5 with 16gb of ram and an SSD for PFsense.


  • Netgate Administrator

    Indeed you would never expect to see lower ping times over wifi. I imagine the WIFI AP is also connected to pfSense? On a different subnet?

    I would definitely be looking for some issue in the Ethernet connection. Check Status > Interfaces for errors.

    Steve



  • Stephen,

    yes, it is an UNIFI AC Pro connected on a different subnet to PFsense.

    One other thing that I just remembered is and is probably very important. My son's PS4 connects with ethernet through PSsense and gets the high ping times. My PS4 gets high ping times over ethernet but I am pretty sure my PS4 bypasses PFsense and uses IP pass through and connects directly to my ISP modem (sorry forgot about that). Then again when i connect with wifi through PFsense it gets really good ping times.

    Does that make it even more confusing or simpler?


  • Netgate Administrator

    You'll have to define IP pass-through there.

    I imagine you are running a 1:1 NAT to get past the requirements console games seem to require these days.

    What happens if you disable that setting?

    Steve



  • on my ISP cable modem, there are two ports. One goes to the WAN of PFsense, the other goes directly to my PS4 so my PS4 is bypassing PFsense and gets a 2nd public IP from my ISP.

    for the other PS4 which also gets bad pings, i have a static port mapped to that IP.

    The thing that I find weird is whether the PS4 goes through PFsense or not, ethernet gives a bad ping but the wifi doesn't.



  • @xman111 said in Higher pings from ethernet than wifi:

    The thing that I find weird is whether the PS4 goes through PFsense or not, ethernet gives a bad ping but the wifi doesn't.

    So it's not related to pfSense, but either to your cables or an issue with the PS4s themselves. Attach a Laptop in place of one of the PS4s and see if the ping is bad too.



  • Grimson,

    I have a laptop but I can't connect to the PS4 BF1 server with it. Would I just have to try to find the ip of the server itself and ping it from the laptop on said cable?



  • @xman111 said in Higher pings from ethernet than wifi:

    Grimson,

    I have a laptop but I can't connect to the PS4 BF1 server with it. Would I just have to try to find the ip of the server itself and ping it from the laptop on said cable?

    Just ping pfSense or your cable gateway, if the pings are normal your cables are OK.



  • sounds good, will try that..



  • just an update.

    i went into the browser on both ps4's and went to www.whatsmyip.com/ping and both machines averaged about 70ms so that is good. I then looked a little closer at the server i was choosing. Instead of choosing the map we wanted to play, i chose the server with the most bars (best connection). Both mine and my sons PS4 were pinging at about 35ms. I think i was just doing it wrong by going for the map, not the ping. Also, now that i am thinking about it, i probably wasn't joining back on the same server when i switched to wifi to test, which was my fault and an oversight.

    thanks for the help!!



  • @grimson said in Higher pings from ethernet than wifi:

    Just ping pfSense or your cable gateway, if the pings are normal your cables are OK.

    Also, defective hardware, including cables, will produce errors which you can see in the ping results.