[LARTC] multipath routing

2005-10-26 Thread comp.techs
Hi, I am tring to us ip route to load balance  between 
two interfaces.
 


ip route add equalize 10.200.1.0/24 nexthop via 10.200.0.2 dev neta nexthop 
via 10.200.0.2 dev neta2
 
Where neta and neta2 are gre tunnels.   Testing show that 
packets travel  in a single sided manner.
 
Do I need to use the multipath (IP_ROUTE_MULTIPATH_CACHED) module?
 
thx jason___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


Re: [LARTC] Help needed with traffic control script.

2005-10-26 Thread Omry Yadan

had a look.

seems like you change is cosmetic only, or did I missed it?


panca sorin wrote:


--- Omry Yadan <[EMAIL PROTECTED]> wrote:

 


had a problem with previous script (debug exit early
in it), please look
at this one instead.

while writing the previous message I found and fixed
some problem in the
script.

because of this 'exit' I didn't really test the
changnes.

it seems that now "unclassified" packagets no longer
grabs bandwidth
from http, but on the other hand -

it takes a very long time to open an ssh connection
from the server to a
machine on the internet while users are downloading.

   


What about incomming packets? how can you be sure that
interractive traffic gets to you from the internet
first when you download something? Priorize control
packets, too. (ACK, SYN and SYN ACK).
I modified your script and added some new variables.



__ 
Yahoo! FareChase: Search multiple travel sites in one click.

http://farechase.yahoo.com



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


[LARTC] Explenation of WRR parameters

2005-10-26 Thread Kenneth Kalmer
Guys

Oppologies for the cross post.

I've been scouring the docs coming with the wrr patches and for the
life of me I can't figure out why there are 8 parameters for each
class.



  weight1, min1, decr1, incr1,
  weight2, min2, decr2, incr2



According to the docs these parameters are handled the same way, but
looking at the example scripts there are different values for these.

I had a look at the formulas, and have gotten my own set of reasonable
values, based on the calculations, but do I place the same values in
param1 & param2?

Any help would be appreciated

--

Kenneth Kalmer
[EMAIL PROTECTED]

[EMAIL PROTECTED] stats
http://vspx27.stanford.edu/cgi-bin/main.py?qtype=userpage&username=kenneth%2Ekalmer
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


RES: RES: [LARTC] Terminal Services and traffic control.

2005-10-26 Thread Thiago Lima - lst


-Mensagem original-
De: Joost Kraaijeveld [mailto:[EMAIL PROTECTED] 
Enviada em: quarta-feira, 26 de outubro de 2005 07:30
Para: Thiago Lima - lst
Cc: lartc@mailman.ds9a.nl
Assunto: Re: RES: [LARTC] Terminal Services and traffic control.

On Tue, 2005-10-25 at 17:00 -0200, Thiago Lima - lst wrote:

>   As far as I know, Citrix is more optimized for long distance setups.
Mmmm. This is what the Citrix marketing department wants to believe you
anyway. 

> First: do you have a perfomance problem when running without any traffic
> control: according to my experience, each connection runs OK with ~20-30
> kilobit/sec? If you don't have problems, don't fix them.
> 
>   Yes I have problems without traffic control. For instance, when
> someone transfers a file between the networks TS sessions become slow.
Even
> open outlook becomes unusable.
Do you mean by that: user copies a file from his client to the TS
session (or the other way around)? Or do you mean that the user copies
a file in the TS session from directory to directory in the TS session?
If the latter, are the directries local to the TS server or are they
actually mounted shares? If so, on which side of the link are the shares?

> Second, do you use any other services from the Windows server on the
> other side: DHCP, DNS, WINS, file shareing (e.g. roaming profiles, home
> directories) profiles, databases (SQL server), Internet connections etc?
> If you have any of those (especially the ones for name resolution) you
> must take those in account also.
> 
>   I have a file server running into another server. TS users use those
> files for work. But there're basically excel and word files.
OK, but are the files in the TS session or on the client computer? Is
the location of the fileserver on the side of the TS server or on the
side of the clients?
 
The files are in the file server, with stands right next to the TS
(connected by gigabit Ethernet).

My problem is to make connections from my office to TS with maximum
priority. There's some other traffic in the 1Mbit link. TS port should have
maxixum priority and flow.



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


[LARTC] No Nat problem

2005-10-26 Thread Aristarchus
Hello... 

I have the following problem: 

The usual way for a linux router to manage connections between 2 or more 
internet providers and an internal network is to SNAT the internal network into 
the (usually 1) external ip address that the provider has given us. My problem 
is that i dont wish to do SNAT (anymore) because my provider has given my a 
unique internet ip address for each pc so that my the internet address and 
local are identical. My SNAT configuration worked perfectly. I had two routing 
tables

1)Main
231.245.21.0/27 dev eth2  scope link 
192.168.1.0/24 dev eth0  scope link 
192.168.2.0/24 dev eth1  scope link 
default via 192.168.1.1 dev eth0

2)Policy
231.245.21.0/27 dev eth2  scope link 
192.168.1.0/24 dev eth0  scope link 
192.168.2.0/24 dev eth1  scope link 
default via 231.245.21.1 dev eth2

