All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Bandwidth limiting problem
       [not found] <marc-lartc-98373938216792@msgid-missing>
@ 2000-10-18  9:45 ` bert
  2000-10-18 12:57 ` bert
  1 sibling, 0 replies; 2+ messages in thread
From: bert @ 2000-10-18  9:45 UTC (permalink / raw)
  To: lartc

<PRE>On Wed, Oct 18, 2000 at 09:34:30AM +0200, Fredrik Rambris wrote:
&gt;<i> Daniel Bergqvist wrote:
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; It works fine for me. Have you compiled the kernel with all QoS settings on?
</I>&gt;<i> 
</I>&gt;<i> Darn. I forgot the u32 rate esitmator... it works fine now. One thing
</I>&gt;<i> that the HOWTO doesn't really tell is if the upstream and downstream is
</I>&gt;<i> 128kbit+128kbit or 128kbit/128kbit (they share the same bandwidth).
</I>
It does tell you. Unless you use the ingress policer, you only limit
*outgoing* data on an interface. So if you want to limit both up and
downstream, you need 2 interfaces, and 2 sets of rules.

You can also use the ingress policer but that's a bit after the fact, as the
HOWTO says 'like throwing away half the letters you receive, in the hope
that people will stop sending you them'.

Regards,

bert hubert

&gt;<i> 
</I>&gt;<i> 
</I>&gt;<i> &gt; &gt; -----Ursprungligt meddelande-----
</I>&gt;<i> &gt; &gt; Från: <A HREF="mailto:boost@lxmul01aspm.admera.local">boost@lxmul01aspm.admera.local</A>
</I>&gt;<i> &gt; &gt; [mailto:<A HREF="mailto:boost@lxmul01aspm.admera.local">boost@lxmul01aspm.admera.local</A>]För Fredrik Rambris
</I>&gt;<i> &gt; &gt;
</I>&gt;<i> &gt; &gt; tc qdisc add dev eth0 root handle 10: cbq bandwidth 100Mbit avpkt 1000
</I>&gt;<i> &gt; &gt;
</I>&gt;<i> &gt; &gt; tc class add dev eth0 parent 10:0 classid 10:1 cbq bandwidth 10Mbit \
</I>&gt;<i> &gt; &gt;   rate 100Mbit allot 1514 weight 1Mbit prio 8 maxburst 20 avpkt 1000
</I>&gt;<i> &gt; &gt;
</I>&gt;<i> &gt; &gt; tc class add dev eth0 parent 10:1 classid 10:100 cbq bandwidth 100Mbit \
</I>&gt;<i> &gt; &gt;   rate 128kbit allot 1514 weight 80Kbit prio 5 maxburst 20 avpkt 1000 \
</I>&gt;<i> &gt; &gt;   bounded
</I>&gt;<i> &gt; &gt;
</I>&gt;<i> &gt; &gt; tc qdisc add dev eth0 parent 10:100 sfq quantum 1514b perturb 15
</I>&gt;<i> &gt; &gt;
</I>&gt;<i> &gt; &gt; tc filter add dev eth0 parent 10:0 protocol ip prio 100 u32 match ip \
</I>&gt;<i> &gt; &gt;   dst 192.168.3.0/24 flowid 10:100
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; _______________________________________________
</I>&gt;<i> &gt; LARTC mailing list / <A HREF="mailto:LARTC@mailman.ds9a.nl">LARTC@mailman.ds9a.nl</A>
</I>&gt;<i> &gt; <A HREF="http://mailman.ds9a.nl/mailman/listinfo/lartc">http://mailman.ds9a.nl/mailman/listinfo/lartc</A> HOWTO: <A HREF="http://ds9a.nl/2.4Routing/">http://ds9a.nl/2.4Routing/</A>
</I>&gt;<i> 
</I>&gt;<i> -- 
</I>&gt;<i> Admera Solution Provider AB
</I>&gt;<i> Tel: 0733-850 814
</I>&gt;<i> Position: 55°36´13N  13°03´36E
</I>Content-Description: Card for Fredrik Rambris


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


</PRE>

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

* [LARTC] Bandwidth limiting problem
       [not found] <marc-lartc-98373938216792@msgid-missing>
  2000-10-18  9:45 ` [LARTC] Bandwidth limiting problem bert
@ 2000-10-18 12:57 ` bert
  1 sibling, 0 replies; 2+ messages in thread
From: bert @ 2000-10-18 12:57 UTC (permalink / raw)
  To: lartc

<PRE>On Wed, Oct 18, 2000 at 01:39:56PM +0200, Fredrik Rambris wrote:

&gt;<i> &gt; You can also use the ingress policer but that's a bit after the fact, as the
</I>&gt;<i> &gt; HOWTO says 'like throwing away half the letters you receive, in the hope
</I>&gt;<i> &gt; that people will stop sending you them'.
</I>&gt;<i> 
</I>&gt;<i> I could live with that (if it works). In the shaping example in the
</I>&gt;<i> howto. How would ingress be implemented? What's the syntax?
</I>
See the dDoS example in the HOWTO, it installs an ingress policer on SYN
packets. I tried it at home and had some problems, tc gave an error, but
perhaps I lack features in the kernel.

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] 2+ messages in thread

end of thread, other threads:[~2000-10-18 12:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <marc-lartc-98373938216792@msgid-missing>
2000-10-18  9:45 ` [LARTC] Bandwidth limiting problem bert
2000-10-18 12:57 ` bert

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.