From: Daniel Phlander Date: Mon, 26 Sep 2005 18:59:44 +0000 Subject: [LARTC] Re: LARTC Digest, Vol 7, Issue 7 Message-Id: <20050926185944.68138.qmail@web52604.mail.yahoo.com> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============0360960362==" List-Id: To: lartc@vger.kernel.org --===============0360960362== Content-Type: multipart/alternative; boundary="0-2142088921-1127761184=:67726" Content-Transfer-Encoding: 8bit --0-2142088921-1127761184=:67726 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi Andreas! I mainly understand what you mean, but best for me would be if you could make an example from the script I have. I know I did something wrong into it, but I still can't see the error. If you could fix the error from my script that would be much appreciated. Looking forward to hear from you, Daniel Phlander lartc-request@mailman.ds9a.nl wrote: Send LARTC mailing list submissions to lartc@mailman.ds9a.nl To subscribe or unsubscribe via the World Wide Web, visit http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc or, via email, send a message with subject or body 'help' to lartc-request@mailman.ds9a.nl You can reach the person managing the list at lartc-owner@mailman.ds9a.nl When replying, please edit your Subject line so it is more specific than "Re: Contents of LARTC digest..." Today's Topics: 1. Re: Traffic Control (Andreas Klauer) 2. Re: LARTC Digest, Vol 7, Issue 6 (Gobbledegeek) 3. ip route add default mpath (rr| drr|random|wrandom)... (Krzysiek) ---------------------------------------------------------------------- Message: 1 Date: Sun, 25 Sep 2005 12:09:52 +0200 From: Andreas Klauer Subject: Re: [LARTC] Traffic Control To: lartc@mailman.ds9a.nl Message-ID: <200509251209.52461.Andreas.Klauer@metamorpher.de> Content-Type: text/plain; charset="iso-8859-15" On Sunday 25 September 2005 07:37, Daniel Phlander wrote: > I made a script as the attached one but it doesn't make any limit and I > can't figure out what the problem is. This is only a quick guess by glancing at your script, but it seems that your HTB class tree is messed up. You have 'only child' classes - a parent with only one child does not make sense, a child class needs at least one sibling. Your default/filter rules point to parent classes, which won't work. You must put packets into leaf classes. Attach filter rules to the qdisc (attaching them to classes may not work) and have them point to leaf classes (make sure the default class is a leaf class as well). HTH Andreas ------------------------------ Message: 2 Date: Mon, 26 Sep 2005 12:25:34 +0530 From: Gobbledegeek Subject: [LARTC] Re: LARTC Digest, Vol 7, Issue 6 To: lartc@mailman.ds9a.nl Message-ID: <463aea57050925235541c3820e@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 > > 1. iproute2/nano-howto: dual external routing, a "virtual > subnet" (/dev/rob0) > > Success!! I played around with this off and on all day, and now it > works. I turned on /proc/sys/net/ipv4/conf/dummy0/proxy_arp (how can > the interface be flagged NOARP and yet do proxy ARP?) Hmm there are a few arp patches on julians pages for lvs.. read their readme's to find out how they are applicable.... Rgrds ------------------------------ Message: 3 Date: 26 Sep 2005 09:56:18 +0200 From: Krzysiek Subject: [LARTC] ip route add default mpath (rr| drr|random|wrandom)... To: lartc@mailman.ds9a.nl Message-ID: <20050926075618.721CC173E66@poczta.interia.pl> Content-Type: TEXT/plain; CHARSET=ISO-8859-2 Anyone using it? I've tried but after about 5 min I always get kernel panic. My setup is based on nano.txt. I works well but only if CONFIG_IP_ROUTE_MULTIPATH_CACHED=n. I just wanted to play with the new mpath feature of ip. But enabling CONFIG_IP_ROUTE_MULTIPATH_CACHED always resuts in kernel panic. I'm not using any kernel patches from http://www.ssi.bg/~ja/ - are they needed at all? - They do not apply cean. The kernel is 2.6.13. This configuration does not work: CONFIG_IP_ROUTE_MULTIPATH=y CONFIG_IP_ROUTE_MULTIPATH_CACHED=y CONFIG_IP_ROUTE_MULTIPATH_RR=m CONFIG_IP_ROUTE_MULTIPATH_RANDOM=m CONFIG_IP_ROUTE_MULTIPATH_WRANDOM=m CONFIG_IP_ROUTE_MULTIPATH_DRR=m How should i use these modules? ip route add default mpath (rr| drr|random|wrandom)... does not load the appropriate module automatically. Loading them manualy changes nothing. And issuing this command on kernel where this feature is not enebled does not report any error. Krzysiek ---------------------------------------------------------------------- Sa niesamowite, zobaczysz... ;-) >>> link http://link.interia.pl/f18b9 ------------------------------ _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc End of LARTC Digest, Vol 7, Issue 7 *********************************** --------------------------------- Yahoo! for Good Click here to donate to the Hurricane Katrina relief effort. --0-2142088921-1127761184=:67726 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit
Hi Andreas!
 
