Re: [LARTC] route mail through different gateway

2006-08-13 Thread Oscar Mechanic
Silly mistake I always make is too forget to put in NAT on GW. But what you have done should work. Have you confirmed that this works on 10.0.0.5 ip route del default ip route add default via 10.0.0.2 ip route flush cache If that works maybe try # Dont know which one of these I think your right

Re: [LARTC] tc filter

2006-08-13 Thread Andy Furniss
doudouyam wrote: Hi, Is it possible to make a filter with tc which exclude an IP like iptables ?? ex: iptable -t mangle -A PREROUTING -i eth0 -d ! 192.168.1.222 -j MARK ... I try the ! with tc but it doesn't work. Thanks, doude. Not directly, but you can just match the address then follow

[LARTC] netfilter patch-o-matic: where did all the patches go?

2006-08-13 Thread Justin Schoeman
Hi all, I haven't been paying attention to this for a while, but now that I download the latest patch-o-matic-ng, I see that most of the patches are gone... Anybody have an idea where I can download the 'extras' repository? Specifically geoip. Thanks! -justin

[LARTC] Info about IFB

2006-08-13 Thread Samuel Díaz García
Hi, I'm looking for info about IFB devices and how I can use it to incomming traffic shapping. Has IFB any web about it? Do any body known where I can find more info about it? I found this: http://linux-net.osdl.org/index.php/IFB But I can't stand fine how to use it to allow many ifb's

[LARTC] Re: how to save iproute

2006-08-13 Thread Jarek Poplawski
On 01-08-2006 11:28, Oscar Mechanic wrote: Say if I have a few routes like this ip rule add from 19.21.12.12 lookup 200 ip route add default via 10.0.0.253 ip rule add to 13.1.2.2 lookup 201 ip route add default via 10.0.0.254 ip route add default via 10.0.0.254 How do I save them, I have

[LARTC] Re: tc filter

2006-08-13 Thread Jarek Poplawski
On 03-08-2006 18:06, doudouyam wrote: Hi, Is it possible to make a filter with tc which exclude an IP like iptables ?? ex: iptable -t mangle -A PREROUTING -i eth0 -d ! 192.168.1.222 http://192.168.1.222 -j MARK ... Maybe there is something like this, I don't know, but you can try two

[LARTC] trying to prioritize voip traffick

2006-08-13 Thread John covici
I am using a server with asterisk and I am trying to prioritize voip traffick -- I am a newbie at this traffic shaping, so please bear with me. I used the script below and what happens is thatall traffic in the bulk class stops after a couple of minutes. Also, should I include the ports for rtp

Re: [LARTC] netfilter patch-o-matic: where did all the patches go?

2006-08-13 Thread Patrick McHardy
Justin Schoeman wrote: I haven't been paying attention to this for a while, but now that I download the latest patch-o-matic-ng, I see that most of the patches are gone... Anybody have an idea where I can download the 'extras' repository? Specifically geoip. We removed all patches that we

[LARTC] ingress and flowid

2006-08-13 Thread Andrés Ghigliazza
Hi there, I am trying to understand our router / firewall, that was configured by another person. It is a Debian GNU/Linux with several configurations with tc and iptables. I have a question about flowid in ingress qdisc. As fas as I know, this qdisc is a dummy one, and flowid is just used with

[LARTC] HTB and BOND Interface

2006-08-13 Thread Sim
Hi! Is it HTB fully compatible with BOND interface? I have this setup (mode= fault tolerance) : BOND0 - ETH0 + ETH1 BOND1 - ETH2 + ETH3 ( http://www.kernel.org/pub/linux/kernel/people/marcelo/linux-2.4/Documentation/networking/bonding.txt ) HTB work very well with Class over BOND0. If I add