Where 192.168.2.0 is my internal network, 231.245.21.0 the network of Provider 
1 and 192.168.1.0 the network of Provider 2.It all worked (almost) flawlessly. 
Certain Ports were going out from eth2 while all the other from eth0.

One would say that with the internet ips i would have to make the following 
change: (Asuming that pc's at lan have 231.245.21.4-62 from now on)

1)Main
231.245.21.0/27 dev eth2  scope link 
231.245.21.0/27 dev eth0  scope link 
192.168.1.0/24 dev eth1  scope link 
default via 192.168.1.1 dev eth2

and

2)Policy
231.245.21.0/27 dev eth2  scope link 
231.245.21.0/27 dev eth0  scope link 
192.168.1.0/24 dev eth1  scope link 
default via 231.245.21.1 dev eth2

But alas, when i tried to do that it was not accepted: 
"RTNETLINK : File exists" <--- exit output
I tried to do it with the route command and it was accepted only for main table 
but look what was happening. If i had the first declaration of the subnet
in eth2 I could only communicate with the gateway 1 (231.245.21.1) while if it 
was eth0 in the first declaration I couldn' t communicate with the gw but only 
with lan. Then I tried another way. Instead of declaring the same network I 
declared a static route only with the gateway in eth2. Thus :

1)Main
231.245.21.1 dev eth2  scope link
231.245.21.0/27 dev eth0  scope link
192.168.1.0/24 dev eth1  scope link
default via 192.168.1.1 dev eth1

2)Policy
231.245.21.1 dev eth2  scope link
231.245.21.0/27 dev eth0  scope link
192.168.1.0/24 dev eth1  scope link
default via 231.245.21.1 dev eth2

And in that way i managed into the point that i could communicate from my linux 
router with both sides. I mean Provider 1 and internal network. I could also 
communicate from my local lan with provider 2. But the real problem is that i 
cannot communicate with Provider 1 from my local lan. Is this the right way to 
accomplish that and i am missing something or is it the tottally wrong way to 
do it. Someone plz help.

 Thank you in advance

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


Re: RES: [LARTC] Terminal Services and traffic control.

2005-10-26 Thread Joost Kraaijeveld
On Tue, 2005-10-25 at 17:00 -0200, Thiago Lima - lst wrote:

>   As far as I know, Citrix is more optimized for long distance setups.
Mmmm. This is what the Citrix marketing department wants to believe you anyway. 

> First: do you have a perfomance problem when running without any traffic
> control: according to my experience, each connection runs OK with ~20-30
> kilobit/sec? If you don't have problems, don't fix them.
> 
>   Yes I have problems without traffic control. For instance, when
> someone transfers a file between the networks TS sessions become slow. Even
> open outlook becomes unusable.
Do you mean by that: user copies a file from his client to the TS
session (or the other way around)? Or do you mean that the user copies
a file in the TS session from directory to directory in the TS session?
If the latter, are the directries local to the TS server or are they
actually mounted shares? If so, on which side of the link are the shares?

> Second, do you use any other services from the Windows server on the
> other side: DHCP, DNS, WINS, file shareing (e.g. roaming profiles, home
> directories) profiles, databases (SQL server), Internet connections etc?
> If you have any of those (especially the ones for name resolution) you
> must take those in account also.
> 
>   I have a file server running into another server. TS users use those
> files for work. But there’re basically excel and word files.
OK, but are the files in the TS session or on the client computer? Is
the location of the fileserver on the side of the TS server or on the
side of the clients?
 
-- 
Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
e-mail: [EMAIL PROTECTED]
web: www.askesis.nl 


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


[LARTC] Help regarding TBF and CBQ

2005-10-26 Thread Suresh Babu
Hello Please give advice in selecting suitable QoS Solution for our device. It contains one WAN port and a LAN port(4 port switch). The WAN will be connected to an ADSL modem(so we don`t know the bandwidth in advance for the WAN and depends on the ADSL connection taken). We need to give highest priority to the Voice and control the WAN bandwidth to 2Mbps. I tried with the TBF by giving 500kbps for voice and 
1.5Mbps for other traffic(I`m assuming that a user takes atmost 2Mbps line). But the maximum throughput i`m getting for the data is 1.15 only. Even if create only one TBF class with full 2 Mbps rate). I need to simulate different WAN bandwidth speeds like 64kbps, 128kbps, 256kbps..etc, How to do simulate this?. 
What is the maximum bandwidth that a TBF can control?What is the suitable solution for providing a QoS to our device?Does CBQ helps in my case?Thanks in Advance.Regards,Suresh Babu.
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


[LARTC] Bug in ip -6?

2005-10-26 Thread Radek Vokál
Hi,

 this appeared on Red Hat bugzilla and I'm not sure if customer
presumption is correct

`ip -6 route add 10::a120/124 via 10::a111`
returns
RTNETLINK answers : invalid argument


His expected result is that route table to subnet 10::a120/124 should be
added

I know RFC3587 described prefix 001b is the unicast global address range
assigned by IANA, and all other unicast address rage is 'unassigned'.
But 'unassigned' does not mean illegal. It's only administrative
purpose. Implementation should not get such restriction.


Is he correct? Should this be fixed?

-- 
Radek Vokál <[EMAIL PROTECTED]>


signature.asc
Description: This is a digitally signed message part
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc