02-22-2012 08:28 AM - edited 03-04-2019 03:23 PM
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 ?
02-24-2012 02:03 AM
Thanks Renjen,
I will search more and if I will not find a proper solution .. I will try to follow the procedure with the IOS updating ..
If I will find a "gate out" i will posted here
Thanks again...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide