cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4143
Views
0
Helpful
9
Replies

Cisco 881 sec k9 Router with two internet connections

tsvetani90
Level 1
Level 1

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

9 Replies 9

Marwan ALshawi
VIP Alumni
VIP Alumni

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

Thank you for the quick response ! Wonderful article ... I will try it for sure and then I will post the result : ) Thanks again marwan.

tsvetani90
Level 1
Level 1

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 : )

Marwan ALshawi
VIP Alumni
VIP Alumni

How do u want to do it ?

Sent from Cisco Technical Support iPhone App

tsvetani90
Level 1
Level 1

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

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.

Don't forget to rate helpful posts.

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

tsvetani90
Level 1
Level 1

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 :?

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.

Review Cisco Networking for a $25 gift card