[j-nsp] Configuring Per-Packet Load Balancing
Mesut Mutlu
kirdjali1978 at yahoo.com
Wed Oct 12 10:28:29 EDT 2005
Hi,
Thanks for help again.
I think I should have explained my topology for which
I want to make load-balance per-packet configuration
before.
Our customer have three seperate links from his router
to my router.(On both side there is only one router.)
There is BGP running over these links using loopback
address on both side and three static routes are
defined to customer side loopback address.
The customer is advertising 4 routes (listed below in
configuration beginning with 192.168.) through BGP to
me. I just want to load-balance packets which are
going to these routes.
I made a configuration with your assistance which is
below:
mes at Jun> show configuration policy-options
policy-statement equal-cost
term load_balance{
from {
route-filter 192.168.205.0/24 exact
route-filter 192.168.206.0/24 exact
route-filter 192.168.207.0/24 exact
route-filter 192.168.204.0/22 exact
then {
load-balance per-packet;
}
}
**
mes at Jun> show configuration routing-options
forwarding-table
export equal-cost;
******
Forwarding Table of my router to loopback address of
my customer (172.16.1.2) is seen as below:
mes at Jun> show route forwarding-table matching
172.16.1.2
Routing table: inet
Internet:
Destination Type RtRef Next hop Type
Index NhRef Netif
172.16.1.2/32 user 1 ulst 283
3
10.0.0.140 ucst
822 2 at-2/2/0.1
10.0.0.136 ucst
782 2 at-2/2/0.2
10.0.0.128 ucst
845 2 at-2/2/0.3
Routing table: __juniper_private1__.inet
Internet:
mes at Jun> show configuration forwarding-options
hash-key {
family inet {
layer-3;
layer-4;
}
}
******
When I monitor the traffic passed to customer on each
interface there is unequality among amount of packets
.
Could you please remark errors on this configuration
and explain what would right configuration look like.
Have a nice work.
***************************************
__________________________________
Yahoo! Music Unlimited
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/
More information about the juniper-nsp
mailing list