Create Load-Balancer with Cisco Router

Written on December 29, 2007 – 10:32 pm | by Yanurmal |

Requirement:
- Cisco router IP CEF support
- Dual WAN connection
- You understand cisco basic configuration (Go to Beginer Section)

ROUTER-A

hostname Router-A
!
enable password cisco
!
ip cef
!
interface Ethernet 0
ip address 10.10.1.1 255.255.255.0
!
interface Serial0
ip address 10.10.253.1 255.255.255.252
ip load-sharing per-packet
!
interface Serial1
ip address 10.10.253.5 255.255.255.252
ip load-sharing per-packet
!
no ip classless
no ip route-cache
ip route 10.10.2.0 255.255.255.0 Serial0
ip route 10.10.2.0 255.255.255.0 Serial1
!
line con 0
!
line vty 0 4
password cisco
login
!
end

===

ROUTER-B

hostname Router-B
!
enable password cisco
!
ip cef
!
interface Ethernet 0
ip address 10.10.2.1 255.255.255.0
!
interface Serial0
ip address 10.10.253.2 255.255.255.252
ip load-sharing per-packet
!
interface Serial1
ip address 10.10.253.6 255.255.255.252
ip load-sharing per-packet
!
no ip classless
no ip route-cache
ip route 10.10.1.0 255.255.255.0 Serial0
ip route 10.10.1.0 255.255.255.0 Serial1
!
line con 0
!
line vty 0 4
password cisco
login
!
end

Popularity: 43%

Share This Post

Related Posts

  1. 2 Responses to “Create Load-Balancer with Cisco Router”

  2. By thais.gaspar on Jul 11, 2008 | Reply

    Hi All,

    I need to do a load-balance with two Internet connections, using a Cisco 2611 and a PIX 515e.
    I have two links
    first with 2Mbps - encapsulation ppp
    second with 6Mbps - encapsulation ppp
    And the PIX that make the NAT/PAT.
    I tried to send the http traffic to the second interface configuring the pix to make another NAT/PAT, but when I did the other NATs PATs, that I use my vpn and exchange on the DMZ inteface stop to running. Follow the PIX configuration:
    nat (inside) 0 access-list nonat
    nat (inside) 2 access-list edi 0 0
    nat (inside) 1 10.xxx.xxx.xxx 255.xxx.xxx.0 0 0
    nat (dmz1) 1 192.168.xxx.0 255.255.255.0 0 0

    global (outside) 2 200.xxx.xxx.xxx
    global (outside) 1 200.xxx.xxx.xxy
    global (outside2) 1 200.xxx.xxx.xxx

    the global outside2 is not working, only the global outside.

    Any kind of help will be great.
    Thanks in advanced.

  3. By Yanurmal on Jul 13, 2008 | Reply

    For Internet connection load balance, you have to make a deal with your ISPs. Usually you have to use IP Portable/your own IP and each ISP will advertise your IP at their BGP router.

    And then you can create a load balance for your Internet connection.

You must be logged in to post a comment.

Ads

Find entries :