Re: [LARTC] forwarding in tcng

2003-12-04 Thread Martin A. Brown
Johan, : I am learning tcng without having experiance of tc and I am trying to : build something that shall schedule traffic dependent on the value in : the IPv4 packets ip_ttl field. : : I have read the tcng reference manual and cannot find information about : forwarding. Is it possible to

Re: [LARTC] Routing problem !!!

2003-12-04 Thread Martin A. Brown
Hello again, : Martin, as you can see in my last post i have route to 10.0.0.1 in the : main routing table , so i have ping to the gateway but i can't connect : to inet. OK. So, you can ping the gateway.can you ping the gateway from the source IPs you want to have Internet access? But, b

Re: [LARTC] Where have my all my TC filters gone??

2003-12-04 Thread Martin A. Brown
Hi there Robert, : I have snipped out part of a script to load balance and bandwidth shape : upload traffic to a NIC (eth0/ETH_WAN) on a 2mbit/256kbit ADSL line. : The balancing will be carried out for 3 users with 1+ PCs connected on : another NIC. There are iptables instructions (not shown i

Re: [LARTC] $100 USD to the first person that can provide the rules/scripts that will solve the QOS latency & bandwidth allocation issue !!!!

2003-12-04 Thread Darryl Miles
Darryl Miles wrote: # Match the IP address of the VPN tunnel endpoint, however if you are on DSL # with dynamic IP then you might as well scrap this value, otherwise change # "0.0.0.0/0" to just "10.0.0.something/32" or remove Opps... to just "24.239.167.x/32", the point is if you are on dyn

Re: [LARTC] $100 USD to the first person that can provide the rules/scripts that will solve the QOS latency & bandwidth allocation issue !!!!

2003-12-04 Thread Darryl Miles
Greg Freeman wrote: Thank you Darryl, Hopefully the below will help clarify. (below was run on the site1 firewall) Does the RX line look bad to you for Eth0? ifconfig -a eth0 Link encap:Ethernet HWaddr 00:D0:CF:01:A6:52 inet addr:10.0.0.1 Bcast:10.0.0.255 Mask:255.255.255.0

[LARTC] Where have my all my TC filters gone??

2003-12-04 Thread Robert Walker
I have snipped out part of a script to load balance and bandwidth shape upload traffic to a NIC (eth0/ETH_WAN) on a 2mbit/256kbit ADSL line. The balancing will be carried out for 3 users with 1+ PCs connected on another NIC. There are iptables instructions (not shown in the script) to mark pac

[LARTC] Re: Split bandwidth equally per IP

2003-12-04 Thread Stef Coene
On Thursday 04 December 2003 21:44, Mihai Vlad wrote: > I left out the burst parameter so that HTB would compute it. > > The 80k burst parameter was my approach to prioritze somehow page browsing > against heavy downloads. I said that 80 kilos is the average size of a html > page. > > Is there any

Re: [LARTC] $100 USD to the first person that can provide the rules/scripts that will solve the QOS latency & bandwidth allocation issue !!!!

2003-12-04 Thread Stef Coene
On Thursday 04 December 2003 21:57, Greg Freeman wrote: > Removed all the isolated, latency result was the same. Tried the new > rule(s) on the site1 and again had a latency of 318ms. However, dropped > packets increased to the highest I have seen it... 17%. The min latency > was 30ms, the max w

RE: [LARTC] $100 USD to the first person that can provide the rules/scripts that will solve the QOS latency & bandwidth allocation issue !!!!

2003-12-04 Thread Greg Freeman
Removed all the isolated, latency result was the same. Tried the new rule(s) on the site1 and again had a latency of 318ms. However, dropped packets increased to the highest I have seen it... 17%. The min latency was 30ms, the max was 881ms -Original Message- From: Stef Coene [mailto

[LARTC] RE: Split bandwidth equally per IP

2003-12-04 Thread Mihai Vlad
I left out the burst parameter so that HTB would compute it. The 80k burst parameter was my approach to prioritze somehow page browsing against heavy downloads. I said that 80 kilos is the average size of a html page. Is there any other way to accomplish this task. Is there a way to tell page bro

RE: [LARTC] $100 USD to the first person that can provide the rules/scripts that will solve the QOS latency & bandwidth allocation issue !!!!

2003-12-04 Thread Greg Freeman
Good guess, 10.0.0.7 is actually the VoIP phone system, which can handle multiple calls. 10.0.1.20-22 are actually IP phones I just pasted your other changes and was about to apply them. I will try it first, then the below and let you know the results. -Original Message- From: Stef C

Re: [LARTC] $100 USD to the first person that can provide the rules/scripts that will solve the QOS latency & bandwidth allocation issue !!!!

2003-12-04 Thread Stef Coene
On Thursday 04 December 2003 21:24, Greg Freeman wrote: > Stef, > The current set of rules I have in it are as follows: > > > tc qdisc add dev ipsec0 root handle 1: htb default 20 > tc class add dev ipsec0 parent 1: classid 1:1 htb rate 600kbit ceil > 640kbit burst 2k > tc class add dev ipsec0 pare

RE: [LARTC] $100 USD to the first person that can provide the rules/scripts that will solve the QOS latency & bandwidth allocation issue !!!!

2003-12-04 Thread Greg Freeman
Stef, The current set of rules I have in it are as follows: tc qdisc add dev ipsec0 root handle 1: htb default 20 tc class add dev ipsec0 parent 1: classid 1:1 htb rate 600kbit ceil 640kbit burst 2k tc class add dev ipsec0 parent 1:1 classid 1:10 htb rate 240kbit tc class add dev ipsec0 parent

Re: [LARTC] Split bandwidth equally per IP

2003-12-04 Thread Stef Coene
On Thursday 04 December 2003 19:52, Mihai Vlad wrote: > It's me again, with the same problem. > > I want to be able to split the bandwidth per IP, as I have 10 clients in my > LAN and I want to be sure they get the same rate when downloading. > > I followed all the steps from the HTB manual, but th

Re: [LARTC] $100 USD to the first person that can provide the rules/scripts that will solve the QOS latency & bandwidth allocation issue !!!!

2003-12-04 Thread Stef Coene
On Thursday 04 December 2003 03:33, Greg Freeman wrote: > I tried the following rules and had the same bad latency results for the > corp site to remote site. Below are the rules I tried which gave the bad > (avg. 350ms) latency: > > corp rules > > tc qdisc add dev ipsec0 handle 1: root cbq

Re: [LARTC] $100 USD to the first person that can provide the rules/scripts that will solve the QOS latency & bandwidth allocation issue !!!!

2003-12-04 Thread Darryl Miles
Greg, You do not say in your original article how your 640kbit/640kbit link is attached, eth0, eth1 or pppX? If the interface is dedicated only for WAN usage, or if the WAN be via a gateway? If your VPN endpoint hosts are on the same or a different box to that with the 640kbit link. You did

[LARTC] Split bandwidth equally per IP

2003-12-04 Thread Mihai Vlad
  It’s me again, with the same problem. I want to be able to split the bandwidth per IP, as I have 10 clients in my LAN and I want to be sure they get the same rate when downloading.   I followed all the steps from the HTB manual, but the script can be “beaten” when one uses more connec

Re: [LARTC] Bandwidth and traffic priotization and throttling

2003-12-04 Thread Martin A. Brown
Good morning, Leon, : I'm trying to setup my server to bandwidth control. Where we live : bandwidth is very expensive and we need to closely monitor it. We'll : buy 512kbps and this will have to be shared between 4 companies. Thus : giving everybody a minimum if 128kbps but it must be burstabl

[LARTC] Aliases and Multipath

2003-12-04 Thread Guillermo Gomez
Hi all Does anyone know if i can use ethernet aliases like eth0:1 in advanced routing like multipath routing in order to avoid to have nxEthernet interfaces in my Linux box. Thansk in advanced -- Guillermo Gomez <[EMAIL PROTECTED]> neotech ___ LARTC

[LARTC] Grouping Interfaces

2003-12-04 Thread Rus Foster
Hi All, I'm a newbie to Linux routing and I've read the HOWTO more times than I care to remeber. Now I've managed to get simple rate limiting working on my primary eth0 with no problem. However what I've got is as follows eth0 is on 100Mbit I'm running User Mode Linux so I've got say 5-10 tap in

Re: [LARTC] How to route and queue, based on iptables marked packets, at the same time?

2003-12-04 Thread Robert Kurjata
Witaj Jan, W Twoim liście datowanym 4 grudnia 2003 (13:01:51) można przeczytać: Yes, you can. You can do marking in output and it will make a difference in routing. Just use the -mangle- tables. Checked and verified. I use it. JG> Hi JG> I want to do some routing an queuing stuff, but I am not

[LARTC] How to route and queue, based on iptables marked packets, at the same time?

2003-12-04 Thread Jan Gerritsen
Hi I want to do some routing an queuing stuff, but I am not sure if this will work. I have 3 connections on my router: - eth0 which points to my LAN - eth1 which point to the Internet over a 2Mbit connection - eth2/ppp0 which is a DSL connection and points to the Internet, too. The reason for t

[LARTC] Bandwidth and traffic priotization and throttling

2003-12-04 Thread Leon van den Berg
Bandwidth and traffic priotization and throttling Good day, I'm trying to setup my server to bandwidth control. Where we live bandwidth is very expensive and we need to closely monitor it. We'll buy 512kbps and this will have to be shared between 4 companies. Thus giving everybody a minimum if 12

Re: [LARTC] HTB problem

2003-12-04 Thread Catalin BOIE
> > Hello, > > > > I'm having some problems using HTB to prioritize traffic on my linux > > router. > > The main problem is as follows: > > I have a 6Mbits channel on the metropolitan network and a 64kbps link > > for the sites outside my country. > > > > These 64kbps are dynamically allocated by m