All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Two kinds of bandwidth ...
@ 2000-11-01  5:34 Aldrin
  2000-11-01 11:19 ` bert
  2000-11-01 16:27 ` Aldrin
  0 siblings, 2 replies; 3+ messages in thread
From: Aldrin @ 2000-11-01  5:34 UTC (permalink / raw)
  To: lartc

<PRE>Last week someone in my localnetwork &quot;abused&quot; from our link, making
everything slow... So I want to put the current Linux router as a traffic
shaper. The setup is:
                                                    +--- 128Kbit
                                                    |    &quot;International&quot;
Local net --- [Linux router with    ] -- ISP -- [magic routers]
              [transparent www proxy]               |
                                                    +--- 10MBit
                                                         &quot;National&quot;

It happens that 99.99% of the traffic is download of www, so the squid
proxy serves it automagically.

The problem is that the ISP link is a &quot;dual&quot; contract. 10MBit for
&quot;National&quot; traffic (By law in my country, all ISPs must be inter-connected
so the national traffic is not so bad). But there is only 128KBit for
&quot;International&quot; traffic, and that is managed by the &quot;magic routers&quot; out of
my access and control.

So I want to distribute the poor &quot;International&quot; traffic fairly in my
local network without slowing down the &quot;National&quot; traffic and having no
idea of which packet goes through national or International, a priori
(maybe I can ask my ISP); and everything pass between the squid proxy.

Any ideas? (Besides education). Is just impossible?
If I get the &quot;magic routers&quot; tables, can I do something useful ?

Aldrin.
&quot;So many links, so little time!&quot;



</PRE>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [LARTC] Two kinds of bandwidth ...
  2000-11-01  5:34 [LARTC] Two kinds of bandwidth Aldrin
@ 2000-11-01 11:19 ` bert
  2000-11-01 16:27 ` Aldrin
  1 sibling, 0 replies; 3+ messages in thread
From: bert @ 2000-11-01 11:19 UTC (permalink / raw)
  To: lartc

<PRE>On Wed, Nov 01, 2000 at 02:34:33AM -0300, Aldrin Martoq A. wrote:

&gt;<i> The problem is that the ISP link is a &quot;dual&quot; contract. 10MBit for
</I>&gt;<i> &quot;National&quot; traffic (By law in my country, all ISPs must be inter-connected
</I>&gt;<i> so the national traffic is not so bad). But there is only 128KBit for
</I>&gt;<i> &quot;International&quot; traffic, and that is managed by the &quot;magic routers&quot; out of
</I>&gt;<i> my access and control.
</I>
The magic routers are running BGP - see rfc1771, routing traffic to
different ASses in different ways, see below.

&gt;<i> Any ideas? (Besides education). Is just impossible?
</I>&gt;<i> If I get the &quot;magic routers&quot; tables, can I do something useful ?
</I>
Yes, you can work this out, but it is some work, but it is fun. IP blocks
are assigned to Autonomous System numbers. I suspect that chile only has
very few ASs - you should be able to work this out. 

Your mailserver lives in AS11340 (Red Universitaria Nacional), and is
connected to the world via AS7004 (CTC Transmisiones Regionales S.A.) and
AS1 (BBN Planet), and the BGP configuration makes it very clear that the
link to BBN is expensive.

In order to shape different kinds of traffic, you need to know what can be
routed via AS7004, and what via AS1. I suspect that you can find out which
ASses 'peer' at AS7004 - from then on it is easy to figure out which IP
addresses are in those ASses. 

With those netmasks, you will be able to mark packets, and shape on that
mark.

Regards,

bert hubert

-- 
PowerDNS                     Versatile DNS Services  
Trilab                       The Technology People   
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet


</PRE>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [LARTC] Two kinds of bandwidth ...
  2000-11-01  5:34 [LARTC] Two kinds of bandwidth Aldrin
  2000-11-01 11:19 ` bert
@ 2000-11-01 16:27 ` Aldrin
  1 sibling, 0 replies; 3+ messages in thread
From: Aldrin @ 2000-11-01 16:27 UTC (permalink / raw)
  To: lartc

<PRE>On Wed, 1 Nov 2000, bert hubert wrote:
[...]
&gt;<i> Your mailserver lives in AS11340 (Red Universitaria Nacional), and is
</I>&gt;<i> connected to the world via AS7004 (CTC Transmisiones Regionales S.A.) and
</I>&gt;<i> AS1 (BBN Planet), and the BGP configuration makes it very clear that the
</I>&gt;<i> link to BBN is expensive.
</I>
Ok, thanks a lot because this setup will be funny. How did you get all
that BGP and ASses data? Because the network I'm talking is not
.cec.uchile.cl .

I'll interrupt in 1 or 2 weeks, once I learn BGP ;-)

Aldrin.
&quot;So many links, so little time!&quot;



</PRE>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-11-01 16:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-01  5:34 [LARTC] Two kinds of bandwidth Aldrin
2000-11-01 11:19 ` bert
2000-11-01 16:27 ` Aldrin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.