Re: [LARTC] Question about how TC enforces bandwidth limiting

2007-09-03 Thread Martin A. Brown
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Greetings again, : $IFext is eth0, and is my link to my DSL Modem. $IFint would be : eth1, which is my interface to my LAN (though I am not shaping : traffic on it in any way). Yes, exactly. You grasped this below, too. Recall that you can on

Re: [LARTC] Question about how TC enforces bandwidth limiting

2007-09-03 Thread Vadtec
Martin A. Brown wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vadtec, I think you may be making two of the most common problems facing novices working with traffic control, so I hope you don't mind my picking on you! Not at all. :) Problem #0 - -- You are applying your sha

Re: [LARTC] Question about how TC enforces bandwidth limiting

2007-09-03 Thread Martin A. Brown
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vadtec, I think you may be making two of the most common problems facing novices working with traffic control, so I hope you don't mind my picking on you! Problem #0 - -- You are applying your shaping on the outbound traffic (presuming tha

Re: [LARTC] 2 ISP connection sharing problem

2007-09-03 Thread Jorge Evangelista
Hi Arman, If you want to route part1 to ISP1 and Part 2 to ISP2. You should have the following rules ip rule add from 193.168.3.0/25 to 0.0.0.0/0 table 100 ip route add default via 192.168.1.1 table 100 ip rule add from 192.168.3.128/25 to 0.0.0.0/0 table 200 ip route add default via 203.81

Re: [LARTC] 2 ISP connection sharing problem

2007-09-03 Thread Pan'ko Alexander
On Mon, 3 Sep 2007 22:57:06 +0500 Arman <[EMAIL PROTECTED]> wrote: > I have divided my network into 2 parts now that is 193.168.3.127/25 and > 192.168.3.128/25. I want to route part1 to ISP1 and Part 2 to ISP2. I have > made changes into rules. But I think my Tables T1,T2 are not used and > defaul

Re: [LARTC] 2 ISP connection sharing problem

2007-09-03 Thread Marek Kierdelewicz
Hi >I have divided my network into 2 parts now that is 193.168.3.127/25 and >192.168.3.128/25. I want to route part1 to ISP1 and Part 2 to ISP2. I >have made changes into rules. But I think my Tables T1,T2 are not used >and default table is in use. How can I command to use tables T1,T2 What is th

Re: [LARTC] 2 ISP connection sharing problem

2007-09-03 Thread Martin A. Brown
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arman, : I have divided my network into 2 parts now that is : 193.168.3.127/25 and 192.168.3.128/25. According to this output, below, you have not divided your /24 into two different networks, and it's really not clear exactly what you are askin

[LARTC] Classes do not receive any traffic ?

2007-09-03 Thread bartekR
Hello everyone. CONFIGURATION DESCRIPTION: I have a linux box doing masquerade for two lan's. Here is a piece of mine network config: eth0 : ISP , one public ip address (DSL modem) eth1 : lan , private network address fe: 192.168.4.0/24 eth2 : wlan access point performing as lan2wlan bridge ,

[LARTC] Question about how TC enforces bandwidth limiting

2007-09-03 Thread Vadtec
Hello, I run one of my PCs as my personal router, with iptables+tc to control traffic and be my firewall. In TC, I use a combination of htb, qdisc and sfq (as well as prio) to classify bandwidth. In my current setup, I have 10 classifications of my bandwidth. (Even I admit this is probably m

Re: [LARTC] About "b" meaning "byte" and bit

2007-09-03 Thread DervishD
Hi Indunil :) * Indunil Jayasooriya <[EMAIL PROTECTED]> dixit: > On 8/31/07, DervishD <[EMAIL PROTECTED]> wrote: > > Hi all :) > > > > I think that this issue has already been discussed on this list, but > > google didn't find anything interesting, so I'm bringing the subject > > agai

[LARTC] Can we use 2 tc filter rules with the same prio

2007-09-03 Thread Indunil Jayasooriya
Hi ALL, I am using below script for DOWNLOADING. it is only for HTTP and HTTPS. I have given the same prio for both. (i.e prio 1). pls see my script given below. (last 2 lines of the script where I have highlighted in BOLD letters) Can I have 2 tc filter rules with the same prio? What is the p

Re: [LARTC] 2 ISP connection sharing problem

2007-09-03 Thread Arman
HI, Is not there any work around to tackle this. As i dont want to do such things on a live server. Like is not there any specific patch or libs to update instead of compiling Kernel. Hi, >error> iptables v1.2.11: Couldn't load match >`u32':/lib/iptables/libipt_u32.so: cannot open shared o