[LARTC] multiple uplinks example script

2005-01-31 Thread Tóth Nándor
Hi! I had two uplinks till today. We stopped one of them today, so i thought i could share my experience. (it is maybe useful for somebody) I hadn't managed to configure it using a LARTC howto, but the Nano-howto (http://www.ssi.bg/~ja/nano.txt) and julian's kernel patches. I had some problems

Re: [LARTC] simple questions about imq

2005-01-31 Thread Tóth Nándor
Hi! Andy Furniss wrote: Can i put these rules to the POSTROUTING chain? And i can still have my CLASSIFY targets in the POSTROUTING chain, because IMQ queing will happen after it according to http://lartc.org/howto/lartc.imq.html. So for example: $IPTABLES -t mangle -A POSTROUTING -o $eth2 ... -

Re: [LARTC] Re: Confuse, putting packets in wrong mangle table.

2005-01-31 Thread Rio Martin.
On Monday 31 January 2005 23:17, Andy Furniss wrote: > Ahh - I thought that squid could limit connections based on the rate the > client could sustain. > You can shape incoming to squid with imq if hooked after nat, because > its traffic will have real dst address - other will have been denatted.

Re: [LARTC] load balancing between two default gateways

2005-01-31 Thread Askar
[EMAIL PROTECTED] wrote: Now what I want may be "shapping" to route 70% traffic via 2Mb and 30 via 1Mb. Is this possible via iproute2? if yes I will greatly appreciate if someone helps newbie to iproute2 :) You can read the multipath routing section on lartc.org - Click on "Dive in" :)

Re: [LARTC] simple questions about imq

2005-01-31 Thread Andy Furniss
Tóth Nándor wrote: Hi! I have read all informations i could find, but some things are still not clear. My setup is: ---INTERNET1(eth0)-\ /- Local net1 (eth2) GW ---INTERNET2(eth1)-/ \- Local net2 (eth3) I have NAT and a working setup using HTB,SFQ, classifying with the i

[LARTC] MPLS QoS

2005-01-31 Thread windtim
Hi, i'm testing QoS MPLS on IP network. I'm confusing about what are features that permit Multi Protocol Label Switching to support QoS on a network. Can you clarify me it? In particular about the integration between MPLS and DiffServe Thanks in advance for the help __

Re: [LARTC] Re: Confuse, putting packets in wrong mangle table.

2005-01-31 Thread Andy Furniss
Rio Martin. wrote: On Saturday 29 January 2005 00:55, Andy Furniss wrote: I ve tried this before, but never succeed. I didnt know where should i attach the 10:100 class. In the document, just told to add this class in tc, without giving some information which interface should i attach this class. I

[LARTC] Number of connections decreasing performance !

2005-01-31 Thread Mihai Vlad
Hello again, I am stuck with this problem: I have: One Linux NAT Box. One internet connection. 100 clients in the LAN. Test 1: - Connect only one client to the server and download from it a file. -> The total speed recorded on the server is maximum (as expected - let's say 128KB) Test 2: - C

[LARTC] How to bond pppoe links

2005-01-31 Thread Damjan
I have three ADSL lines that I'd like to use as one big pipe to the internet. The ADSL service works by establishing a pppoe connection (the ADSL "modem" is a bridge), and each pppoe interface gets its own IP address. This means I'd have to have 4 ethernet interfaces (3 for each of the ADSL modems

Re: [LARTC] load balancing between two default gateways

2005-01-31 Thread rsenykoff
> Now what I want may be "shapping" to route 70% traffic via 2Mb and > 30 via 1Mb. > Is this possible via iproute2? if yes I will greatly appreciate if > someone helps newbie to iproute2 :) You can read the multipath routing section on lartc.org - Click on "Dive in" :) I've been running lo

Re: [LARTC] Personal Firewalls

2005-01-31 Thread Alfred Vahau
>However, there is a possibility if you want to find the computer by IP, if you use manageable switches. As you know which >IPs are improper, you can also find the corresponding MAC address passively from the router's ARP table (or actively by >arping), and the switches will be able to tell you

Re: [LARTC] iproute-save ?

2005-01-31 Thread Vincent Jaussaud
On Fri, 2005-01-28 at 09:12 +0200, [EMAIL PROTECTED] wrote: > Anyone to know iproute-save, iproute-restore like script similar > iptables-save/restore ? > that stores everytihng routes,rules,tables everything ... > then init.d-script that among other things stores the state on shutdown :") > (th

Re: [LARTC] simple questions about imq

2005-01-31 Thread Andre Correa
IMQ hooking is set on kernel config, there is an option for "IMQ behavior". Make sure you are using a recent patch version. let me know if we can help you somehow... Cheers. Andre Tóth Nándor wrote: Hi! Andre Correa wrote: Cool Toth, please let us know if you make it work. Just take care to hook

Re: [LARTC] One interface forwarding (wireless ad-hoc mode)?

2005-01-31 Thread Tóth Nándor
Hi! Steven Y. Ko wrote: Maybe: # ip forward is a must for a gateway echo "1" > /proc/sys/net/ipv4/ip_forward I'm sorry that I forgot mentioning that I turned it on. Also there's no firewall, either. Thank you so much for your answer, though. I'm still figuring out how to do it. It should work. If

Re: [LARTC] simple questions about imq

