Re: Fwd: Is there a way to divide one link in to two ?

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Indunil Jayasooriya wrote:
> 
> Hi,
> 
> I want to know is there a way to divide a link in to two?
> 
> Below is what I need?
> 
> I have a 64 k link. I want to reserve 32 k for mail and 32 k for web .
> 
> That means dividing 64 k link in to two for mail and web.
> 
> Is it possible in Linux?
> 
> Can iproute or iptables haddle this situation ?
> 
> or can any other pkg do it?
> 
> --
> Thank you
> Indunil Jayasooriya
Yes.  I'd use HTB and "filter match" port 80 and port 25.  You can't
divide exactly half because there will be unshaped ICMP, UDP and ARP,
but those don't usually require a lot of bandwidth so just create a
default class for those that has a small rate and ceil, then subtract
the default rate from your 64 k and allocate the remainder between mail
and web.  Don't forget that the sum of rates cannot exceed (about) 95 %
of 64 k.

Also look for "policy routing" because it discusses alternatives.  There
is lots of good information.
--
gypsy
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux