On Tue Oct 15 2013 14:08, Norman Golisz wrote:
> On Tue Oct 15 2013 15:48, Wesley MOUEDINE ASSABY wrote:
> > When i download a file using the host 192.168.1.1
> > and do at the same time :
> >
> > # pfctl -vvs queue
> >
> > queue restriction on axe0 bandwidth 800K qlimit 50
> > [ pkts: 0 bytes: 0 dropped pkts: 0 bytes:
> > 0 ]
> > [ qlength: 0/ 50 ]
> > [ measured: 0.0 packets/s, 0 b/s ]
> > queue employee parent restriction on axe0 bandwidth 10K qlimit 50
> > [ pkts: 21119 bytes: 30624777 dropped pkts: 0 bytes:
> > 0 ]
> > [ qlength: 0/ 50 ]
> > [ measured: 115.8 packets/s, 1.35Mb/s ]
>
> yap, bandwidth restrictions apply on upload, only. So, you're
> effectively using 10K for TCP ACK packets.
you might want to restrict bandwidth on the LAN interface, though. You'd
configure the queues as above on the LAN interface and apply packets
going "out"/upload.