09-29-2003 12:19 PM - edited 03-02-2019 10:39 AM
I have 3 local routers connecting to 3 diff providers. All 3 connected with ibgp just fine, sharing all the routes. Router 1 and 2 also connected to the isp with ebgp and get routes just fine.
Now when Router 3 connects to it's isp, it establishes and gets all the routes from it's ISP, but then the ibgp to that router goes all wierd.. All the ibgp routers send withdrawl updates, and removes all the routes, then resends them all again. Over and over, sends/withdraws.
However the bgp connection never goes down between it and the ibgps, and the connection between Router 3 and the isp peer doesn't go down and the routes stay.
Ideas?
I am using basic config of:
neighbor <ibgprouter> remote-as 1
neighbor <ibgprouter> remote-as 1
neighbor <isprouter> remote-as 2
Please any suggestions?
Solved! Go to Solution.
10-17-2003 08:59 AM
Actually I ended up using policy based routing. As I needed to control the traffic based upon the "source" address, not the destination. I needed certain subnets on my network to be routed thru certain isps.
One question about the next-hop-statement that i used. It seems you can add more then one next-hop.
set ip next-hop 209.120.155.13
Does the 2nd next-hop only go into affect if the 1st one is unreachable?
Since I have bgp running, and if the first one is unreachable, will the packets be automatically sent to the other routers? or Do i need to specify the other routers as next-hop?
Thanks.
-GK
10-17-2003 10:12 AM
The 2nd next hop is used if the first next hop is unreachable (not in the routing table). The next hop would normally be learned through an IGP (connected, static, etc), rather than through BGP (?), but once this route was removed from the table, the second next hop would be used.
Russ.W
10-17-2003 11:23 AM
If it runs out of next-hop, but it has bgp neighbors, will it send the packet to one of them?
-GK
10-20-2003 06:02 AM
In other words, if you do a match, then set the next hop, and none of the next hops exist, will it revert to normal routing? Yes, it will. If there is a route in the routing table, and the set next-hop fails, the router will then use the route in the routing table.
For instance:
access-list 101 permit ip host 208.0.9.12 any
!
route-map testnexthop permit 10
match ip address 101
set ip next-hop 1.1.1.1
!
interface Serial0/3
ip address 208.0.14.13 255.255.255.0
ip policy route-map testnexthop
!
2651C#ping
Protocol [ip]:
Target IP address: 208.0.10.1
Extended commands [n]: y
Source address or interface: 208.0.9.12
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 208.0.10.1, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
2651D#
2w4d: IP: s=208.0.9.12 (Serial0/3), d=208.0.10.1, len 100, policy match
2w4d: IP: route map testnexthop, item 10, permit
2w4d: IP: s=208.0.9.12 (Serial0/3), d=208.0.10.1 (Serial0/0), len 100, policy rejected -- normal forwarding
So, the set next-hop fails, and 26D falls back to the routing table, where the actual destination is directly connected.
Russ.W
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