Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    [Solved]Why copy within local network creates latency on WAN?

    Scheduled Pinned Locked Moved Traffic Shaping
    5 Posts 3 Posters 2.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      Th4xll
      last edited by

      Hi,

      I'm not sure if it's related to the Traffic Shaping but when I copy a file from one server to another with SCP ( both on the local network ) it increases latency on the WAN.
      See bellow:

      root@my:~$ scp debian6.iso root@192.168.0.21:/dev/null     
      debian6.iso                                                                              3%   95MB   9.7MB/s   04:19 ETA
      
      root@my:~# ping google.com
      PING google.com (74.125.226.51) 56(84) bytes of data.
      64 bytes from 74.125.226.51: icmp_req=1 ttl=58 time=13.2 ms
      64 bytes from 74.125.226.51: icmp_req=2 ttl=58 time=14.3 ms
      64 bytes from 74.125.226.51: icmp_req=3 ttl=58 time=14.3 ms
      64 bytes from 74.125.226.51: icmp_req=4 ttl=57 time=10.7 ms
      64 bytes from 74.125.226.51: icmp_req=5 ttl=58 time=15.0 ms
      
      And without  SCP:
      root@my:~# ping google.com
      PING google.com (74.125.226.49) 56(84) bytes of data.
      64 bytes from 74.125.226.49: icmp_req=1 ttl=58 time=8.18 ms
      64 bytes from 74.125.226.49: icmp_req=2 ttl=58 time=8.14 ms
      64 bytes from 74.125.226.49: icmp_req=3 ttl=58 time=8.17 ms
      64 bytes from 74.125.226.49: icmp_req=4 ttl=58 time=8.24 ms
      64 bytes from 74.125.226.49: icmp_req=5 ttl=58 time=8.26 ms
      
      

      Any suggestions?

      Thank you,

      1 Reply Last reply Reply Quote 0
      • M
        Metu69salemi
        last edited by

        do you have bridge?

        1 Reply Last reply Reply Quote 0
        • T
          Th4xll
          last edited by

          No, it's a simple setup:

          192.168.0.0/24 ( LAN ) –| PFSENSE |--- xxx.xxx.xxx.xxx/29 ( WAN )

          I just used the Traffic Shaping wizzard to limit bandwith for our VOIP on the LAN. It doesn't seems to be a CPU issue, I checked it and it's arround 20%~ during high bandwith load.

          1 Reply Last reply Reply Quote 0
          • G
            gderf
            last edited by

            Where are you initiating the pins from?

            1 Reply Last reply Reply Quote 0
            • T
              Th4xll
              last edited by

              @gderf:

              Where are you initiating the pins from?

              I think I know where the problem comes from, it's just the pipe on my machine is probably full, all ping came from my laptop.
              I'm changing the status of the post to [solved] :)

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.