[LARTC] Bridging two subnets selectively using routing

2007-10-31 Thread Joshua Kwan
Hi LARTC, I have two networks that I manage, A and B. They both have their own primary gateways for hosts on the network, let's call them AR and BR. There is another box, A1, which lives on network A but also has a wire connecting it to a switch on network B. My goal is to let hosts on B access t

[LARTC] Sluggish throughput with htb

2007-10-31 Thread Andrew Kraslavsky
All, I have been using the following as a means of rate limiting access to the Internet via eth0 (which connects to my cable modem) and it was working great with my 2.4.20 kernel: tc qdisc del dev eth0 root tc qdisc add dev eth0 root handle 1: htb default 1 tc class add dev eth0 parent 1: clas

Re: [LARTC] TC (HTB) doesn't work well when network is congested?

2007-10-31 Thread William Xu
Thank you, Peter, After changing CONFIG_HZ to 1000, TC works much better. I still need to limit the total bandwidth to 110MB/s (about 90% of 125MB/s), but that's normal I guess. Thanks again, william Peter Rabbitson wrote: William Xu wrote: Hi Peter, thanks for looking at this. Here are t

[LARTC] tc filter AP device

2007-10-31 Thread Darko
Hi, trying to set packet classifying on wireless AP device for transfer between two wireless clients without success. It seems that packet allways going thru default class. Marking packets success only with ebtables+madwifi patch, but appropriate filter doesn't react on it. (examined by counter

Re: [LARTC] multigateway routing with adsl and dynamic ip

2007-10-31 Thread Grant Taylor
On 10/31/07 06:18, sonu chouhan wrote: i am not so much expert in linux and don't have a proper knowledge of script writing, i am showing my problem again in detail below. Eh, sounds like a good time to learn something with the help of others. ;) i am using 4 adsl lines of an same isp, my ads

Re: [LARTC] multigateway routing with adsl and dynamic ip

2007-10-31 Thread sonu chouhan
Thanks ben & Grant, i am not so much expert in linux and don't have a proper knowledge of script writing, i am showing my problem again in detail below. i am using 4 adsl lines of an same isp, my adsl modem is working as a nat router so i can get static private ip on my linux multigateway r