From mboxrd@z Thu Jan 1 00:00:00 1970 From: joern maier joern.maier@informatik.uni-ulm.de Date: Tue, 10 Oct 2000 13:42:05 +0000 Subject: [LARTC] CBQ and load balancing Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org
bert hubert wrote:
> 
> On Tue, Oct 10, 2000 at 12:36:36PM +0200, joern maier wrote:
> > bert hubert wrote:
> > >
> > > On Mon, Oct 09, 2000 at 04:32:58PM +0200, joern maier=
 wrote:
> > > > o.k. here some more details I haven=B4t mentione=
d yet
> > >
> > > Please keep it on the list, I don't like to give priv=
ate advice, I want
> > > everyone to benefit.
> >
> > sorry -> I just pushed the reply button not thinking th=
at it won=B4t get
> > back
> > to the list but to your private e-mail account
> 
> What we need to do is setup a class for packets going out on eth0 w=
ith a dst
> address of the backend, and then limit that. CBQ doesn't know what =
an
> eth0:110 is, it only knows that you have eth0, and that address=
es have been
> assigned to it. Try running "ip addr show dev eth0", and =
you'll see
> 192.168.10.17 with eth0, and not with eth0:110.
> 
I did run "ip addr show dev eth0" the result was this:

2: eth0: <BROADCAST,MULTICAST,PROMISC,UP> mtu 1500 qdisc cbq qlen 100
    link/ether 00:01:02:07:5f:cf brd ff:ff:ff:ff:ff:ff
    inet 192.168.10.6/24 brd 192.168.255.255 scope global eth0
    inet 192.168.10.17/32 brd 192.168.255.255 scope global eth0:110 =20

so to me it looks like ..10.17 works with eth0:110=20

> You can either mark packets leaving your host with the destination =
of your
> magic ip addresses, and you'll limit them all together to 200kbit, =
or you
> can try to make more classes, one for each backend server, and sele=
ct on the
> basis of the real mac address.
> 
> Regards,
> 
> bert hubert
> 
> --
> PowerDNS                     Versatile DNS Services
> Trilab                       The Technology People
> 'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet
> 
> _______________________________________________
> LARTC mailing list / L=
ARTC@mailman.ds9a.nl
> http:=
//mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4=3D
Routing/