On Sun, May 24, 2009 at 12:22 PM, Claudio Jeker <cje...@diehard.n-r-g.com> wrote: > On Sun, May 24, 2009 at 11:54:37AM -0600, Justin Credible wrote: > > <snip snip> > >> I figured this one out. This particular problem was caused because i had set: >> >> nexthop qualify via bgp >> > > Why did you set this? Just for fun or was there a reason behind it.
It was a last resort ro another problem which I was having (See thread titled "BGP responding with wrong IP address."). I thought that If i set this, that the correct interface would respond at the router since it seems as though random interfaces were responding. > >> I don't know why that setting in particular set all of my routes to >> point at Level 3 regardless of the preferential settings against it, >> but how i got around it is simple. >> >> route add -mpath default gw1 >> route add -mpath default gw2 >> etc... >> >> Then change that setting to >> >> nexthop qualify via default >> > > Why did you set this? Just for fun or was there a reason behind it. > If you need to use "nexthop qualify via default" or "nexthop qualify via > bgp" then you have an error in your network setup. Either you should use > an IGP (like ospfd) or have a static route to the bgp router. I toggled this setting to see if it would make a difference on the routing tables. My main reason for setting preferred routes is because BGP was selecting Level3 as default for our route to Latin America. We implemented GBLX since there are only two or three hops to Latin America through them, but BGP wasn't selecting them by default, therefore i had to manually intervene. This setting seems to have fixed that particular problem but the problem in thread "BGP responding with wrong IP address." still exists somewhat. In a way they are related, in more ways they are not, that's why I have them as separate threads. I don't use OSPFD yet since I am very new to BGP. Once I master BGP I will move on to learning about the other things which plug in to it, rather than screwing everything up all at once (especially in a live production environment). Thanks!