[LARTC] Packets going to default class iam having still the problem

2005-05-10 Thread hareram
Hi all
Its been long time i have sending this message to this news group
but i could not get proper responce from the authors or any experts that, is 
that bug or only the problem with my ssytem

iam tryin this config with FC
iptable 1.3.0
and latest TC tc utility, iproute2-ss050330
htb 3.17
iam trying past 2 weeks and digging all googles but could not able to come 
to conclusion whats wrong

could some one guide me right direction whats wrong wit my config
help will be appriciated
hare 

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


Re: [LARTC] Starting from scratch w/ multiple uplinks

2005-05-10 Thread Rafael A Barrero
Thanks for the link!
At the beginning of the document it states that it will not work with  
two modem connections. What if both my ADSL lines are pppoe? Will  
this still work?

Also, is patching the kernel necessary? (FC2, kernel version 2.6.5)
Thank you,
--
Rafael Barrero
[EMAIL PROTECTED]

On May 9, 2005, at 8:11 PM, Markus Schulz wrote:
Am Montag, 9. Mai 2005 16:05 schrieb Rafael A Barrero:
Hi guys;

[...]
Here's what I want to know:
1. Does an updated guide exist for multiple providers?
Look at this howto: http://www.ssi.bg/~ja/nano.txt
i've build based onto this howto a load balanced linux (kernel  
2.6.11.8)
system with two adsl 3mbit/512kbit devices and it works fine.

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

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


Re: [LARTC] Starting from scratch w/ multiple uplinks

2005-05-10 Thread Marc Manthey

On May 10, 2005, at 11:33 AM, Rafael A Barrero wrote:
Thanks for the link!
At the beginning of the document it states that it will not work  
with two modem connections. What if both my ADSL lines are pppoe?  
Will this still work?

Also, is patching the kernel necessary? (FC2, kernel version 2.6.5)
Thank you,
--
Rafael Barrero
[EMAIL PROTECTED]
hello  marcus rafael , experts
i am a beginner to  iproute 2 and like to set it  up on osx tiger, i  
have similar goals.
someone  did   or could point me to any howto that is more related to  
osx ?

i would like to set up an ipv6 connection to my apache2 webserver and
want to advertise a servise with mDNS over wide area network.
regards
marc
On May 9, 2005, at 8:11 PM, Markus Schulz wrote:
Am Montag, 9. Mai 2005 16:05 schrieb Rafael A Barrero:
Here's what I want to know:
1. Does an updated guide exist for multiple providers?
Look at this howto: http://www.ssi.bg/~ja/nano.txt
i've build based onto this howto a load balanced linux (kernel  
2.6.11.8)
system with two adsl 3mbit/512kbit devices and it works fine.
--
In a world without walls or fences, who needs Windows and Gates?
cuseeme:// 207.44.156.3 CID 0
Max send.14 Max. Recieve.40
brain.let.de
www.applehelpers.com


smime.p7s
Description: S/MIME cryptographic signature
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


Re: [LARTC] Starting from scratch w/ multiple uplinks

2005-05-10 Thread Markus Feilner
Am Montag, 9. Mai 2005 17:58 schrieb Sylvain BERTRAND:
 On Lun 9 mai 2005 17:14, Rafael A Barrero a écrit :
  Hey;
 
  I guess I should have included that aspect : what I want to
  achieve.
 
  I'd ideally like to use the new (faster line) as the default line
  for traffic, but be able to use the old line just as often
  depending on usage of the new line. However, it wouldn't matter if
  traffic routed randomly either. If one of the two lines is down,
  obviously use the one that is up.

 Iproute allows you to route packets according to their iptable's MARK
 field... you can randomly mark packets from new connections (with the
 appropriate ratio for each link), and route on this criterion.

 You should have a script in /etc/ppp/if{up,down}.d/ that changes the
 routes if one link goes {up,down}.

