cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Cisco 2801 with 2 ISP

petrutz_21
Beginner
Beginner

Hi all !!

Could someone help me with a simple configuration of a 2801 Router. I have 2 internet providers with static ip's connected to F0/0 and F0/1 and one Vlan for LAN area. I would like to configure the router to use one primary line and just in case to use the back-up line. What should i use ?

This is how i configured:

interface FastEthernet0/0

description ISP1

ip address 192.168.8.10 255.255.255.0

ip nat outside

duplex auto

speed auto

!

interface FastEthernet0/1

description ISP2

ip address 192.168.2.10 255.255.255.0

ip nat outside

duplex auto

speed auto

!

interface FastEthernet0/3/0

!

interface FastEthernet0/3/1

!

interface FastEthernet0/3/2

!

interface FastEthernet0/3/3

!

interface Vlan1

description $ES_LAN$

ip address 192.168.1.1 255.255.255.0

ip nat inside

!

ip route 0.0.0.0 0.0.0.0 192.168.8.1

ip route 0.0.0.0 0.0.0.0 192.168.2.1 10

!

ip nat inside source route-map ISP2 interface FastEthernet0/1 overload

ip nat inside source route-map ISP1 interface FastEthernet0/0 overload

!

access-list 100 permit ip 192.168.1.0 0.0.0.255 any

route-map ISP2 permit 10

match ip address 100

match interface FastEthernet0/1

!

route-map ISP1 permit 10

match ip address 100

match interface FastEthernet0/0

!

!

control-plane

Now if detects that it hasn't cable link on the FastEthernet interfaces it's working. I'm using 2 wireless gateways to acces the internet each one connected on the 2 FaEth for simulating the providers. If i simulate an issue on the provider ( i've removed the sim from the wireless gateway) it doesn't pass on the second isp.

I haved trying to configure with  "IP Service Level Agreements " for failover / load balancing but the command "ip sla" is incomplete. I can't make an update of the IOS because the customer do not have an Service Contract with Cisco.

There is another way to configure it?

Thanks in advance !

What configuration should i make further ?

15 REPLIES 15

paolo bevilacqua
Hall of Fame Master Hall of Fame Master
Hall of Fame Master

You can try with an EEM script, but considering you want advanced features, you should have the rightly licensed system to use them.

Gautam Renjen
Cisco Employee
Cisco Employee

Paste output of:

1. "show version"

2. conf t

    ip sla ?

3.  conf t

      rtr ?

1. Cisco IOS Software, 2801 Software (C2801-IPBASE-M), Version 12.4(16b), RELEASE S
OFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Thu 20-Dec-07 03:43 by prod_rel_team

ROM: System Bootstrap, Version 12.4(13r)T, RELEASE SOFTWARE (fc1)

System returned to ROM by power-on
System image file is "flash:c2801-ipbase-mz.124-16b.bin"

Cisco 2801 (revision 7.0) with 114688K/16384K bytes of memory.
Processor board ID FCZ123212X3
6 FastEthernet interfaces
DRAM configuration is 64 bits wide with parity disabled.
191K bytes of NVRAM.
62720K bytes of ATA CompactFlash (Read/Write)

Configuration register is 0x2102

2. ip sla ?- monitor ? - key-chain / responder ...

     it doesn't have "operation-number"

3.  it doesn't have   "rtr" command

ebarticel
Enthusiast
Enthusiast

Have you tried adding "ip policy route-map name" to interfaces?

i didn't try ! could you please paste me a small config if you know that it will work ?