[LARTC] bandwidth shaping based on trafic on other host
Pedro Zorzenon Neto
pzn@terra.com.br
Wed, 16 Jun 2004 15:52:57 -0300
On Wed, Jun 16, 2004 at 03:12:56PM -0300, Pedro Zorzenon Neto wrote:
> This is the network:
>
> 192.168.1.2 --+
> 192.168.1.3 --+ Router
> 192.168.1.4 --+ Linux/2.4
> 192.168.1.5 --+---- eth0 eth1 ---- internetprovider1
> 200.x.x.2 ----+
> 200.x.x.3 ----+
> 200.x.x.4 ----+
Maybe the linux router configuration is needed for you to answer my
question.
Thanks again,
Pedro
linux router configs:
eth0 addr: 192.168.1.1/24
eth1 addr: 200.x.x.1/29
static routes:
192.168.1.0/24 -> eth0
200.x.x.2/32 -> eth0
200.x.x.3/32 -> eth0
200.x.x.4/32 -> eth0
200.x.x.5/32 -> eth0
200.x.x.0/29 -> eth1
0.0.0.0/0 -> via gateway 200.x.x.6
provider1 configurations:
I have 5 static IPs (200.x.x.1 to 200.x.x.5)
The IP 200.x.x.6 is provider IP.
The IP 200.x.x.1 provider routes direct to myrouter eth1
The IP 200.x.x.2 to 200.x.x.5 provider routes via gateway 200.x.x.1,
that is myrouter.