From: Brian Hescock (bhescock@xxxxxxxxx)
Date: Fri Oct 26 2001 - 11:28:03 GMT-3
Don't forget though than in a production environment this might not work since
you can't force ISPs to run "always-compare-med". Pre-pending your networks
gives you the control, not the isp.
Brian
John Kim wrote:
> As the following configs,route-maps with MED for two gateway routers can do
> the load balancing. And bgp always-compare-med should be applied on the both
> gateways.
>
> on gateway 1
> router bgp 1
> neigh a.a.a.a router-map b1ao out
> bgp always-compare-med
> route-map b1ao permit 10
> match ip add 1
> set metric 100
> route-map b1ao permit 20
> set metric 150
> on gateway 2
> router bgp 1
> neigh b.b.b.b route-map b1bo out
> bgp always-compare-med
> route-map b1bo permit 10
> match ip add 2
> set metric 100
> route-map b1bo permit 20
> set metric 150
>
> Thanks,
> John Kim
>
> >From: CCIE Candidate <ccie2001ca@yahoo.ca>
> >Reply-To: CCIE Candidate <ccie2001ca@yahoo.ca>
> >To: ccielab@groupstudy.com
> >Subject: Load Balancing for Incoming Traffic
> >Date: Thu, 25 Oct 2001 17:48:42 -0400 (EDT)
> >
> >Hi everyone:
> >
> >One of my customer is using two different circuits to
> >reach two different Internet gateways. I am doing load
> >balancing for outgoing traffic by using MHSRP. Now my
> >customer wants to do load-balancing for incoming
> >traffic as well. The only way I can think of is
> >advertising half of customer's IP block from one
> >internet gateway and the other half block from the
> >second internet gateway (full block will still be
> >advertised from both gateways, but advertising half
> >block will be more specific, therefore will be
> >preferred). But I dont think this is a good way to do
> >it, is there any other feasible method to do it ?
> >
> >I am running OSPF with customer's routers and then
> >redistributing it into BGP at my internet gateway, but
> >I can also run BGP with customer's routers using
> >private AS numbers at customer's end.
> >
> >Thanks in advance
> >
> >KJ
> >
> >
This archive was generated by hypermail 2.1.4 : Thu Jun 20 2002 - 22:33:25 GMT-3