[LARTC] interesting routing situation

2005-11-10 Thread Angel Aranciba
Hi, this is my first mail to the list, I'm no speak English, but i try my best. this situation attack my attention since i first er about it, but i still don't have a good solution. There are 2 different networks whit different connection to the internet each one whit their servers (lets call it

Re: [LARTC] Traffic control of PPPoE users

2005-11-10 Thread Damjan
If you use PPPoE with a DSL modem in bridge mode(RFC 1483 BRIDGED) in order to terminate a ppp tunnel on a linux box, it will not be easy to achieve QoS on the upload side. My network is Ethernet only (some parts of it is proprietary wireless ethernet). No ADSL. I want to terminate

[LARTC] Dead Gateway Detection with PPPoE

2005-11-10 Thread Brett Charbeneau
Gentlefolk, First, many thanks to EVERYONE that tries so hard to make this advanced routing stuff useful to the ...rest of us! You all rock! I have been prowling the archives of this list for an answer to my problem, and have seen some close situations, but no joy. Yet.

[LARTC] What Cisco calls 'Overloading NAT'??

2005-11-10 Thread David Sims
Hi, Is there a way in Linux to do NAT with a pool of outside addresses such that each connection to the outside resource gets a different IP address?? I don't want 1:1 NAT as I have some thousands of IP addresses on one side of the LARTC router that _may_ need to access a resource on the other

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

2005-11-10 Thread Damjan
Update to iproute2 is available. Most of the changes were to repair the things that broke with the introduction of the batch mode to the ip command. http://developer.osdl.org/dev/iproute2/download/iproute2-2.6.14-051107.tar.gz I'm getting this error when trying to compile on

[LARTC] throtling bandwidth

2005-11-10 Thread Payal Rathod
Hi, My branch office as got a 256Kbps b/w from their service provider at a very very high rate per Mb. They don't require 256Kbps at all but the ISP does not offer anything low. Can we restrict the bandwith to say 64Kbps nothing fancy? How do I go about it? With warm regards, -Payal

Re: [LARTC] throtling bandwidth

2005-11-10 Thread Oscar Mechanic
Instead of restricting the speed use iptables ipt_account to restrict usage and the put in a script on cron to zero the counters. That way you get to budget and the users get best experience. On Thu, 2005-11-10 at 10:57 -0500, Payal Rathod wrote: Hi, My branch office as got a 256Kbps b/w from

Re: [LARTC] throtling bandwidth

2005-11-10 Thread Brett Charbeneau
On Thu, 10 Nov 2005, Payal Rathod wrote: PR My branch office as got a 256Kbps b/w from their service provider at a PR very very high rate per Mb. They don't require 256Kbps at all but the PR ISP does not offer anything low. Can we restrict the bandwith to say PR 64Kbps nothing fancy? How do I

Re: [LARTC] What Cisco calls 'Overloading NAT'??

2005-11-10 Thread David Sims
Hi Oscar, I am doing the existing routing (only!) with a pretty bare Ubuntu server install... i.e., no firewall and no iptables at this point Cisco (in at least some software) allows many:1 NAT with a pool of NAT addresses rather than a single address This way, every connection seems to

Re: [LARTC] What Cisco calls 'Overloading NAT'??

2005-11-10 Thread Oscar Mechanic
If I was thee I would install iptables. To my knowledge the nat implementation in ip is stateless so you could not use it for that but I stand to be corrected. You could do a nice implementation using nth or random on SNAT. So if it is a new connections using connstate then put it into nth off a

Re: [LARTC] throtling bandwidth

2005-11-10 Thread Payal Rathod
On Thu, Nov 10, 2005 at 11:09:18AM -0500, Brett Charbeneau wrote: tc qdisc delete dev eth0 root tc qdisc add dev eth0 root tbf limit 5kb burst 5kb rate 256kbit tc qdisc delete dev eth1 root tc qdisc add dev eth1 root tbf limit 5kb burst 5kb rate 256kbit I have adsl (pppoe) with eth0 as my

Re: [LARTC] throtling bandwidth

2005-11-10 Thread Oscar Mechanic
Sorry its ipt_quota iptables -I FORWARD 1 -s 192.16.0.1/24 -m quota --quota 6000 -j ACCEPT iptables -I FORWARD 2 -s 192.16.0.1/24 -j DENY All of 192.16.0.0 will be limited to 6M after which they get nothing more clever things are possible but I will leave it too you. quota Implements

Re: [LARTC] throtling bandwidth

2005-11-10 Thread Payal Rathod
On Thu, Nov 10, 2005 at 12:12:03PM -0500, Brett Charbeneau wrote: Does that make your pppoe interface ppp0? Try issuing an ifconfig command to see. I'm always confused about how the kernel sees a pppoe interface. Yes, my ISP assigned IP is given to ppp0 With warm regards,

Re: [LARTC] What Cisco calls 'Overloading NAT'??

2005-11-10 Thread Oscar Mechanic
Dont bother with books, (What have books ever done for us ?(Life of brian)) http://iptables-tutorial.frozentux.net/iptables-tutorial.html I also suggest you take a long look at http://asteriskathome.sourceforge.net/ So you need at least 40 calls going at anyone time. If you were using SIP this

[LARTC] simple routing query

2005-11-10 Thread Payal Rathod
Hi, I have 2 interfaces - one for adsl and other for LAN on my Linux gateway machine. The IP addresses are 10.10.10.3 192.168.10.101 respectively. Now my routing tables show this particular entry. What exactly is this? 169.254.0.0/16 dev eth0 scope link Or by traditional route -n,

Re: [LARTC] simple routing query

2005-11-10 Thread Brett Charbeneau
On Thu, 10 Nov 2005, Payal Rathod wrote: PR What exactly is this 169.254.0.0/16 thing? Remember - Google is your friend on stuff like this. Here's a good rundown on the subject: http://www.cas.ilstu.edu/shac/Knowledge/Spam/iana.htm see the Autoconfiguration IP Addresses

Re: [LARTC] simple routing query

2005-11-10 Thread Payal Rathod
On Thu, Nov 10, 2005 at 12:50:34PM -0500, Brett Charbeneau wrote: http://www.cas.ilstu.edu/shac/Knowledge/Spam/iana.htm see the Autoconfiguration IP Addresses section. Yes, I read it, thnaks but I don't understand it. | Addresses in the range 169.254.0.0 to 169.254.255.255 are used

Re: [LARTC] simple routing query

2005-11-10 Thread Brett Charbeneau
On Thu, 10 Nov 2005, Payal Rathod wrote: PR What do they mean by this? Is it at address given by error due to PR misconfiguaration. That's always been my experience. If I were you I'd double-check the way your interfaces are configured. Something is goofy or not getting

Re: [LARTC] simple routing query

2005-11-10 Thread Andreas Unterkircher
I had such a experience with SuSE on a server with two network interface. While only one of them was connected to the lan with a fixed IP, the other was configured by YaST to get it's IP from a DHCP server. Cause it can't reach it and timed out, the interface didn't get an IP address, but

Re: [LARTC] simple routing query

2005-11-10 Thread Payal Rathod
On Thu, Nov 10, 2005 at 07:42:06PM +0100, Andreas Unterkircher wrote: I had such a experience with SuSE on a server with two network interface. While only one of them was connected to the lan with a fixed IP, the other was configured by YaST to get it's IP from a DHCP server. I too am on

[LARTC] lartc.org reading

2005-11-10 Thread Payal Rathod
Hi, This is the 7th time I am reading lartc.org howto and now got the reason why I could't understand it for so many days. It starts real good with cool basics, but on Chapter 4 Rules - routing policy database it gets complicated very fast. e.g. it mentions /etc/iproute2/rt_tables file but does

[LARTC] Routing Configuration

2005-11-10 Thread Paul Lewis
Hi, I have emailed the list before (email can be found here http://mailman.ds9a.nl/pipermail/lartc/2005q4/017220.html) regarding this matter. Basically, I am trying to set up a router for my college, to route conference guests over an adsl line, and students over an academic connection. I've

Re: [LARTC] simple routing query

2005-11-10 Thread Andreas Unterkircher
Solution? Leave it as it is or delete it :) It shouldn't make any problem It's a local block of ip addresses and don't get routed. Cheers, Andreas PS: But perhaps dhcpcd or pump is running in background on due some miss configuration? Payal Rathod wrote: On Thu, Nov 10, 2005 at 07:42:06PM

[LARTC] cpu power needed for shaping

2005-11-10 Thread Igor Krneta
Hello, My company recently upgraded our internet connection and I need to set up shaping. I was wondering , what are the CPU and RAM requirements for shaping 768/768 DSL line ? I have a few old P III's (450 MHz, 256 RAM) and some VIA Eden (533 MHz, 512 RAM) boxes lying around. Which one would

Re: [LARTC] cpu power needed for shaping

2005-11-10 Thread Corey Hickey
Igor Krneta wrote: Hello, My company recently upgraded our internet connection and I need to set up shaping. I was wondering , what are the CPU and RAM requirements for shaping 768/768 DSL line ? Not much. I help take care of a P1-200 with 96MB RAM that does firewalling, NAT, shaping, and

[LARTC] action redirect and dummy interface

2005-11-10 Thread Paweł Staszewski
Hello i have some problems on 2.6.14 kernel dummy and iproute :) i have server with 2 nics : eth0 inet eth1 lan dummy0 (i want to shape incoming traffic from lan machine on this interface) my config: tc qdisc del dev dummy0 root tc qdisc add dev dummy0 root handle 1: htb tc class add dev

[LARTC] action redirect and dummy interface

2005-11-10 Thread Paweł Staszewski
Hello i have some problems on 2.6.14 kernel dummy and iproute :) i have server with 2 nics : eth0 inet eth1 lan dummy0 (i want to shape incoming traffic from lan machine on this interface) my config: tc qdisc del dev dummy0 root tc qdisc add dev dummy0 root handle 1: htb tc class add dev