On 9 December 2010 16:14, Thuo Wilson <lixton@gmail.com> wrote:On 9 December 2010 16:12, Thuo Wilson <lixton@gmail.com> wrote:On 8 December 2010 18:24, <tonnie@swiftkenya.com> wrote:Hi Skunks
I?m trying to configure auto-failover between KDN and Safcom links, with KDN being the primary. My router config is as below
Interfaces
interface GigabitEthernet0/0
description LAN
ip address 192.168.7.1 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
Description KDN Link
ip address 172.220.70.34 255.255.255.252
duplex auto
speed auto
!
interface FastEthernet0/0/0
description Link to Safaricom
ip address 172.30.6.182 255.255.255.252
duplex auto
speed auto
!
BGP Config
router bgp 65200
no synchronization
bgp log-neighbor-changes
network 132.147.160.0 mask 255.255.255.0
network 172.16.0.0 mask 255.255.255.0
network 192.168.7.0
timers bgp 30 45
neighbor 172.30.6.181 remote-as 37061
neighbor 172.30.6.181 ebgp-multihop 3
neighbor 172.30.6.181 update-source FastEthernet0/0/0
neighbor 172.30.6.181 weight 100
neighbor 172.30.6.181 prefix-list INSECTA-ROUTE out
neighbor 172.220.70.33 remote-as 65160
neighbor 172.220.70.33 ebgp-multihop 3
neighbor 172.220.70.33 update-source GigabitEthernet0/1
neighbor 172.220.70.33 weight 1000
neighbor 172.220.70.33 prefix-list INSECTA-ROUTE out
no auto-summary
!
mix, route-maps, AS-PATH and IP SLA ().
OOPPS - PREPEND AS not AS-PATH !
router bgp XXXX
neighbor 172.30.6.181 weight 1000 <PREFERED>
neighbor 172.30.6.181 route-map KDN-PRIMARY out
neighbor 172.220.70.33 weight 100 <BACKUP>
neighbor 172.220.70.33 route-map SAFCOM-BACKUP out
ip prefix-list KDN seq 5 permit 132.147.160.0/24
ip prefix-list KDN seq 500 deny 0.0.0.0/0
ip prefix-list SAFCOM seq 5 permit 132.147.160.0/24
ip prefix-list SAFCOM seq 500 deny 0.0.0.0/0
route-map KDN-PRIMARY permit 20
match ip address prefix-list SAFCOM
set as-path prepend xxxx xxxx xxxx (3 or more times)
route-map SAFCOM-BACKUP permit 10
match ip address prefix-list KDN
set as-path prepend xxx (or more but not exceeding the above)
(The above takes care of BGP route only
if uplink is responding)
E&OE.
Wilson.
Wilson.
When I shut down KDN interface, Safcom link picks up traffic, but when I bring up the KDN interface, it doesn?t come as primary until I shut down Safaricom. I have given KDN link the required weight.
Could there be a syntax I have missed out?
Regards
Anthony
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------
Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke