[LARTC] mpath2.sh script works - sort of

2005-11-21 Thread Brett Charbeneau
Greetings all, While I haven't given up on getting a dead gateway detection script a la nano.txt to work on my T1/DSL router box, I have taken a break and played with the mpath2.sh script that Robert Kurjata wrote back in 2001. This shows more promise in that I can actually get it

Re: [LARTC] Pfifo_fast Unknown qdisc and asking for basic design advice

2005-11-21 Thread Stephen Hemminger
On Fri, 11 Nov 2005 09:50:03 - Mark Lidstone [EMAIL PROTECTED] wrote: Hi all, I've done a search through the archives but I can't find a cause/solution to this. I'm running a FC4 box with the stock 2.6.12 kernel and a FC2 box with a stock 2.6.9 kernel. I'm obviously using iproute2

[LARTC] Re: UDP transfer speed exceeding the ceil by about 4x

2005-11-21 Thread Ryan Castellucci
Even more interesting details; This seems to only happen when the packets are fragmented. On 11/15/05, Ryan Castellucci [EMAIL PROTECTED] wrote: A bit more detail. I have the following htb classes set up... class htb 1:356 parent 1:4 leaf 356: prio 4 quantum 1600 rate 12800bit ceil

[LARTC] about the equalize patch

2005-11-21 Thread 李岩
Hi Everyone, Recently i am researching in the load balancing of multipath.someone tell me that if let the function of load balance basing per packet come true ,it must make use of the equalize'patch,so i downloadit and apply it to the kernel 2.4.20, it works well. the other day because of

[LARTC] Re: Transfer speed exceeding the ceil

2005-11-21 Thread Ryan Castellucci
Upon futher examination, traffic seems to flow at about 4x whatever the ceil is set to. On 11/14/05, Ryan Castellucci [EMAIL PROTECTED] wrote: What's going on here? I'm spewing UDP traffic at this thing, and it is exceeding the ceil. Anyone know how to fix this? class htb 1:613 parent 1:5

Re: [LARTC] Pfifo_fast Unknown qdisc and asking for basic design advice

2005-11-21 Thread Andy Furniss
Mark Lidstone wrote: Hi Andy, The situation is this: there are a total of four companies represented in our building. We've all been looking at upgrading our Internet connections from ADSL, and as we're all owned by the same parent company it made sense to buy our bandwidth in bulk. As such

Re: [LARTC] has anyone tried adsl-optmizer kernel patches for dsl modems?

2005-11-21 Thread Andy Furniss
sophana wrote: Hi I'm using wondershaper like script. But noticed imperfect scheduling. By googling, I found some patches that takes the aal5 atm overhead in the scheduling algorithms. http://www.adsl-optimizer.dk/ADSL-optimizer/ Before trying it, has anyone tried these patches? they apply

Re: [LARTC] [ANNOUNCE] ESFQ for Linux 2.6.13

2005-11-21 Thread Andy Furniss
Corey Hickey wrote: In a recent thread on this list, Robert Kurjata provided me a patch to add hashing by iptables mark to the Linux 2.4 version of ESFQ. Thanks to that contribution, I was able to easily add support to the 2.6 port I maintain. I found out, however, that the existing hash

[LARTC] load balancing

2005-11-21 Thread comp.techs
Hi, I have 2 routers that are connected using 2 gre tunnels over ipsec, and ospf. Ospf sets up the equal cost route, but uses the 'equalize' in the route. Is there a way to remove/disable packet based load balancing? I would just like to do a flow based load balance? thx

Re: [LARTC] Transfer speed exceeding the ceil

2005-11-21 Thread Ryan Castellucci
On 11/16/05, Andy Furniss [EMAIL PROTECTED] wrote: Ryan Castellucci wrote: What's going on here? I'm spewing UDP traffic at this thing, and it is exceeding the ceil. Anyone know how to fix this? class htb 1:613 parent 1:5 leaf 613: prio 6 quantum 2560 rate 20480bit ceil 103360bit burst

Re: [LARTC] Transfer speed exceeding the ceil

2005-11-21 Thread Andy Furniss
Ryan Castellucci wrote: On 11/16/05, Andy Furniss [EMAIL PROTECTED] wrote: Ryan Castellucci wrote: What's going on here? I'm spewing UDP traffic at this thing, and it is exceeding the ceil. Anyone know how to fix this? class htb 1:613 parent 1:5 leaf 613: prio 6 quantum 2560 rate 20480bit

