Per IP limiter, limits on interface/network level
-
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!
- with a limiter called "DownloadOffice" set to 1500Kbit/s and it's chid called "DownloadLAN1" set to Destination address
-
::)
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.
-
:-[
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? :-[ :-[ :-[ :-[ :-[ -
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.