Re: [LARTC] Re: how flexible is ingress traffic policing to bandwidth limit?

2004-06-10 Thread Andy Furniss
Greg Stark wrote: Jason Boxman [EMAIL PROTECTED] writes: On Tuesday 08 June 2004 23:33, Greg Stark wrote: Well ultimately all shaping works by dropping packets. Merely delaying transmission isn't going to slow down anything in the long run, just increase the pipeline. You can delay and/or drop

Re: [LARTC] Re: how flexible is ingress traffic policing to bandwidth limit?

2004-06-09 Thread Jason Boxman
On Tuesday 08 June 2004 23:33, Greg Stark wrote: Damion de Soto [EMAIL PROTECTED] writes: snip because you can't shape inbound traffic. Shaping works by delaying the transmission, and you can't delay packets that haven't arrived yet. Ingress policing just drops packets, and hopes the

[LARTC] Re: how flexible is ingress traffic policing to bandwidth limit?

2004-06-09 Thread Greg Stark
Jason Boxman [EMAIL PROTECTED] writes: On Tuesday 08 June 2004 23:33, Greg Stark wrote: Well ultimately all shaping works by dropping packets. Merely delaying transmission isn't going to slow down anything in the long run, just increase the pipeline. You can delay and/or drop them after

Re: [LARTC] Re: how flexible is ingress traffic policing to bandwidth limit?

2004-06-09 Thread Sanjay Arora
On Wed, 2004-06-09 at 09:03, Greg Stark wrote: Damion de Soto [EMAIL PROTECTED] writes: because you can't shape inbound traffic. Shaping works by delaying the transmission, and you can't delay packets that haven't arrived yet. Ingress policing just drops packets, and hopes the sender

[LARTC] Re: how flexible is ingress traffic policing to bandwidth limit?

2004-06-09 Thread Greg Stark
Sanjay Arora [EMAIL PROTECTED] writes: Sorry to interrupt the flow, especially being a newbie, but won´t the sender just retransmit the dropped packets at the same rate? no. I am not so thorogh with TCP/IP, but is there something in the protocol that speeds or slows the transmission. yes.

Re: [LARTC] Re: how flexible is ingress traffic policing to bandwidth limit?

2004-06-09 Thread Jason Boxman
On Wednesday 09 June 2004 16:09, Greg Stark wrote: Sanjay Arora [EMAIL PROTECTED] writes: Sorry to interrupt the flow, especially being a newbie, but won´t the sender just retransmit the dropped packets at the same rate? no. I am not so thorogh with TCP/IP, but is there something in the

[LARTC] Re: how flexible is ingress traffic policing to bandwidth limit?

2004-06-08 Thread Greg Stark
Damion de Soto [EMAIL PROTECTED] writes: You can create different ingress policers that only match specific ports, and give them different priorities, but that still won't work as well as using IMQ, or if your box is a gateway (and you are only shaping traffic going through it), then you can

[LARTC] Re: how flexible is ingress traffic policing to bandwidth limit?

2004-06-08 Thread Damion de Soto
Greg, For some reason that hadn't occurred to me. That should work just fine. I guess I should mark the packets in iptables to avoid throttling traffic from gateway itself, or does match see the external ip? The only (common) time you need to use iptables to mark traffic, is when you're using

[LARTC] Re: how flexible is ingress traffic policing to bandwidth limit?

2004-06-08 Thread Greg Stark
Damion de Soto [EMAIL PROTECTED] writes: Greg, For some reason that hadn't occurred to me. That should work just fine. I guess I should mark the packets in iptables to avoid throttling traffic from gateway itself, or does match see the external ip? The only (common) time you need to use