one router two internet-loadbalancin

Unanswered Question
Apr 12th, 2009

hi i have 2801 router with two internet connection, i need to loadbalace and failover these connection, can anyone help me to configure pfr, if any other way-pls help me

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Marwan ALshawi Sun, 04/12/2009 - 17:21

enable cef

ip cef

then go to the outside interfaces and do one of the following

ip loadshaer per-pack OR per-flow

per-pecket will give 50% 50% loadbalncing but it is CPU intensive

now make tow defua;lt routes withthe same AD each one point to to of your internet connection

ip route [int1]

ip route [int]

i assumed you already configured NAT on the router interfaces

good luck

if helpful Rate

narayanankl Sun, 04/12/2009 - 20:57


Thanx for your reply, i am using 12.4(13r)T, i doesnt find the command to enable cef, right i did a configuration with border and master configuration, could you provide me any configuration of master and border on a sigle router,

Marwan ALshawi Sun, 04/12/2009 - 21:42

try the following command

ip cef [hit enter]

or on the interface level

ip cef enable

u shoul dhave it in 2800 rouetr !!

by the way i couldnt understand what u mean border and master i never heard about this can u send the link or the commands of this thing

good luck

narayanankl Mon, 04/13/2009 - 04:55

Master Controller and Border Router Configuration on a Single Router

The following example, starting in global configuration mode, shows an OER master controller and border router process deployed on a single router:

Router(config)# key chain OER

Router(config-keychain)# key 1

Router(config-keychain-key)# key-string KEYSTRING2

Router(config-keychain-key)# exit

Router(config-keychain)# exit

Router(config)# oer border

Router(config)# logging

Router(config-oer-br)# master key-chain OER

Router(config-oer-br)# local Loopback 0

Router(config-oer-br)# exit

Router(config)# oer master

Router(config-oer-mc)# logging

Router(config-oer-mc)# border key-chain OER

Router(config-oer-mc-br)# interface Ethernet 0/0 external

Router(config-oer-mc-br-if)# exit

Router(config-oer-mc-br)# interface Ethernet 1/1 external

Router(config-oer-mc-br-if)# exit

Router(config-oer-mc-br)# interface Ethernet 2/2 internal

Router(config-oer-mc-br-if)# exit

Router(config-oer-mc-br)# exit

Router(config-oer-mc)# exit

Router(config)# ip route Ethernet 0/0

Router(config)# ip route Ethernet 1/1

Router(config)# end

pls check the above example, i think it is using as performance routing.

ur cef command is working.

could u help me whether above mentioned configuration is also using in load balancing?


This Discussion