[LARTC] p2p marking, again

2006-02-06 Thread Vaidas
Hey, one more question for ipp2p iptables -t mangle -A DSL-IN -p tcp -m ipp2p --ipp2p -j CONNMARK --restore-mark iptables -t mangle -A DSL-IN -p tcp -m mark ! --mark 0 -j ACCEPT iptables -t mangle -A DSL-IN -p tcp -m ipp2p --ipp2p -j MARK --set-mark 7 iptables -t mangle -A DSL-IN -p

[LARTC] ip rule, fwmark, mangle and src IP

2006-02-06 Thread Sandro Dentella
I made a script to test if in a moultiple gateway setup all default connection are up, regardless of the fact that that gateway is the default gw. Suppose adsl1 and adsl2 are present, and all traffic goes by default to adsl1, and you want to test if adsl2 is ok. 1. I use mangles from

Re: [LARTC] p2p marking, again

2006-02-06 Thread Jody Shumaker
Bah, I don't know why I didn't notice this before in your previous email. It's obvious now that you gave the states output: iptables -t mangle -A DSL-IN -p tcp -m ipp2p --ipp2p -j CONNMARK --restore-mark that line is horribly wrong, it should be: iptables -t mangle -A DSL-IN -p tcp -j CONNMARK

[LARTC] Limited quantity of filters.

2006-02-06 Thread Konrad
$TC filter add dev imq0 parent 1:0 prio 5 protocol ip u32 $TC filter add dev imq0 parent 1:0 prio 5 handle 2: protocol ip u32 divisor 256 for ((j=0; j=7; j++)) do for ((i=0; i=255; i++)) do q=`printf %x\n $i` $TC filter add dev imq0 protocol ip parent 1:0 u32 ht 2:$q: match ip src

[LARTC] Multipath Routing Problem

2006-02-06 Thread Charlie Meyer
I currently have 4 DSL lines set up to load balance for my lan. The multipath works fine for connections the originate from the linux gateway (such as browsing the internet in KDE or using wget), but all the traffic from hosts on the lan is routed through only one of the DSL lines (as seen using

[LARTC] About two IFs with the same IP and the multipath

2006-02-06 Thread Alpt
Hi there, I'm trying to achieve the classic load balancing using the multipath. The gateways are: A (tunl0) and B (tunl1) This is the classical situation covered by the HOWTO: one computer with two Internet connections. The problems come when I try to use the same IPs for both A and

[LARTC] wireless router or Access Poing

2006-02-06 Thread LinuXKiD
Hi, I want to set up a Linux as Access Point, and maybe, as router too. There is some distro or minidistro in order to do that ? thanks in advance andres ___ LARTC mailing list LARTC@mailman.ds9a.nl

Re: [LARTC] wireless router or Access Poing

2006-02-06 Thread Nathan Littlepage
Pebble. http://www.nycwireless.net/pebble/ LinuXKiD wrote: Hi, I want to set up a Linux as Access Point, and maybe, as router too. There is some distro or minidistro in order to do that ? thanks in advance andres ___ LARTC mailing list

[LARTC] Limit bandwidth per IP

2006-02-06 Thread Rob Kobiske
I would like to limit the amount of bandwidth each IP in a network gets.For example I have a network that runs at 10mbit. I have a class C 192.168.1.0/24 that makes up this network. Is there any simple way I can say each IP in that class C gets 56k with out making a rule for each IP?Thanks,Rob

Re: [LARTC] Limited quantity of filters.

2006-02-06 Thread gypsy
Konrad wrote: $TC filter add dev imq0 parent 1:0 prio 5 protocol ip u32 $TC filter add dev imq0 parent 1:0 prio 5 handle 2: protocol ip u32 divisor 256 for ((j=0; j=7; j++)) do for ((i=0; i=255; i++)) do q=`printf %x\n $i` $TC filter add dev imq0 protocol ip parent 1:0

Re: [LARTC] wireless router or Access Poing

2006-02-06 Thread Michael Renzmann
Hi. On Tue, 2006-02-07 at 00:20 -0300, LinuXKiD wrote: There is some distro or minidistro in order to do that ? Voyage Linux: http://www.voyage.hk/software/voyage.html Or, as an extension of Pebble (someone else mentioned that already): http://www.voyage.hk/software/pebble-voyage.html Bye,

[LARTC] Please help in choosing the right patches

2006-02-06 Thread Sandeep Agarwal
Dear Sir, Please help me in building the right solution. My requirement is: 1stI want to club both ISP bandwidth to get 512kbps. 2nd, In normal condition, it should be in Load balancing. 3rd , InISP Failover condition, traffic will automatically route to working ISP. What I have: I