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

    Per IP limiter, limits on interface/network level

    Scheduled Pinned Locked Moved Traffic Shaping
    4 Posts 3 Posters 2.0k 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.
    • B
      bfts
      last edited by

      Hello Everybody,

      I am desperately trying to set up the Per IP traffic shaping–share bandwith evenly between IP addresses as mentioned in the linked thread, but instead of limiting by IP the limiter always only limits as per Interface or Network.

      If you have any hint on what I could do or try I would be always grateful! (My connections are comparably slow - 5.120Kbps max - so if I could limit each IP on the LAN side all my users would be a lot happier.)

      As attached my configuration:

      • with a limiter called "DownloadOffice" set to 1500Kbit/s and it's chid called "DownloadLAN1" set to Destination address
        -  and a 2nd limiter called "UploadOffice" set to 1000Kbit/s  and it's child called "UplaodLAN1"set to Source address
      • The rules pointing "In/Out" to those limiters.

      This set up limits the whole LAN1 to 1500Kbit/s instead of all clients of this LAN.  :(

      (FYI This is part of a more complex setup where 3 LANs are connected to the same interface via VLAN and the WAN side is served via VLAN with 3 ADSL connections.)

      Any hints welcome!

      1DownloadLimiter.png
      1DownloadLimiter.png_thumb
      2DownloadChild.png
      2DownloadChild.png_thumb
      3UploadLimiter.png
      3UploadLimiter.png_thumb
      4UplaodChild.png
      4UplaodChild.png_thumb
      5Rules.png
      5Rules.png_thumb

      1 Reply Last reply Reply Quote 0
      • S
        sideout
        last edited by

        ::)

        See that bold black print - If source or destination slots is chosen , a dynamic pipe with the bandwidth , delay, packet loss and queue size given above will be creted for each source/destination IP address encountered , respectively.  This makes it possible to easily specify bandwidth limits per host.

        RTFM FTW.

        1 Reply Last reply Reply Quote 0
        • B
          bfts
          last edited by

          :-[
          Sorry if I sound totally stupid but that [i]bold black print says:
          If source or destination slots is chosen , a dynamic pipe with the bandwidth , delay, packet loss and queue size given above will be created for each source/destination IP address encountered , respectively.  This makes it possible to easily specify bandwidth limits per host.

          This would mean to me that:

          a limiter called "DownloadOffice" set to 1500Kbit/s and it's chid called "DownloadLAN1" set to Destination address

          should limit the download speed for each IP address encountered on the LAN to 1500Kbit/s.

          That is what I understand should work following foxale08's configuration tutorial in the previously mentioned thread.
          But in my case it creates a limiter for the whole network not for each IP.  :'(

          I looked at the other bold black print:
          If 'source' or 'destination' slots is chosen, leaving the mask bits blank will create one pipe per host. Otherwise specify the number of 'one' bits in the subnet mask used to group multiple hosts per queue.
          But I honestly don't get the meaning of the second sentence.
          What am I doing wrong? :-[ :-[ :-[ :-[ :-[

          1 Reply Last reply Reply Quote 0
          • DerelictD
            Derelict LAYER 8 Netgate
            last edited by

            If you want every IP address to get its own 1500k pipe, mask by source/destination IP address on the top-level limiter and delete the child limiters. If you want all IP addresses to share the same 1500k pipe, leave it like it is.

            Chattanooga, Tennessee, USA
            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
            Do Not Chat For Help! NO_WAN_EGRESS(TM)

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