Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Quagga: Users

newbe question: BGP propagates network without (kernel) route

 

 

Quagga users RSS feed   Index | Next | Previous | View Threaded


iafilius at xs4all

Nov 19, 2009, 1:37 AM

Post #1 of 2 (603 views)
Permalink
newbe question: BGP propagates network without (kernel) route

Hello,

I'm new on the list, did some basic search for my question in the
monthly digest manually, but no success, so here's my question.

using ubuntu 9.10 quagga 0.99.13-1

What I am trying to do is like the described (cisco way)
"Not-so-very-static Routes" on:
http://www.nil.com/ipcorner/SmallSiteMultiHoming/#chapter3

Basically:
add a static route to a gateway/router/firewall (which does no routing
protocol) when it is reachable, add a route network behind it.
Propagate that route, when it exists withing BGP.

1)
i'd made a basic test setup, and to my surprise BGP seems to propagate
the route always, when there is a kernel route for, or not.

extract from what is have, on quagga:
router bgp 998
network 2.2.2.0/24

even when there is no route 2.2.2.0/24 in the kernel, and also no route
statements in Quagga, i'd not expect to propagate the 2.2.2.0/24 to a
bgp neigbour, but it does!


ps quagga BGP route:
# show ip bgp
BGP table version is 0, local router ID is 192.168.1.200
Status codes: s suppressed, d damped, h history, * valid, >
best, i - internal,
r RIB-failure, S Stale, R Removed
Origin codes: i - IGP, e - EGP, ? - incomplete

Network Next Hop Metric LocPrf Weight
Path
*> 2.2.2.0/24 0.0.0.0 0 32768 i

# show ip route, has no default/matching route, and also the linux
kernel has none.


Any idea what that might be?



2)
Any other ideas/experiences with a "Not-so-very-static Routes"
solution/implementation on Quagga?
pointers/discussions are very welcome.

Many thanks in advance,

Regards,

Arjan Filius
iafilius [at] xs4all



_______________________________________________
Quagga-users mailing list
Quagga-users [at] lists
http://lists.quagga.net/mailman/listinfo/quagga-users


aterranova at gmail

Nov 19, 2009, 4:32 AM

Post #2 of 2 (574 views)
Permalink
Re: newbe question: BGP propagates network without (kernel) route [In reply to]

Hello,

It sounds like you have a dynamic link / diald style setup where a tunnel
(or link) comes up on demand, and then you would like to propagate routes
from the far side of the tunnel back into a local routing protocol.

Is there any reason you couldn't do it with openvpn (or alternate) tunnel /
and an IGP? (openvpn will diligently try to bring up the link and as long as
the peer that it's trying to connect too isn't available (over that dynamic
link for instance) - it will just fail - then - once it connects - the IGP
can exchange / propagate routing information.

--Adrian

On Thu, Nov 19, 2009 at 4:37 AM, Arjan Filius <iafilius [at] xs4all> wrote:

> Hello,
>
> I'm new on the list, did some basic search for my question in the
> monthly digest manually, but no success, so here's my question.
>
> using ubuntu 9.10 quagga 0.99.13-1
>
> What I am trying to do is like the described (cisco way)
> "Not-so-very-static Routes" on:
> http://www.nil.com/ipcorner/SmallSiteMultiHoming/#chapter3
>
> Basically:
> add a static route to a gateway/router/firewall (which does no routing
> protocol) when it is reachable, add a route network behind it.
> Propagate that route, when it exists withing BGP.
>
> 1)
> i'd made a basic test setup, and to my surprise BGP seems to propagate
> the route always, when there is a kernel route for, or not.
>
> extract from what is have, on quagga:
> router bgp 998
> network 2.2.2.0/24
>
> even when there is no route 2.2.2.0/24 in the kernel, and also no route
> statements in Quagga, i'd not expect to propagate the 2.2.2.0/24 to a
> bgp neigbour, but it does!
>
>
> ps quagga BGP route:
> # show ip bgp
> BGP table version is 0, local router ID is 192.168.1.200
> Status codes: s suppressed, d damped, h history, * valid, >
> best, i - internal,
> r RIB-failure, S Stale, R Removed
> Origin codes: i - IGP, e - EGP, ? - incomplete
>
> Network Next Hop Metric LocPrf Weight
> Path
> *> 2.2.2.0/24 0.0.0.0 0 32768 i
>
> # show ip route, has no default/matching route, and also the linux
> kernel has none.
>
>
> Any idea what that might be?
>
>
>
> 2)
> Any other ideas/experiences with a "Not-so-very-static Routes"
> solution/implementation on Quagga?
> pointers/discussions are very welcome.
>
> Many thanks in advance,
>
> Regards,
>
> Arjan Filius
> iafilius [at] xs4all
>
>
>
> _______________________________________________
> Quagga-users mailing list
> Quagga-users [at] lists
> http://lists.quagga.net/mailman/listinfo/quagga-users
>

Quagga users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.