2005-01-31 Thread Tóth Nándor
Hi! Andre Correa wrote: Cool Toth, please let us know if you make it work. Just take care to hook IMQ in the right place if you are doing NAT. You can choose to hook it after or before NAT. Where can i set it? Can you answer my questions below? I will document these things, if i managed to do it.

Re: [LARTC] One interface forwarding (wireless ad-hoc mode)?

2005-01-31 Thread Steven Y. Ko
> Maybe: > # ip forward is a must for a gateway > echo "1" > /proc/sys/net/ipv4/ip_forward I'm sorry that I forgot mentioning that I turned it on. Also there's no firewall, either. Thank you so much for your answer, though. I'm still figuring out how to do it. - Steve

Re: [LARTC] PRIO inside HTB - trouble attaching filters correctly?

2005-01-31 Thread Stef Coene
On Sunday 30 January 2005 16:00, [EMAIL PROTECTED] wrote: > Hello everyone! > > I'm simply trying to put a PRIO inside an HTB (used to throttle). I've got > interactive traffic on the network that I want to give priority (VoIP + > Citrix + Video). > > I've used the filters in a CBQ script fine, but

Re: [LARTC] Anyone have the userguide's tc script and the corresponding ethloop input files?

2005-01-31 Thread Stef Coene
On Monday 31 January 2005 04:26, CcM wrote: > I'm trying to get picture from ethloop and gnuplot. But the output seems > weird. I still do not know why and want some examples. > > Thanks in advance. This is the only script I found. It uses monitor.pl that I use to get the counters. But you can als

Re: [LARTC] traffic in default class

2005-01-31 Thread Denis Kot
as I wrote before (in another message to list): tc qdisc add dev imq0 root handle 1: htb default 30 tc class add dev imq0 parent 1: classid 1:1 htb rate 512kbit ceil 512kbit tc class add dev imq0 parent 1:1 classid 1:30 htb rate 64kbit ceil 512kbit then: iptables -t mangle -A PREROUTING -i ppp0

Re: [LARTC] simple questions about imq

2005-01-31 Thread Andre Correa
Cool Toth, please let us know if you make it work. Just take care to hook IMQ in the right place if you are doing NAT. You can choose to hook it after or before NAT. Good luck! Andre Tóth Nándor wrote: Hi! I have read all informations i could find, but some things are still not clear. My setup

Re: [LARTC] load balancing between two default gateways

2005-01-31 Thread Jesper Lund
> Now what I want may be "shapping" to route 70% traffic via 2Mb and > 30 via 1Mb. > Is this possible via iproute2? if yes I will greatly appreciate if > someone helps newbie to iproute2 :) You can read the multipath routing section on lartc.org - Click on "Dive in" :) /Jesper

[LARTC] traffic in default class

2005-01-31 Thread Denis Kot
how to see which packets is going in to default class? -- Denis Kot denis?jabber.org.by ICQ: 13680126 Mobil: +375 29 6-1234-78 ___ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[LARTC] load balancing between two default gateways

2005-01-31 Thread Askar
Hi list gurus, long story short we have firewall machine which is the default gateway for our clients and firewall send traffic out to Internet via cisco router. On cisco we have two serial interfaces 1Mb and 2Mb. On firewall #route add default gw xxx.xxx.xx.xxx (for 2mb) #route add default gw xxx

[LARTC] tc segmentation faults when trying to add pfifo_fast as leaf discipline on a HTB class

2005-01-31 Thread Jesper Lund
Hello I am trying to attach pfifo_fast to af leaf htb class. But tc segmenetation faults. If I try the failing command throug strace, it shows me that the last thing tc tries to do just before the segmentation fault, is to try to open a file called "/usr/lib/tc/q_pfifo_fast.so". Of course i have

Re: [LARTC] why there is any traffic in default class?

2005-01-31 Thread Denis Kot
my rules is right, cause ppp0 is vpn client who has (applied by pppd) ip 192.168.2.2. so I want any traffic from ppp0 AND 192.168.2.2 route to class 1:22 On Mon, 31 Jan 2005 10:55:53 +0100, Tóth Nándor <[EMAIL PROTECTED]> wrote: > Hi! > > Denis Kot wrote: > > I have: > > > > tc qdisc add dev imq

Re: [LARTC] why there is any traffic in default class?

2005-01-31 Thread Tóth Nándor
Hi! Denis Kot wrote: I have: tc qdisc add dev imq0 root handle 1: htb default 30 tc class add dev imq0 parent 1: classid 1:1 htb rate 512kbit ceil 512kbit tc class add dev imq0 parent 1:1 classid 1:30 htb rate 64kbit ceil 512kbit then: iptables -t mangle -A PREROUTING -i ppp0 -s 192.168.2.2 -j IMQ

[LARTC] why there is any traffic in default class?

2005-01-31 Thread Denis Kot
I have: tc qdisc add dev imq0 root handle 1: htb default 30 tc class add dev imq0 parent 1: classid 1:1 htb rate 512kbit ceil 512kbit tc class add dev imq0 parent 1:1 classid 1:30 htb rate 64kbit ceil 512kbit then: iptables -t mangle -A PREROUTING -i ppp0 -s 192.168.2.2 -j IMQ --todev 0 tc clas

[LARTC] Question about filters

2005-01-31 Thread George Alexandru Dragoi
Hello, I need to do the following: make a htb qdisc with its class of 70mbit then add some classes, one of 10mbit, another of 10mbit, one of 5mbit and the rest in last class (with also child classes). The 5mbit class is a quaranteed one, and it is marked with a special dscp. I will add an HFSC q