cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1572
Views
4
Helpful
4
Replies

bgp4 multihoming howto ?

yurymironov
Level 1
Level 1

Hello pros.

Could anyone help me to solve the BGP4 miltihoming problem I have...

I've got cisco2821 with c2800nm-advipservicesk9-mz.124-21.bin, AS400, 30 customers and 3 ISPs with AS100, 200, 300 respectivly.

How can I BGP load balance among 3 ISP so that 10 customers go to the 0.0.0.0/0 through ISP1 another 10 through ISP2 and the rest through ISP3 ?

Thank you

4 Replies 4

SunilKhanna
Level 1
Level 1

Check these two configuration examples, this should help you.

Sample Configuration for BGP with Two Different Service Providers (Multihoming)

http://www.cisco.com/en/US/tech/tk365/technologies_configuration_example09186a008009456d.shtml

Load Sharing with BGP in Single and Multihomed Environments: Sample Configurations

http://www.cisco.com/en/US/partner/tech/tk365/technologies_configuration_example09186a00800945bf.shtml

Regards,

Sunil

*****If you think the post was helpful, please do not forget to rate******

Regards, Sunil Khanna

Thank you very much for the quick response.

Second link doesn't work for me...

Can you provide me with the alternative link or so...

Thank you one more time.

And I wonder if it's possible to hire you or your colleagues to fix this problem for me.

mkosobucki
Level 1
Level 1

I will take a risk and advise to redefine requirements. (I hope you do not hate me for it)

With BGP you should take advantage of what it offers. Instead of just load sharing

which is IGP thinking you can find out from those ISPs which prefixes are best (easiest, fastest to reach) for each one. Then create communities for each ISP, for example community 1,2,3 to group them. After that on each router of your customers, configure route maps that will match those communites and accordingly modify local preference. That way each customer will take the best path for those routes. That way you will prevent for example from situation packets of going to ISP1 to reach ISP3 and use ISP2 as a transit. That could happen if you lock each customer with specific ISP.

Of course if any ISP fails your BGP will failover to remaining.

Help here:

http://www.cisco.com/en/US/tech/tk365/technologies_configuration_example09186a00801475b2.shtml

Eventually you can do load sharing:

http://www.cisco.com/en/US/tech/tk365/technologies_configuration_example09186a00800945bf.shtml#conf4

It is based on chaning local preference based on access lists.

In this case it is easier to implement, but you pretty much slicing internet routes into slices and give to customers. However you have no clue if those slices will be even "thicknes". This is of course abstraction. Another words you may match less or more using access lists from that example. Therefore your loadsharing be utilize certain ISP more or less with significant difference. Good thing about this solution is you do not need to change ISPs configs and in the future it will stay like it.

Review Cisco Networking for a $25 gift card