Re: [LARTC] Help with prioritizing internet Cafe Terminals

2004-11-19 Thread Craig Main
That was a typo on my part...I am more interested in the actual tc commands and setups. Will they do what I want? Thanks C On Fri, 19 Nov 2004 12:36:20 -0500, Jason Boxman <[EMAIL PROTECTED]> wrote: > On Friday 19 November 2004 07:59, Craig Main wrote: > > I have out together the following scrip

Re: [LARTC] Help with prioritizing internet Cafe Terminals

2004-11-19 Thread Jason Boxman
On Friday 19 November 2004 07:59, Craig Main wrote: > I have out together the following script, can those in the know please > comment on what I have done and whether it will achieve what I am > looking for. Many thanks. > > > iptables -F PREROUTING -t mangle > > iptables -A PREROUTING -t mangle -

Re: [LARTC] Help with prioritizing internet Cafe Terminals

2004-11-19 Thread Craig Main
I have out together the following script, can those in the know please comment on what I have done and whether it will achieve what I am looking for. Many thanks. #!/bin/bash tc qdisc del dev eth1 root tc qdisc add dev eth1 root handle 1: htb default 12 tc class add dev eth1 parent 1: classid

Re: [LARTC] Help with prioritizing internet Cafe Terminals

2004-11-17 Thread Andreas Klauer
On Wednesday 17 November 2004 11:41, Craig Main wrote: > All Cafe terminals have priority to the internet over the office > machines. Each cafe terminal must not be able to have all the > bandwidth if other cafe terminals are online. If all cafe terminals > are online at once, the bandwidth must be

[LARTC] Help with prioritizing internet Cafe Terminals

2004-11-17 Thread Craig Main
Hi All, I am new to tc so please forgive me. I have read as much documentation as I can get my hands on, but I still have problems with getting the rules right. Here is my scenario: Internet Cafe/Office 4 Internet Cafe Terminals 3 Office Terminals Leased Line connectivity at 64Kbps. What I wou