Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a 2620 Cisco Router with only one Fastethernet port Now I have two internet gateways. I want to config my router as when primary routing fails second routing automatically start to route all my packets. When I set 2 IP route command in my router then I check I see it work well but when peer IP on primary routing is down it can not change to second routing until I remove first route command.In the following I write my setting. How can I set it?

interface FastEthernet0/0
  ip address secondary
  ip address

ip route
ip route 100
share|improve this question

If you are not running BGP and annoucing your own routes to both ISPs (This is quite involved) then you can look into using IP SLA. Basically you would ping both default gateways, if one can't be pinged it fails over.

There is an example configuration here on the cisco support forums.

share|improve this answer
Dear Kyle, Thank you for your answer but unfortunately Cisco 2620 cannot support SLA – Kamal Miresmaeili Dec 30 '10 at 10:42
Actually, the Cisco 2620 can, I'm sure I've done it before, mind you, I think I was running 12.4T Advanced IP Services – Tom O'Connor Dec 30 '10 at 15:55

A little while ago, I was looking at doing something similar with a cisco technology known as Optimized Edge Routing (OER), but I never actually got as far as configuring it. It looks like that's the right kind of thing to do, but without more certainty on the technical implementation, it's difficult to say. Certainly one possible starting point though.

I'd be tempted to knock up a simulation in GNS3 to begin with, and try out some of the OER configurations, before implementing it on real hardware (Assuming your IOS version supports that feature set.)

share|improve this answer
OER is a great feature but maybe overkill in that case. – petrus Dec 28 '10 at 14:20
Perhaps. I was told by a friend who is a CCIE, that OER is the best practice thing to use in this case.. Heh – Tom O'Connor Dec 28 '10 at 19:38
Dear Tom Thank you for your answer – Kamal Miresmaeili Dec 30 '10 at 10:31
Dear Tom unfortunately Cisco 2620 cannot support OER – Kamal Miresmaeili Dec 30 '10 at 10:44
Boo. That's a shame. What IOS release are you running? (show ver) – Tom O'Connor Dec 30 '10 at 15:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.