ACK. But how do you do the checking, if the link is down?
Especially if you have a dsl router in a ethernet subnet.
My subnet consists of three hosts, two of them are bintec routers who do 
the dsl stuff. They are reachable, even if the DSL Line is gone.
How would U check that?


  I just want to get the most out of both lines at the same time. My
  internal network has two services (http, imap) that need require
  port- forwarding from the router. Other than that the internal
  network is used for surfing the web, ssh, ftp, irc, p2p cients.

 Your services can listen on both interfaces, no problem with that...
 you can have load balancing on those links with multiple DNS records
 (though that's not a good thing (tm).

 Use the iptables MARK to use both at the same time, and the
 appropriate iproute setup.

  What about my questions regarding updated documentation for
  iproute2 (setting this all up)?

 I think the contents of LARTC are enough material for you (and of
 course, man iproute, man iptables).

Of course, but there is a need for some comprehensive, easy to 
understand HOWTO for non-techies... I guess.
Especially when it comes to tc and tcng...



 For the record, I've never actually done this kind of setup, I'm just
 thinking of what should be done to achieve those things. Somebody
 correct me if this is just nonsense.

 Regards,

 Sylvain

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

-- 
Mit freundlichen Grüßen
Markus Feilner
---
Feilner IT Linux  GIS 
Linux Solutions, Training, Seminare und Workshops - auch Inhouse
Beraiterweg 4 93047 Regensburg
fon +49 941 9465243 fax +49 941 9465244 mobil + +49 170 3027092 
mail [EMAIL PROTECTED] web http://www.feilner-it.net
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


Re: [LARTC] Starting from scratch w/ multiple uplinks

2005-05-10 Thread Sylvain BERTRAND
On Mar 10 mai 2005 13:02, Markus Feilner a écrit :
 Am Montag, 9. Mai 2005 17:58 schrieb Sylvain BERTRAND:
 On Lun 9 mai 2005 17:14, Rafael A Barrero a écrit :
  Hey;
 
  I guess I should have included that aspect : what I want to
  achieve.
 
  I'd ideally like to use the new (faster line) as the default line
  for traffic, but be able to use the old line just as often
  depending on usage of the new line. However, it wouldn't matter if
  traffic routed randomly either. If one of the two lines is down,
  obviously use the one that is up.

 Iproute allows you to route packets according to their iptable's MARK
 field... you can randomly mark packets from new connections (with the
 appropriate ratio for each link), and route on this criterion.

 You should have a script in /etc/ppp/if{up,down}.d/ that changes the
 routes if one link goes {up,down}.

 ACK. But how do you do the checking, if the link is down?
 Especially if you have a dsl router in a ethernet subnet.
 My subnet consists of three hosts, two of them are bintec routers who do
 the dsl stuff. They are reachable, even if the DSL Line is gone.
 How would U check that?

Have a script running that checks connectivity by sending a ping 'outside'.


  I just want to get the most out of both lines at the same time. My
  internal network has two services (http, imap) that need require
  port- forwarding from the router. Other than that the internal
  network is used for surfing the web, ssh, ftp, irc, p2p cients.

 Your services can listen on both interfaces, no problem with that...
 you can have load balancing on those links with multiple DNS records
 (though that's not a good thing (tm).

 Use the iptables MARK to use both at the same time, and the
 appropriate iproute setup.

  What about my questions regarding updated documentation for
  iproute2 (setting this all up)?

 I think the contents of LARTC are enough material for you (and of
 course, man iproute, man iptables).

 Of course, but there is a need for some comprehensive, easy to
 understand HOWTO for non-techies... I guess.
 Especially when it comes to tc and tcng...


If you want to setup this kind of redundancy, you *have* to understand
techie stuff. Out-of-the-box solutions do exist, but they're expensive...


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


Re: [LARTC] Starting from scratch w/ multiple uplinks

2005-05-10 Thread Robert Vangel
Markus Feilner wrote:
ACK. But how do you do the checking, if the link is down?
Especially if you have a dsl router in a ethernet subnet.
My subnet consists of three hosts, two of them are bintec routers who do 
the dsl stuff. They are reachable, even if the DSL Line is gone.
How would U check that?


What about specifying an interface to use  send a ping out?
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


Re: [LARTC] Starting from scratch w/ multiple uplinks

2005-05-10 Thread Robert Vangel
Marc Manthey wrote:
hello  marcus rafael , experts
i am a beginner to  iproute 2 and like to set it  up on osx tiger, i  
have similar goals.
someone  did   or could point me to any howto that is more related to  
osx ?

i would like to set up an ipv6 connection to my apache2 webserver and
want to advertise a servise with mDNS over wide area network.
regards
marc
You should start your own thread. Hijacking isn't nice.
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


Re: [LARTC] Starting from scratch w/ multiple uplinks

2005-05-10 Thread Marc Manthey
On May 10, 2005, at 2:07 PM, Robert Vangel wrote:
Marc Manthey wrote:
hello  marcus rafael , experts
i am a beginner to  iproute 2 and like to set it  up on osx tiger,  
i  have similar goals.
someone  did   or could point me to any howto that is more related  
to  osx ?
i would like to set up an ipv6 connection to my apache2 webserver and
want to advertise a servise with mDNS over wide area network.
regards
marc

You should start your own thread. Hijacking isn't nice.
robert,
I am sure  not  sure  what Hijacking means , but  i did not change  
the subject , right ?

sorry
--
si tacuisses philosophus manSisses
cuseeme:// 207.44.156.3 CID 0
Max send.14 Max. Recieve.40
www.let.de
www.applehelpers.com


smime.p7s
Description: S/MIME cryptographic signature
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


Re: [LARTC] Starting from scratch w/ multiple uplinks

2005-05-10 Thread Paulo Andre
Markus Schulz wrote:
 Am Montag, 9. Mai 2005 16:05 schrieb Rafael A Barrero:
 
Hi guys;

 
 [...]
 
Here's what I want to know:
1. Does an updated guide exist for multiple providers?
 
 
 Look at this howto: http://www.ssi.bg/~ja/nano.txt
 
 i've build based onto this howto a load balanced linux (kernel 2.6.11.8) 
 system with two adsl 3mbit/512kbit devices and it works fine.
 
Hi Markus,
Can your solution allow incoming packets into your network from a link A
,return out of the link A without nat'ing? I have been trying to get
this to work for a while and I am stumped.

Paulo

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


Re: [LARTC] Starting from scratch w/ multiple uplinks

2005-05-10 Thread Markus Schulz
Am Dienstag, 10. Mai 2005 09:33 schrieb Rafael A Barrero:
 Thanks for the link!

 At the beginning of the document it states that it will not work with
 two modem connections. What if both my ADSL lines are pppoe? Will
 this still work?

it works fine. if i'm at home i can post my script.

 Also, is patching the kernel necessary? (FC2, kernel version 2.6.5)

i think yes, but i didn't tried it without. 
i've tried only the variant with only one multipath default route (without the 
two additional tables for each device as mentioned in the nano howto) and 
this don't work.

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


Re: [LARTC] Starting from scratch w/ multiple uplinks

2005-05-10 Thread Markus Schulz
Am Dienstag, 10. Mai 2005 12:39 schrieb Paulo Andre:
 Markus Schulz wrote:
  Am Montag, 9. Mai 2005 16:05 schrieb Rafael A Barrero:
 Hi guys;
 
  [...]
 
 Here's what I want to know:
 1. Does an updated guide exist for multiple providers?
 
  Look at this howto: http://www.ssi.bg/~ja/nano.txt
 
  i've build based onto this howto a load balanced linux (kernel 2.6.11.8)
  system with two adsl 3mbit/512kbit devices and it works fine.

 Hi Markus,
 Can your solution allow incoming packets into your network from a link A
 ,return out of the link A without nat'ing? I have been trying to get
 this to work for a while and I am stumped.

did you mean DNAT from internet into local net? this works fine for various 
services (http, ssh and ftp i've running)

without snat (masquerade i have'nt tried) i can't send something into the 
internet cause of local ip adress i'm using.

 Paulo

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


Re: [LARTC] Starting from scratch w/ multiple uplinks

2005-05-10 Thread Paulo Andre
Markus Schulz wrote:
 Am Dienstag, 10. Mai 2005 12:39 schrieb Paulo Andre:
 
Markus Schulz wrote:

Am Montag, 9. Mai 2005 16:05 schrieb Rafael A Barrero:

Hi guys;

[...]


Here's what I want to know:
1. Does an updated guide exist for multiple providers?

Look at this howto: http://www.ssi.bg/~ja/nano.txt

i've build based onto this howto a load balanced linux (kernel 2.6.11.8)
system with two adsl 3mbit/512kbit devices and it works fine.

Hi Markus,
Can your solution allow incoming packets into your network from a link A
,return out of the link A without nat'ing? I have been trying to get
this to work for a while and I am stumped.
 
 
 did you mean DNAT from internet into local net? this works fine for various 
 services (http, ssh and ftp i've running)

For those services do you DNAT from the internet to internally?
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


Re: [LARTC] HTB rate miscalculation

2005-05-10 Thread Marcus Felipe Pereira

 One problem appeared. Htb seems to miscalculate the bandwidth for
classes with greater rates.
 For rates below 2Mbit there is almost no difference between the 
configured and the measured rate.

 For large ones the problem starts. My root class has 10Mbit rate and 
when the interface has heavy trafic the measured bandwidth coudn't get 
more then 8.5Mbit.

  # tc -s class show  shows that the root class has about the 
10Mbit, but the link stats shows mutch less.

 The solution was to put the htb ceil on about 12Mbit. Then I can get 
to the 10Mbit. When using CBQ I didn't have this problem.

 Is there any parameter that I can change to correct the rate 
calculation?
 Any one has similar problem?

What counters are you using to measure?
Does it do the same if you test with a single tcp stream and a very 
simple setup like -

tc qdisc add dev eth0 root handle 1:0 htb
tc class add dev eth0 parent 1:0 classid 1:1 htb rate 10mbit
tc filter add dev eth0 parent 1:0 protocol ip u32 match u32 0 0 flowid 
1:1

Andy.

I've done more tests, in fact there is a difference in the measure.
The rate measured by htb class, iptraf and iptables show very similar 
numbers.
The rate measured using SNMP ifInOctets and ifOutOctets (snmpget, ddrtool 
and mrtg) show rates about 20% less than htb.

Why this difference?
Not sure - I can get netperf, htb counters and polling ifconfig counters 
every second to agree and show correct rate with the simple case above.

I don't have snmpget to test.
Andy.
The difference is for sure on snmp counters, that's what mrtg an ddrtool 
use.

Getting counters for eth0 (should have snmp daemon running):
ifInOctets=`/usr/bin/snmpget -v1 -c snmppass host 
.1.3.6.1.2.1.2.2.1.10.2 | cut -f4 -d:`
ifOutOctets=`/usr/bin/snmpget -v1 -c snmppass host 
.1.3.6.1.2.1.2.2.1.16.2 | cut -f4 -d:`

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


Re: [LARTC] Starting from scratch w/ multiple uplinks

2005-05-10 Thread Markus Schulz
Am Dienstag, 10. Mai 2005 13:04 schrieb Paulo Andre:
 Markus Schulz wrote:
  Am Dienstag, 10. Mai 2005 12:39 schrieb Paulo Andre:
 Markus Schulz wrote:
 Am Montag, 9. Mai 2005 16:05 schrieb Rafael A Barrero:
 Hi guys;
 
 [...]
 
 Here's what I want to know:
 1. Does an updated guide exist for multiple providers?
 
 Look at this howto: http://www.ssi.bg/~ja/nano.txt
 
 i've build based onto this howto a load balanced linux (kernel 2.6.11.8)
 system with two adsl 3mbit/512kbit devices and it works fine.
 
 Hi Markus,
 Can your solution allow incoming packets into your network from a link A
 ,return out of the link A without nat'ing? I have been trying to get
 this to work for a while and I am stumped.
 
  did you mean DNAT from internet into local net? this works fine for
  various services (http, ssh and ftp i've running)

 For those services do you DNAT from the internet to internally?

yes and it works fine. for ftp i'm using additional the conntrack_ftp modules.

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


[LARTC] Waiting queue size

2005-05-10 Thread PRETI








Hi everybody,



My config is two RED waiting queues and I would like
to know if it is possible to have the size of the waiting queue in real time
with the tc command or whatever.



Thanks



Alex.








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


Re: [LARTC] Starting from scratch w/ multiple uplinks

2005-05-10 Thread Rafael A Barrero
Hey guys;
Have any of you seen the script at this page?
http://www.burnpc.com/website.nsf/all/FE5F4F294F508EB786256E600019BC30
On a side note, while balancing the 2 lines, I'm worried about web/ 
ftp/ssh sessions... iptables handles this, correct? I don't want my  
users to suddenly experience dropped connection for whatever they're  
using. Anyone have any experience with this?

Thanks,
--
Rafael Barrero
Gruppo Mediarete, S.r.l
[EMAIL PROTECTED]

On May 10, 2005, at 2:56 PM, Markus Schulz wrote:
Am Dienstag, 10. Mai 2005 09:33 schrieb Rafael A Barrero:
Thanks for the link!
At the beginning of the document it states that it will not work with
two modem connections. What if both my ADSL lines are pppoe? Will
this still work?
it works fine. if i'm at home i can post my script.

Also, is patching the kernel necessary? (FC2, kernel version 2.6.5)
i think yes, but i didn't tried it without.
i've tried only the variant with only one multipath default route  
(without the
two additional tables for each device as mentioned in the nano  
howto) and
this don't work.

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

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


Re: [LARTC] Starting from scratch w/ multiple uplinks

2005-05-10 Thread Markus Feilner
Am Dienstag, 10. Mai 2005 13:11 schrieb Sylvain BERTRAND:
 On Mar 10 mai 2005 13:02, Markus Feilner a écrit :
  Am Montag, 9. Mai 2005 17:58 schrieb Sylvain BERTRAND:
  On Lun 9 mai 2005 17:14, Rafael A Barrero a écrit :
   Hey;
  
   I guess I should have included that aspect : what I want to
   achieve.
  
   I'd ideally like to use the new (faster line) as the default
   line for traffic, but be able to use the old line just as often
   depending on usage of the new line. However, it wouldn't matter
   if traffic routed randomly either. If one of the two lines is
   down, obviously use the one that is up.
 
  Iproute allows you to route packets according to their iptable's
  MARK field... you can randomly mark packets from new connections
  (with the appropriate ratio for each link), and route on this
  criterion.
 
  You should have a script in /etc/ppp/if{up,down}.d/ that changes
  the routes if one link goes {up,down}.
 
  ACK. But how do you do the checking, if the link is down?
  Especially if you have a dsl router in a ethernet subnet.
  My subnet consists of three hosts, two of them are bintec routers
  who do the dsl stuff. They are reachable, even if the DSL Line is
  gone. How would U check that?

 Have a script running that checks connectivity by sending a ping
 'outside'.

   I just want to get the most out of both lines at the same time.
   My internal network has two services (http, imap) that need
   require port- forwarding from the router. Other than that the
   internal network is used for surfing the web, ssh, ftp, irc, p2p
   cients.
 
  Your services can listen on both interfaces, no problem with
  that... you can have load balancing on those links with multiple
  DNS records (though that's not a good thing (tm).
 
  Use the iptables MARK to use both at the same time, and the
  appropriate iproute setup.
 
   What about my questions regarding updated documentation for
   iproute2 (setting this all up)?
 
  I think the contents of LARTC are enough material for you (and of
  course, man iproute, man iptables).
 
  Of course, but there is a need for some comprehensive, easy to
  understand HOWTO for non-techies... I guess.
  Especially when it comes to tc and tcng...

 If you want to setup this kind of redundancy, you *have* to
 understand techie stuff. Out-of-the-box solutions do exist, but
 they're expensive...
You are completely right.
But tc requires more than techie stuff to make it work.
There is no comprehensive docu around which could e.g. used for 
trainings.
this is especially because it's so powerful.



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

-- 
Mit freundlichen Grüßen
Markus Feilner
---
Feilner IT Linux  GIS 
Linux Solutions, Training, Seminare und Workshops - auch Inhouse
Beraiterweg 4 93047 Regensburg
fon +49 941 9465243 fax +49 941 9465244 mobil + +49 170 3027092 
mail [EMAIL PROTECTED] web http://www.feilner-it.net
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


Re: [LARTC] Starting from scratch w/ multiple uplinks

2005-05-10 Thread Alexander Samad
On Tue, May 10, 2005 at 01:02:20PM +0200, Markus Feilner wrote:
 Am Montag, 9. Mai 2005 17:58 schrieb Sylvain BERTRAND:
  On Lun 9 mai 2005 17:14, Rafael A Barrero a ?crit :
   Hey;
  
   I guess I should have included that aspect : what I want to
   achieve.
  
   I'd ideally like to use the new (faster line) as the default line
   for traffic, but be able to use the old line just as often
   depending on usage of the new line. However, it wouldn't matter if
   traffic routed randomly either. If one of the two lines is down,
   obviously use the one that is up.
 
  Iproute allows you to route packets according to their iptable's MARK
  field... you can randomly mark packets from new connections (with the
  appropriate ratio for each link), and route on this criterion.
 
  You should have a script in /etc/ppp/if{up,down}.d/ that changes the
  routes if one link goes {up,down}.
 
 ACK. But how do you do the checking, if the link is down?
 Especially if you have a dsl router in a ethernet subnet.
 My subnet consists of three hosts, two of them are bintec routers who do 
 the dsl stuff. They are reachable, even if the DSL Line is gone.
 How would U check that?

I run pppoe on the box so have control over the session or run a ping
out side, but my guess is that the linux box will dead route the route
when the adsl send back an icmp net unreachable

 
 
   I just want to get the most out of both lines at the same time. My
   internal network has two services (http, imap) that need require
   port- forwarding from the router. Other than that the internal
   network is used for surfing the web, ssh, ftp, irc, p2p cients.
 
  Your services can listen on both interfaces, no problem with that...
  you can have load balancing on those links with multiple DNS records
  (though that's not a good thing (tm).
 
  Use the iptables MARK to use both at the same time, and the
  appropriate iproute setup.
 
   What about my questions regarding updated documentation for
   iproute2 (setting this all up)?
 
  I think the contents of LARTC are enough material for you (and of
  course, man iproute, man iptables).
 
 Of course, but there is a need for some comprehensive, easy to 
 understand HOWTO for non-techies... I guess.
 Especially when it comes to tc and tcng...
 
 
 
  For the record, I've never actually done this kind of setup, I'm just
  thinking of what should be done to achieve those things. Somebody
  correct me if this is just nonsense.
 
  Regards,
 
  Sylvain
 
  ___
  LARTC mailing list
  LARTC@mailman.ds9a.nl
  http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
 
 -- 
 Mit freundlichen Gr??en
 Markus Feilner
 ---
 Feilner IT Linux  GIS 
 Linux Solutions, Training, Seminare und Workshops - auch Inhouse
 Beraiterweg 4 93047 Regensburg
 fon +49 941 9465243 fax +49 941 9465244 mobil + +49 170 3027092 
 mail [EMAIL PROTECTED] web http://www.feilner-it.net
 ___
 LARTC mailing list
 LARTC@mailman.ds9a.nl
 http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
 


signature.asc
Description: Digital signature
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


Re: [LARTC] Starting from scratch w/ multiple uplinks

2005-05-10 Thread Alexander Samad
On Tue, May 10, 2005 at 02:39:57PM +0200, Paulo Andre wrote:
 Markus Schulz wrote:
  Am Montag, 9. Mai 2005 16:05 schrieb Rafael A Barrero:
  
 Hi guys;
 
  
  [...]
  
 Here's what I want to know:
 1. Does an updated guide exist for multiple providers?
  
  
  Look at this howto: http://www.ssi.bg/~ja/nano.txt
  
  i've build based onto this howto a load balanced linux (kernel 2.6.11.8) 
  system with two adsl 3mbit/512kbit devices and it works fine.
  
 Hi Markus,
 Can your solution allow incoming packets into your network from a link A
 ,return out of the link A without nat'ing? I have been trying to get
 this to work for a while and I am stumped.

If you always want that to be available via a certain route just place
static routes in place in all 3 tables

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


signature.asc
Description: Digital signature
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


Re: [LARTC] how to guarantee 1/numflows bandwidth to each flowdynamically

2005-05-10 Thread gypsy
Scott Mcdermott wrote:
 
 I am looking for a simple way to guarantee to each flow
 going through my traffic control point 1/numflows of
 bandwidth.  I thought using SFQ would do this effectively
 but it appears to be quite unfair: a very high speed
 download that fills the pipe easily starves smaller flows to
 the point where it becomes unusable (especially if they are
 at all interactive)
 
 Because numflows is dynamic, I'm not sure how I would have
 the bandwidth allocated to each flow change dynamically and
 automatically as flows are added and removed.
 
 Anyone have an idea how to implement this? Thanks.

Perhaps you should look at esfq rather than sfq.  esfq lets you specify
quantum in bytes, depth in flows, limit in packets, and a source or dest
hash.  Don't apply any sfq to what Wondershaper calls interactive.

You need to match esfq to the kernel version; 2.6 uses a different esfq
than 2.4.
--
buck
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


Re: [LARTC] pfifo_fast error message

2005-05-10 Thread gypsy
Victor Yeo wrote:
 
 the problem is after i delete the qdisc, and check again, there is nothing
 being displayed. Is this correct?
 
 #tc qdisc del root dev eth0
 
 #tc qdisc show dev eth0

tc qdisc show dev eth0 returns:

qdisc pfifo_fast 0: bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1

If you see anything else, then I'd say you have a problem.
--
gypsy
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


Re: [LARTC] pfifo_fast error message

2005-05-10 Thread Stephen Hemminger
gypsy wrote:

Victor Yeo wrote:
  

the problem is after i delete the qdisc, and check again, there is nothing
being displayed. Is this correct?

#tc qdisc del root dev eth0

#tc qdisc show dev eth0



tc qdisc show dev eth0 returns:

qdisc pfifo_fast 0: bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1

If you see anything else, then I'd say you have a problem.
--
gypsy

  

 Older versions of the iproute2 tools didn't know anything about pfifo_fast,
it would even core dump sometimes. This was one of the first bugs I fixed
about a year ago
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc