Re: [LARTC] htb: class 10007 isn't work conserving ?!
Yes, that's what I was trying to ask below. I'm still trying to figure out which class (in the : format) the error message is referring to. It's about class 1:7. So, since I'm not sure which class it is (and I have several htb qdiscs; oh, I just realized that I neglected to mention that I'm using HTB), I'm not sure which qdisc this refers to. I [think I] understand that htb is a non-work-conserving qdisc, and I [think I] have configured things so that every htb qdisc I instantiate limits the bandwidth, so I don't understand why this situation would invoke a warning message. Also -- is there some way to correlate this identifier "10007" with a classid? I'm just starting back on working on this problem this morning, and I'll approach it via a process of elimination, but I just thought there surely must be some sort of deterministic mapping between the : label and this one given in the warning message. Thank you -- Glen -- ** Glen W. Mabey [EMAIL PROTECTED] http://mabeys.homelinux.com/glen/ ** --- Catalin(ux aka Dino) BOIE catab at deuroconsult.ro http://kernel.umbrella.ro/ ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
[LARTC] Redundant link, but with a separate router?
VPN (IP x.x.150.3) VPN (IP x.x.150.3) | | | | Cable Link DSL Link (IP y.y.y.y) (ppp0 z.z.z.z) | | | | Netopia R9100Linux Router (IP x.x.125.1) (eth0 x.x.125.3) | | | | | | --+x.x.125.0+- Currently, our network (x.x.125.0) uses a Netopia R9100 as it's gateway and firewall to the Internet. It also provides a critical VPN link to a remote site. In order to have a backup/redundant connection, I've added a DSL line using a Linux box as a router/firewall instead of purchasing another separate router. What I'd like to do is load balance the two connections but everything I've been reading shows a single box functioning as the router with 3 NICs in it - 1 for the internal network and 2 for the Internet connections. But, is it possible to do it with my current setup, using the separate Netopia router as the second gateway? Gateway for the internal clients would be set to x.x.125.3 (the Linux router) Most of the client workstations are Mac OS (pre-OS X for now) and Win 9x/XP. Only a small percentage of the workstations require access to the VPN and they don't produce much traffic on it. They could all be routed out one link or the other at the same time and it wouldn't have much effect on their performance, but if that link goes down, I want them to be able to flip over to the working connection relatlively seamlessly. Load balancing on the non-VPN Internet traffic would be great though, as that load can get rather large. I suppose I'm complicating things (needlessly?) by considering this approach instead of just sticking another NIC into the Linux router. But I do like having that Netopia router still in place - if anything happened to the Linux router, change the internal IP address on the Netopia and it functions as the default gateway with the VPN still in place. Is this concept going to be possible, and assuming that it is, is it worthwhile? Thanks, Dave Wadson IT Manager The Chronicle-Journal ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Re: [LARTC] Static ip addresses/aliases previously (my mistake) htb: class 10007 isn't work conserving ?!
On Mon, Jul 05, 2004 at 05:14:20PM +0100, Chris Bolton wrote: > No I am using the EN5861, just that we have two ADSL lines and only one > EN5861 and rather than buying another I'd like to use linux to do the same > job as the en5861, if you know what I mean. You can, but since you have two ADSL lines, you'll need two ADSL devices of some kind, whether it's a pair of 5861s, or a 5861 and an ADSL port adapter (external modem, PCI card, whatever) that Linux supports. The simplest solution will be to have the same setup for both lines. Either use two 5861s, or get two ADSL adapters that Linux can talk to. > So far I've set up ppp0:0 which I've assigned one of the static ip addresses > supplied to us by our ISP but when I try and route through it i.e. ip route > add default dev ppp0:0 table T1 then it returns the error no such device, > which it's quite right there isn't. If I route through it using the ip > address of ppp0:0 i.e ip route add default via x.x.x.193 table T1 then it > does work but anything that goes through it ends up using the IP address of > ppp0. So both lines were supplied by the same ISP? > So how can I set up the linux box to use these static IP addresses in the > same way I can with the EN5861? If you want to remove the 5861 from the picture entirely, you'll need to replace it with some sort of ADSL adapter. You can't just plug a DSL line into an ethernet card. > I hope I'd made myself clear, it's hard trying to explain something when > your not to sure exactly what your talking about. Anyway any help with be > gladly received. It would help if you could draw a diagram of your network so we could get a better idea of what yo're trying to do. -James ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Re: [LARTC] htb: class 10007 isn't work conserving ?!
On Mon, Jul 05, 2004 at 09:18:11AM +0300, Catalin BOIE wrote: > On Fri, 2 Jul 2004, Glen Mabey wrote: > > >I'm getting the following error/warning at some point in my config > >script, and I'm not sure which class it is referring to. > > > >htb: class 10007 isn't work conserving ?! > > What qdisc is attached to this class? Yes, that's what I was trying to ask below. I'm still trying to figure out which class (in the : format) the error message is referring to. So, since I'm not sure which class it is (and I have several htb qdiscs; oh, I just realized that I neglected to mention that I'm using HTB), I'm not sure which qdisc this refers to. > >I [think I] understand that htb is a non-work-conserving qdisc, and I > >[think I] have configured things so that every htb qdisc I instantiate > >limits the bandwidth, so I don't understand why this situation would > >invoke a warning message. > > > >Also -- is there some way to correlate this identifier "10007" with a > >classid? I'm just starting back on working on this problem this morning, and I'll approach it via a process of elimination, but I just thought there surely must be some sort of deterministic mapping between the : label and this one given in the warning message. Thank you -- Glen -- ** Glen W. Mabey [EMAIL PROTECTED] http://mabeys.homelinux.com/glen/ ** ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
[LARTC] Static ip addresses/aliases previously (my mistake) htb: class 10007 isn't work conserving ?!
>>Our ISP has given us 5 static IP address plus one router IP address >>and I was wondering if I could get rid of their stupid EN5861 router >>and set up the linux machine to handle all the static addresses and >>routing. I figured I'd have to set up alises for other IP addresses >>eg ifconfig eth0:0 >>xx.xx.xx.193 but once I've done that I've found out I cant use ip >>route to configure it eg ip route add default dev eth0:0 table server. >>Whats the best way to go about this? >> >>Cheers. >> >>By the way I'm running redhat 9 with two adsl connections, on is a >>speedtouch USB modem and the other is the EN5861 router. >> >> > >I'm not quite sure why you tagged this on to the end of a thread about htb classes? As a result many people may not even read your question...? Erm no reason I was just half asleep at the time. >I have one of those EN5861 router things, and actually I find it pretty >good. The biggest issue is that it's a bit of a timebomb, the >powersupply dies after a few years, and unless you have a spare it's a >bit of a weak link >Do you need to do some particularly advanced routing that's stopping you just using the en5861? No I am using the EN5861, just that we have two ADSL lines and only one EN5861 and rather than buying another I'd like to use linux to do the same job as the en5861, if you know what I mean. So far I've set up ppp0:0 which I've assigned one of the static ip addresses supplied to us by our ISP but when I try and route through it i.e. ip route add default dev ppp0:0 table T1 then it returns the error no such device, which it's quite right there isn't. If I route through it using the ip address of ppp0:0 i.e ip route add default via x.x.x.193 table T1 then it does work but anything that goes through it ends up using the IP address of ppp0. So how can I set up the linux box to use these static IP addresses in the same way I can with the EN5861? I hope I'd made myself clear, it's hard trying to explain something when your not to sure exactly what your talking about. Anyway any help with be gladly received. Cheers, Chris. ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Re: [LARTC] htb: class 10007 isn't work conserving ?!
Our ISP has given us 5 static IP address plus one router IP address and I was wondering if I could get rid of their stupid EN5861 router and set up the linux machine to handle all the static addresses and routing. I figured I'd have to set up alises for other IP addresses eg ifconfig eth0:0 xx.xx.xx.193 but once I've done that I've found out I cant use ip route to configure it eg ip route add default dev eth0:0 table server. Whats the best way to go about this? Cheers. By the way I'm running redhat 9 with two adsl connections, on is a speedtouch USB modem and the other is the EN5861 router. I'm not quite sure why you tagged this on to the end of a thread about htb classes? As a result many people may not even read your question...? I have one of those EN5861 router things, and actually I find it pretty good. The biggest issue is that it's a bit of a timebomb, the powersupply dies after a few years, and unless you have a spare it's a bit of a weak link Do you need to do some particularly advanced routing that's stopping you just using the en5861? Good luck Ed W ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
RE: [LARTC] htb: class 10007 isn't work conserving ?!
Hi all, Our ISP has given us 5 static IP address plus one router IP address and I was wondering if I could get rid of their stupid EN5861 router and set up the linux machine to handle all the static addresses and routing. I figured I'd have to set up alises for other IP addresses eg ifconfig eth0:0 xx.xx.xx.193 but once I've done that I've found out I cant use ip route to configure it eg ip route add default dev eth0:0 table server. Whats the best way to go about this? Cheers. By the way I'm running redhat 9 with two adsl connections, on is a speedtouch USB modem and the other is the EN5861 router. ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/