Re: [LARTC] Transfer speed exceeding the ceil

2005-11-21 Thread Ryan Castellucci
On 11/16/05, Andy Furniss [EMAIL PROTECTED] wrote: Ryan Castellucci wrote: On 11/16/05, Andy Furniss [EMAIL PROTECTED] wrote: Ryan Castellucci wrote: What's going on here? I'm spewing UDP traffic at this thing, and it is exceeding the ceil. Anyone know how to fix this? class htb 1:613

[LARTC] Re: [ANNOUNCE] iproute2 2.6.14-051107

2005-11-21 Thread Damjan
Patrick McHardy * Fix ip command shortcuts Hmm.. what's this change? I've noticed that ip address no longer works, only ip addr works. -- damjan | дамјан This is my jabber ID -- [EMAIL PROTECTED] -- not my mail address!!! ___ LARTC mailing

Re: [LARTC] Transfer speed exceeding the ceil

2005-11-21 Thread Andy Furniss
Ryan Castellucci wrote: On 11/16/05, Andy Furniss [EMAIL PROTECTED] wrote: Ryan Castellucci wrote: On 11/16/05, Andy Furniss [EMAIL PROTECTED] wrote: Ryan Castellucci wrote: What's going on here? I'm spewing UDP traffic at this thing, and it is exceeding the ceil. Anyone know how to

[LARTC] multipath routing

2005-11-21 Thread comp.techs
Hi, I have set up multipath routing using two gre tunnels. The multipath routes are setup via (zebra/ospf). I managed to modify zebra not to include the 'equalize' in the multpath route, and set theweights 1:2. My question is that after doing 4+ ftp transfers I still do not see much traffic on

Re: [LARTC] passive FTP trafic control

2005-11-21 Thread Piotr Chytla
On Fri, Nov 11, 2005 at 10:20:52PM +0100, Andreas Unterkircher wrote: You could try to match on helper within iptables. Should be something like iptables -A FORWARD --match conntrack --ctproto tcp --ctstate RELATED,ESTABLISHED --match helper --helper ftp -j CLASSIFY Perhaps this will

[LARTC] tc and loadbalance via mangle

2005-11-21 Thread Patrick
Hello! I have a great problem! I use the table mangle to classify the packages among two link, and also use the mangle to do band control, download and upload, they put the packages marked in PREROUTING with I number him/it of the link it is also marked in FORWARD (for band control) and the

Re: [LARTC] The effects of queueing on delay...(TX Ring Buffer the problem)

2005-11-21 Thread Jonathan Lynch
Quoting Andy Furniss [EMAIL PROTECTED]: Jonathan Lynch wrote: This was down to the tx buffer size on the network card i was using. It was an Intel 82547EI gigabit Card using the e1000 driver and operating at 100mbit. The tx buffer was set to 256 which caused this huge delay. The minimum

[LARTC] UDP transfer speed exceeding the ceil by about 4x

2005-11-21 Thread Ryan Castellucci
A bit more detail. I have the following htb classes set up... class htb 1:356 parent 1:4 leaf 356: prio 4 quantum 1600 rate 12800bit ceil 51680bit burst 15Kb/8 mpu 0b overhead 0b cburst 1663b/8 mpu 0b overhead 0b level 0 class htb 1:357 parent 1:4 leaf 357: prio 4 quantum 1600 rate 12800bit ceil

RE: [LARTC] Pfifo_fast Unknown qdisc and asking for basic design advice

2005-11-21 Thread Mark Lidstone
Hi Andy, The situation is this: there are a total of four companies represented in our building. We've all been looking at upgrading our Internet connections from ADSL, and as we're all owned by the same parent company it made sense to buy our bandwidth in bulk. As such we're hoping to get a

[LARTC] per packet loadbalancing.

2005-11-21 Thread Michal Kustosik
I have the following scheme: -- | router| eth0 -- eth0 | router| | linux 1 | | linux 2 | | | eth1 -- eth1 | | -

Re: [LARTC] Transfer speed exceeding the ceil

2005-11-21 Thread Andy Furniss
Ryan Castellucci wrote: What's going on here? I'm spewing UDP traffic at this thing, and it is exceeding the ceil. Anyone know how to fix this? class htb 1:613 parent 1:5 leaf 613: prio 6 quantum 2560 rate 20480bit ceil 103360bit burst 15Kb/8 mpu 0b overhead 0b cburst 1728b/8 mpu 0b overhead 0b

RE: [LARTC] Pfifo_fast Unknown qdisc and asking for basic design advice

