[LARTC] two internet connections don't appear to be masqing

2004-09-23 Thread Dave Kempe
I have a script for dual internet connections that does this: - #!/bin/bash IF1=eth1 IP1=203.219.190.106 P1=203.219.190.105 P1_NET=203.219.190.104 IF2=eth2 IP2=220.245.224.46 P2=220.245.224.45 P2_NET=220.245.224.44 IF0=eth0 P0_net=192.168.0.0 TABLE1=inet1 TABLE2=inet2

[LARTC] iproute2 tool compiling problems.

2004-09-23 Thread Nathan Levy
Hi all. This is my first msg in this list, and I´d appreciate any help you could give me. I already compiled the kernel with the options to run iproute2 tools. But, when I download the iproute2-2.4.7-now-ss010824.tar.gz file from ftp://ftp.inr.ac.ru/ip-routing/ and try to compile it, I

Re: [LARTC] iproute2 tool compiling problems.

2004-09-23 Thread Alessandro O. Ungaro
Did you try this one: http://developer.osdl.org/dev/iproute2/, on the download section? This is the last one. []'s x-arnie Nathan Levy wrote: Hi all. This is my first msg in this list, and I´d appreciate any help you could give me. I already compiled the kernel with the options to run

[LARTC] shaping fails when using p2p apps?

2004-09-23 Thread diab
Hi there, We're running a small ISP and all the users are shaped to 384/512/768k both ways (whichever package they choose). The router is a linux (debian sarge), the kernel is 2.4.25 right now. All users are getting 10.1.1.* ip addresses (eth1) and eth0 connects to the isp using ethernet (via a

Re: [LARTC] shaping fails when using p2p apps?

2004-09-23 Thread Damjan
We're running a small ISP and all the users are shaped to 384/512/768k both ways (whichever package they choose). The router is a linux (debian sarge), the kernel is 2.4.25 right now. All users are getting 10.1.1.* ip addresses (eth1) and eth0 connects to the isp using ethernet (via a media

Re: [LARTC] Source IP translation

2004-09-23 Thread Corey Rogers
Source natting occurs in the POSTROUTING chain (the source nat occurs after the routing decisions have been made for the packet, destination nats however occur before routing decisions are made). You are currently using PREROUTING with -j SNAT iptables will exit with an error as a result. On

Re[2]: [LARTC] shaping fails when using p2p apps?

2004-09-23 Thread diab
Hi, D Yoa are doing nat on the same machine, thus the filter above will not D get the clients IP address but the NAT-ed address. Thats because TC D stuff happens after all of the netfilter, routing and bridging stuff. D You could MARK packet when they enter eth1 (with iptables) and then D match

[LARTC] Prioritizing forwarded traffic over locally generated traffic

2004-09-23 Thread Neil Greatorex
Hi, I'm a complete newbie at this traffic shaping / QoS stuff so please excuse me if this is a silly question. I've searched and searched on Google and I just end up confusing myself even more, so I thought I'd post my question to this list and see whether someone can help me! Basically, I am

Re: [LARTC] Prioritizing forwarded traffic over locally generated traffic

2004-09-23 Thread Jason Boxman
On Thursday 23 September 2004 18:09, Neil Greatorex wrote: Hi, I'm a complete newbie at this traffic shaping / QoS stuff so please excuse me if this is a silly question. I've searched and searched on Google and I just end up confusing myself even more, so I thought I'd post my question to

Re: [LARTC] Prioritizing forwarded traffic over locally generated traffic

2004-09-23 Thread kraquen
Sounds to me like he's trying to match via source IP.. which would catch everything just fine.. Niel, I do something very similar, its fairly simple.. you want to mark packets in your prerouting, then match against them in your qdiscs.. i use an htb.. my upload link can handle about 85