I mainly understand what you mean, but best for me would be if you could make an example from the script I have. I know I did something wrong into it, but I still can't see the error. If you could fix the error from my script that would be much appreciated.
Looking forward to hear from you,
 
Daniel Phlander

lartc-request@mailman.ds9a.nl wrote:
Send LARTC mailing list submissions to
lartc@mailman.ds9a.nl

To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
or, via email, send a message with subject or body 'help' to
lartc-request@mailman.ds9a.nl

You can reach the person managing the list at
lartc-owner@mailman.ds9a.nl

When replying, please edit your Subject line so it is more specific
than "Re: Contents of LARTC digest..."


Today's Topics:

1. Re: Traffic Control (Andreas Klauer)
2. Re: LARTC Digest, Vol 7, Issue 6 (Gobbledegeek)
3. ip route add default mpath (rr| drr|random|wrandom)... (Krzysiek)


----------------------------------------------------------------------

Message: 1
Date: Sun, 25 Sep 2005 12:09:52 +0200
From: Andreas Klauer
Subject: Re: [LARTC] Traffic Control
To: lartc@mailman.ds9a.nl
Message-ID: <200509251209.52461.Andreas.Klauer@metamorpher.de>
Content-Type: text/plain; charset="iso-8859-15"

On Sunday 25 September 2005 07:37, Daniel Phlander wrote:
> I made a script as the attached one but it doesn't make any limit and I
> can't figure out what the problem is.

This is only a quick guess by glancing at your script, but it seems that
your HTB class tree is messed up. You have 'only child' classes - a parent
with only one child does not make sense, a child class needs at least one
sibling. Your default/filter rules point to parent classes, which won't
work. You must put packets into leaf classes. Attach filter rules to the
qdisc (attaching them to classes may not work) and have them point to leaf
classes (make sure the default class is a leaf class as well).

HTH
Andreas


------------------------------

Message: 2
Date: Mon, 26 Sep 2005 12:25:34 +0530
From: Gobbledegeek
Subject: [LARTC] Re: LARTC Digest, Vol 7, Issue 6
To: lartc@mailman.ds9a.nl
Message-ID: <463aea57050925235541c3820e@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

>
> 1. iproute2/nano-howto: dual external routing, a "virtual
> subnet" (/dev/rob0)
>
> Success!! I played around with this off and on all day, and now it
> works. I turned on /proc/sys/net/ipv4/conf/dummy0/proxy_arp (how can
> the interface be flagged NOARP and yet do proxy ARP?)

Hmm there are a few arp patches on julians pages for lvs.. read
their readme's to find out how they are applicable....


Rgrds


------------------------------

Message: 3
Date: 26 Sep 2005 09:56:18 +0200
From: Krzysiek
Subject: [LARTC] ip route add default mpath (rr|
drr|random|wrandom)...
To: lartc@mailman.ds9a.nl
Message-ID: <20050926075618.721CC173E66@poczta.interia.pl>
Content-Type: TEXT/plain; CHARSET=ISO-8859-2

Anyone using it? I've tried but after about 5 min I always get kernel panic. My setup is based on nano.txt. I works well but only if CONFIG_IP_ROUTE_MULTIPATH_CACHED=n. I just wanted to play with the new mpath feature of ip. But enabling CONFIG_IP_ROUTE_MULTIPATH_CACHED always resuts in kernel panic. I'm not using any kernel patches from http://www.ssi.bg/~ja/ - are they needed at all? - They do not apply cean. The kernel is 2.6.13.
This configuration does not work:
CONFIG_IP_ROUTE_MULTIPATH=y
CONFIG_IP_ROUTE_MULTIPATH_CACHED=y
CONFIG_IP_ROUTE_MULTIPATH_RR=m
CONFIG_IP_ROUTE_MULTIPATH_RANDOM=m
CONFIG_IP_ROUTE_MULTIPATH_WRANDOM=m
CONFIG_IP_ROUTE_MULTIPATH_DRR=m

How should i use these modules? ip route add default mpath (rr| drr|random|wrandom)... does not load the appropriate module automatically. Loading them manualy changes nothing. And issuing this command on kernel where this feature is not enebled does not report any error.

Krzysiek


----------------------------------------------------------------------
Sa niesamowite, zobaczysz... ;-) >>> link http://link.interia.pl/f18b9



------------------------------

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


End of LARTC Digest, Vol 7, Issue 7
***********************************


Yahoo! for Good
Click here to donate to the Hurricane Katrina relief effort. --0-2142088921-1127761184=:67726-- --===============0360960362== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc --===============0360960362==--