[quagga-users 14537] Re: Issues with Routes in FreeBSD / PfSense New to Release 1.0

Nathan Baker <[email protected]>
Newsgroups gmane.network.quagga.user
Message-ID <CADwrbY1q-yc6uNGY6zvTWb0s4j=RdNW8MJ2M_osfBeiQxQEBdg@mail.gmail.com>
Mike,

I explained earlier in this thread how it works (or used to work), and in a
separate thread on the dev list.  It uses flags for the kernel routes, in
this case RTF_PROTO1 (shows up as "1" in netstat -r).

Why are you trying so hard to resist this question?  The functionality was
already in place, someone removed it as part of the first 1.0 release.  If
it was still there, you wouldn't need to do a route flush before starting
when it crashes, even though it's rare.  If you flush the routes, there is
a period of time where traffic will not pass until OSPF or BGP finishes
starting up and inserts the routes again.  Why would you rather have this
extra step and disruption instead of just leaving the code in there that
worked perfectly fine?

-Nate

On Wed, Nov 16, 2016 at 4:31 PM, Mike Tancsa <[email protected]> wrote:

> On 11/16/2016 4:06 PM, Nathan Baker wrote:
> > Mike - I understand, but that doesn't address the question.  If zebra
> > crashed and you restarted it, you would run into the problem we're
> > talking about.
>
> Sure, I do a route flush in the cases where it crashes (which is
> thankfully rare)
>
> >
> > The reason for the kill/start is to pick up the new configuration, not
> > to clear the routes from the table.
>
> In this case its more of a "quagga was not intended to be configured
> that way".... Its designed to be configured through vtysh or through the
> local telnet interface, no ?  I am not sure how its supposed to know
> what is still a valid route from before and what is not.  Depending on
> the routing protocol, it might not be able to make deterministic
> decisions that way.
>
>
>         ---Mike
>
> >
> > On Wed, Nov 16, 2016 at 3:59 PM, Mike Tancsa <[email protected]
> > <mailto:[email protected]>> wrote:
> >
> >     On 11/16/2016 3:53 PM, Nathan Baker wrote:
> >     > If there was a graceful restart, that would probably work fine.
> >
> >     On FreeBSD, if I do
> >
> >     0(ps_spare3)# netstat -nr | wc
> >           58     324    4108
> >     0(ps_spare3)# killall bgpd
> >     0(ps_spare3)# killall zebra
> >     0(ps_spare3)# netstat -nr | wc
> >           26     132    1804
> >     0(ps_spare3)#
> >
> >     the shutdown clears out the routes that were added by bgpd so the
> >     routing table is back to the way it was.
> >
> >             ---Mike
> >
> >
> >     --
> >     -------------------
> >     Mike Tancsa, tel +1 519 651 3400 <tel:%2B1%20519%20651%203400>
> >     Sentex Communications, [email protected] <mailto:[email protected]>
> >     Providing Internet services since 1994 www.sentex.net
> >     <http://www.sentex.net>
> >     Cambridge, Ontario Canada   http://www.tancsa.com/
> >
> >
>
>
> --
> -------------------
> Mike Tancsa, tel +1 519 651 3400
> Sentex Communications, [email protected]
> Providing Internet services since 1994 www.sentex.net
> Cambridge, Ontario Canada   http://www.tancsa.com/
>

_______________________________________________
Quagga-users mailing list
Quagga-users-UOy77sIEA+cAd7ICUelF/[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.