2005-11-21 Thread Mark Lidstone
Hi Stephen, Many thanks for that information. I thought my iproute2 was up to date, but I must have made a mistake somewhere. I'll go and grab it again. I can see your point about prio or (p/b)fifo not being much slower, but this will be running on an oldish Celeron box so I wanted to make

Re: [LARTC] Using TBF to throttle a PC to 5kbps

2005-11-21 Thread Andy Furniss
Lee Sanders wrote: Hi Everyone, This is a simple question but I don't understand why the below tbf is not working as expected by throttling traffic to 5kbps If I throttle a PC's traffic using the below when traffic exceeds 5kbps packets start getting dropped (as they should) but all traffic

[LARTC] Using DSCP to choose a route table

2005-11-21 Thread irworden
Hello, I am writing a routing daemon that is able to assign different gateways to a destination address for different classes of service. Multiple DiffServ Code Point values are mapped into a single class of service. I have accomplished this by using the iptables MARK target to label each

[LARTC] UDP traffic going through leaf faster then ceil...

2005-11-21 Thread Ryan Castellucci
What's going on here? I'm spewing UDP traffic at this thing, and it is exceeding the ceil, (i watched it for a few minutes, it didn't slow down). Anyone know how to fix this? class htb 1:613 parent 1:5 leaf 613: prio 6 quantum 2560 rate 20480bit ceil 103360bit burst 15Kb/8 mpu 0b overhead 0b

[LARTC] VOIP traffic under vSAT link

2005-11-21 Thread LinuXKiD
Hi, I've a vsat internet link and I want to know if I can make VOIP calls under it. ( Ping in the best case reach 900/ 100 ms by sattelite effect ) Can with SIP protocol make voip calls ? Thanks andres ___ LARTC mailing list LARTC@mailman.ds9a.nl

[LARTC] Iproute2 src mangling problems

2005-11-21 Thread Chris Kloosterman
Hi, I'm having an issue with changing the source address of packets origininating from a specific user using a combination of iptables and iproute2. We want to change packets originating from a specific service so that they originate from that service's IP address, so that we can move it to

[LARTC] HTB classid problem

2005-11-21 Thread weihua zhang
Hey, everyone, I am kindda newbie to this subject, so I just post my problem directly, please let me know if anything is wrong.in my config file when I use tc class add dev eth1 parent 1:11 classid 1:11016 htb rate 512kbit burst 10keverything works correctlybut...when classid goes

Re: [LARTC] VOIP traffic under vSAT link

2005-11-21 Thread Gustavo Daniel Villarreal
From an Avaya switch documentation: 80 millisecond (ms) to 180 ms delay can give quality business communication, which is much better than cell-phone quality. This range is very well suited for the majority of businesses. The International Telecommunication Union (ITU-T) recommends 150

Re: [LARTC] HTB classid problem

2005-11-21 Thread Stephen Hemminger
On Mon, 21 Nov 2005 16:22:17 -0800 (PST) weihua zhang [EMAIL PROTECTED] wrote: Hey, everyone, I am kindda newbie to this subject, so I just post my problem directly, please let me know if anything is wrong. in my config file when I use tc class add dev eth1 parent 1:11 classid

[LARTC] relation b/w uplink and downlink rate control

2005-11-21 Thread Salim
Hello all, I have browsed archives and real all available HOWTOs, but I still have a few doubts. My set up is a router, as below. LAN(100MB)-(eth1)Linux-Router(eth0)---WAN(2MB/512) My aim is to cotrol both uplink and downlink bandwidth. For uplink control, I will

Re: [LARTC] Iproute2 src mangling problems

2005-11-21 Thread Patrick McHardy
Chris Kloosterman wrote: - We have two IP addresses assigned to this machine using aliases: [EMAIL PROTECTED] ~]# ip addr show 2: eth0: BROADCAST,MULTICAST,UP mtu 1500 qdisc pfifo_fast qlen 1000 ... inet xxx.yyy.zzz.39/24 brd xxx.yyy.zzz.255 scope global eth0 inet xxx.yyy.zzz.16/24 brd

Re: [LARTC] Re: [ANNOUNCE] iproute2 2.6.14-051107

2005-11-21 Thread Patrick McHardy
Damjan wrote: Patrick McHardy * Fix ip command shortcuts Hmm.. what's this change? I've noticed that ip address no longer works, only ip addr works. This seems to be one of the things the introduction of batch mode broke. This patch fixes it. Index: ip/ip.c