Thread: [mpls-linux-general] the quesion about traffic balancing
Status: Beta
Brought to you by:
jleu
|
From: Folke A. <aeo...@ho...> - 2002-10-08 09:33:41
|
hi, all :)
i got a problem in balancing my traffic through
my network.
see the following network topology:
+------+ +------+ +------+ |
| |eth1 | | | | |10.0.0.0/24
| +------+ CORE +-----+ | +-------
eth0 | | | | | | |
------+ LSR1 | +------+ | LSR2 +---+
| |eth2 | | |
| +-------------------+ |
+------+ LINK0 +------+
all three PCs are running kernel-2.4.19 with a
mpls patch 1.160.
on lsr1 , i have three ethether net adaptors.
eth0 is the ingress device
eth1 has an outgoing label 1
eth2 has an outgoing label 2
and two tunnels created by using 'mplsadm -T':
mpls12 : bind to eth2
mpls1c : bind to eth1
and its routing table contains the following
entry:
10.0.0.0/24 dev mpls12 proto kernel
core dev mpls1c proto kernel
now , i want to make a flow with a certain
dst ip address , say , 10.0.0.111, to go throught
this network by balancing the traffic loading
onto eth1 and eth2 on demand.
e.g. when the direct link between lsr1 and
lsr2 (for convenience we named it LINK0 )are
lighted loaded, the traffic destined to
11.0.0.111 goes out using mpls12 with a label 2.
when sometimes later, the loading on LINK0
became heavier, i want to shift the traffic
destined to 11.0.0.111 to go out using mpls1c
with label 1.
can i achieve this ?
if i can , what should i do then ?
by the way , i am not using LDP currently.
thanks in advance.
Folke.
_________________________________________________________________
Join the worlds largest e-mail service with MSN Hotmail.
http://www.hotmail.com
|
|
From: Pim V. H. <pim...@in...> - 2002-10-14 21:50:01
|
On Tue, 2002-10-08 at 11:33, Folke Aeon wrote: > hi, all :) >=20 > i got a problem in balancing my traffic through > my network. >=20 > see the following network topology: > +------+ +------+ +------+ | > | |eth1 | | | | |10.0.0.0/24 > | +------+ CORE +-----+ | +------- > eth0 | | | | | | | > ------+ LSR1 | +------+ | LSR2 +---+ > | |eth2 | | | > | +-------------------+ | > +------+ LINK0 +------+ >=20 > all three PCs are running kernel-2.4.19 with a > mpls patch 1.160. >=20 > on lsr1 , i have three ethether net adaptors. >=20 > eth0 is the ingress device > eth1 has an outgoing label 1 > eth2 has an outgoing label 2 >=20 > and two tunnels created by using 'mplsadm -T': >=20 > mpls12 : bind to eth2 > mpls1c : bind to eth1 >=20 > and its routing table contains the following > entry: >=20 > 10.0.0.0/24 dev mpls12 proto kernel > core dev mpls1c proto kernel >=20 > now , i want to make a flow with a certain > dst ip address , say , 10.0.0.111, to go throught > this network by balancing the traffic loading > onto eth1 and eth2 on demand. >=20 > e.g. when the direct link between lsr1 and > lsr2 (for convenience we named it LINK0 )are > lighted loaded, the traffic destined to > 11.0.0.111 goes out using mpls12 with a label 2. >=20 > when sometimes later, the loading on LINK0 > became heavier, i want to shift the traffic > destined to 11.0.0.111 to go out using mpls1c > with label 1. Well you need some kind of monitoring to determine the load. This is not really MPLS specific so you might want to search the net for a tool that fits your needs. Or you could write something yourself based on the statistics in /proc/net/mpls_*. Based on the monitoring information you can map/remap traffic on the different LSPs.=20 Another option would be to use some static load sharing. ip(8) supports adding multiple interfaces to a single route, the traffic is shared based on a hash on the IP header. Has anyone experience with that using MPLS? Pim. >=20 > can i achieve this ? > if i can , what should i do then ? >=20 > by the way , i am not using LDP currently. >=20 > thanks in advance. >=20 > Folke. >=20 > _________________________________________________________________ > Join the world=92s largest e-mail service with MSN Hotmail.=20 > http://www.hotmail.com >=20 >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general >=20 >=20 --=20 Pim Van Heuven Ghent University - IMEC Department of Information Technology (INTEC) Sint-Pietersnieuwstraat, 41 B-9000, Gent, Belgium pim...@in... DiffServ/MPLS(RSVP-TE) for Linux: http://dsmpls.atlantis.rug.ac.be |