11-10-2014 11:14 AM - edited 03-05-2019 12:08 AM
Hi guys,
I'm working on a double eBGP connection. The first one it is OK with my main ISP (Cogent, 1Gbps) but at the time that I make the second BGP session with my ISP2 (Transtelco, it is my ISP backup) my network seems to be slow even when the traceroutes tell that my LAN is going out via my main ISP (Cogent).
When I made shutdown to Transtelco on the router bgp process (neighbor X.X.X.X shutdown) the network seems to be faster than with the Transtelco's session up.
I attached you my configuration. What I need to do is that, if my main ISP (Cogent) goes down, Transtelco goes up automatically. In the mean time, all the network must go out via Cogent.
router bgp 4.1023
bgp router-id 38.104.248.X
bgp log-neighbor-changes
neighbor 38.104.248.X remote-as 174
neighbor 38.104.248.X description COGENT BGP INTX
neighbor 38.104.248.X update-source GigabitEthernet0/0/0
neighbor 38.104.248.X version 4
neighbor 201.174.78.X remote-as 32098
neighbor 201.174.78.X description "eBGP-Comunicalo
neighbor 201.174.78.X shutdown
neighbor 201.174.78.X update-source GigabitEthernet0/0
neighbor 201.174.78.X version 4
!
address-family ipv4
neighbor 38.104.248.X activate
neighbor 201.174.78.X activate
neighbor 201.174.78.X next-hop-self
neighbor 201.174.78.X prefix-list Transtelco-In in
neighbor 201.174.78.X prefix-list Transtelco-Out out
neighbor 201.174.78.X route-map Transtelco_In_RM in
neighbor 201.174.78.X route-map Transtelco_Out_RM out
auto-summary
no synchronization
network 38.123.200.0 mask 255.255.255.0
network 201.158.X.0
network 201.158.X.0
network 201.158.X.0
network 201.158.X.0
exit-address-family
!
ip forward-protocol nd
ip route 201.158.X.0 255.255.255.0 201.158.104.2
ip route 201.158.X.0 255.255.255.0 201.158.104.2
ip route 201.158.X.0 255.255.255.0 201.158.104.2
ip http server
ip http secure-server
!
!
!
!
!
ip prefix-list Cogent-Out seq 5 permit 201.158.X.0/22 ge 23 le 31
ip prefix-list Cogent-Out seq 10 permit 38.123.200.0/24
ip prefix-list Cogent-Out seq 4294967294 deny 0.0.0.0/0 le 32
!
!
ip prefix-list Transtelco-In seq 5 permit 0.0.0.0/0 le 32
!
ip prefix-list Transtelco-Out seq 5 permit 201.158.X.0/22 ge 23 le 31
ip prefix-list Transtelco-Out seq 4294967294 deny 0.0.0.0/0 le 32
!
route-map Transtelco_In_RM permit 1
!
route-map Transtelco_RM permit 10
set local-preference 50
!
route-map Transtelco_Out_RM permit 10
set as-path prepend 4.1023 4.1023 4.1023
!
I hope you can help me to figure it out. I'm new on BGP :).
Thanks in advance.
11-10-2014 03:04 PM
Hello,
I hope someone can help me...I'm just stuck right now :P
Thanks!.
11-10-2014 03:49 PM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide