RE: outbound load-balancing

From: Rik Guyler (rik@guyler.net)
Date: Tue Feb 26 2008 - 16:18:34 ARST


Sadiq, thanks for replying.

I've don't this before when I just needed basic connectivity to two outbound
connections. When I say "unequal" load balancing, I'm not really referring
to a metric value as a routing process would see it but rather a simple
measure of the difference in bandwidths. The multiple static defaults
config doesn't really balance the traffic based on preconfigured
percentage/bandwidth values. It just provides per-packet or per-destination
balancing. Am I missing something with your description?

Let me backup a step and say for example that I have two 10mbps circuits.
Can I send 30% outbound traffic on one and 70% traffic out the other? Or
from a simple packet count perspective can I send 7 packets out one
interface for every 3 packets that get sent out the other?

Thanks again!

Rik

-----Original Message-----
From: Sadiq Yakasai [mailto:sadiqtanko@gmail.com]
Sent: Tuesday, February 26, 2008 12:46 PM
To: Rik Guyler
Cc: Cisco certification
Subject: Re: outbound load-balancing

Hi Rik,

You can actually do unequal cost load-balancing on the outbound using static
routes. Have a look at this (R1 and R3 are dual hommed to each
other):

                        192.168.1.0/24
R1 (.1) ---------------------------------------------- (.3) R3
            ----------------------------------------------
                         162.1.13.0/24

R1#sh run | i ip route
ip route 0.0.0.0 0.0.0.0 192.168.1.3
ip route 0.0.0.0 0.0.0.0 162.1.13.3
ip route 0.0.0.0 0.0.0.0 10.10.10.1
ip route 0.0.0.0 0.0.0.0 10.10.10.3
ip route 0.0.0.0 0.0.0.0 10.10.10.4
ip route 10.10.10.1 255.255.255.255 192.168.1.3 ip route 10.10.10.2
255.255.255.255 192.168.1.3 ip route 10.10.10.3 255.255.255.255 192.168.1.3
ip route 10.10.10.4 255.255.255.255 192.168.1.3 R1#sh ip route 0.0.0.0
Routing entry for 0.0.0.0/0, supernet
  Known via "static", distance 1, metric 0, candidate default path
  Routing Descriptor Blocks:
  * 192.168.1.3
      Route metric is 0, traffic share count is 1
    162.1.13.3
      Route metric is 0, traffic share count is 1
    10.10.10.4
      Route metric is 0, traffic share count is 1
    10.10.10.3
      Route metric is 0, traffic share count is 1
    10.10.10.1
      Route metric is 0, traffic share count is 1

A nice trick there!

Sadiq



This archive was generated by hypermail 2.1.4 : Sat Mar 01 2008 - 16:54:49 ARST