[nsp] 2 ISPs, BGP and load-balancing

From: TMS (tomek@absolut.iksik.net)
Date: Wed Dec 26 2001 - 06:52:08 EST


Hello

I have two 4mbps internet links connected to 2 diffrent ISPs. How
I can create load-balancing between both ISPs ? At
this moment my router configuration (Cisco 7206VXR, NPE-400)
looks like that:

!
router bgp 60000
  network 20.20.20.0 0.0.0.255
neighbor 1.1.1.1 weight 50
neighbor 1.1.1.1 remote-as 10000
neighbor 1.1.1.1 description ISP-1 (ex.UUNET)
neighbor 1.1.1.1 filter-list 1 out
neighbor 1.1.1.1 route-map SETMETRIC in
        neighbor 2.2.2.2 weight 50
        neighbor 2.2.2.2 remote-as 20000
        neighbor 2.2.2.2 description ISP-2 (ex.AT&T)
        neighbor 2.2.2.2 filter-list 1 out
        neighbor 2.2.2.2 route-map SETMETRIC in
!
ip as-path access-list permit ^60000$
ip as-path access-list deny .*
!
route-map SETMETRIC permit 10
match ip address 1
set metric 100
!
access-list 10 permit any
!

Any propositions ? Maybe I must set local-preference or
as prepend for neighbors ?

--
greets, TMS



This archive was generated by hypermail 2b29 : Sun Aug 04 2002 - 04:13:26 EDT