09-01-2011 01:16 AM - edited 03-04-2019 01:28 PM
Hello mates,
I have 881 router and it has 1 WAN port and 4 Fa ports. I want to know if it's possible to have 2 internet connections on that router? If it is possible can you give me some guidlines(tutorials). I found an interesting article about the load-balancing for two isp connections:
http://www.cisco.com/en/US/tech/tk648/tk361/technologies_configuration_example09186a0080950834.shtml
But I don't know if that will help me.
Thanks in advance,
Ceco
09-01-2011 01:24 AM
Hi Ceco
as long as you can have two default routes for each service provide/Internet link and enable CEF using the command ip cef
then you can load balance also you might think about load sharing using PBR and IPSLA
have a look at the bellow article which will guide you step by step how to configure it ( th ePBR and IP SLA are optional ) just make sure you cover the default routes and NATing for basic load balancing
https://supportforums.cisco.com/docs/DOC-8313
HTH
if helpful Rate
09-01-2011 06:09 AM
Thank you for the quick response ! Wonderful article ... I will try it for sure and then I will post the result : ) Thanks again marwan.
09-02-2011 01:01 AM
It appears that I need to configure just failover not load balancing ... I gues IP SLA can help me with this task but I'll appreciate a little help : )
09-02-2011 08:30 AM
How do u want to do it ?
Sent from Cisco Technical Support iPhone App
09-03-2011 04:45 AM
I was thinking of something like that but the thing that is bothering me is that I had only 1 WAN port ... shuld I use VLANs ?
ip sla 1 < The number 1 here is arbitrary, used only to identify this sla. It is otherwise knows as the operation number>
icmp-echo 4.2.2.2 < 4.2.2.2 is a DNS server that responds to pings out on the internet>
timeout 500 < This is how long to wait for a response from the ping>
frequency 3 < This is the repeat rate for the SLA>
ip sla schedule 1 start-time now life forever < This command says "start SLA 1 now and keep it running forever>
track 1 rtr 1 reachability < This comand creates the track object "1" and monitors the SLA 1>
now for the routing, we need to change the default route and associate it with the tracker
no ip route 0.0.0.0 0.0.0.0 1.1.1.1
and then put it back with the tracking
ip route 0.0.0.0 0.0.0.0 1.1.1.1 track 1
Then we need to add our secondary route
ip route 0.0.0.0 0.0.0.0 1.1.1.2 10
09-03-2011 05:32 AM
Hi,
you should configure in ip sla the source-interface used for the sla test.
But I'm wondering, you say you have 2 ISPs but then they should have a different subnet address which is not the case here.
What interface have you got for WAN? doing PPoE on ethernet interface or ADSL WAN card?
Regards.
Alain.
09-03-2011 07:02 AM
i am not sure how you are connected to your ISP it looks like both of then using same subnet/VLAN !!!
any way what you can do is create a local policy based routing that redirect icmp generated by the router to your DNS IP to be sent to 1.1.1.1 only
example
ip access-list 100 permit icmp any host 4.2.2.2
route-map PBR1 permti 20
match ip address 100
set ip next hop 1.1.1.1
To apply PBR to packets generated from router, use:
ip local policy route-map PBR1
this way you will make sure the icmp for IPSLA will be sent only to 1.1.1.1 and if the DNS not reachable via 1.1.1.1 the track will go down and the defaulted route will go down too
HTH
09-09-2011 08:28 AM
This IP adresses are just an example ... the two ISP's are on different subnets but the thing is that the router has only one WAN port and 4 LAN ports. My idea is to use the WAN port for the first ISP and to use one of the LAN ports for the second ISP. Because I want to use LAN port I assume that I had to assign it to a different VLAN from the other 3 LAN ports. I don't know if that is even possible :?
09-09-2011 09:02 AM
Hi Tsetan,
try to create a SVI for second ISPand assing one of the lan port in that vlan,other ports you can configure as trunk if u hv
multiple vlans.
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