[quagga-users 13476] Re: [ospfd] can't set cost for default routes

Marcel Plug marcelplug at gmail.com
Mon Oct 21 14:44:40 BST 2013


The only route you will have will be the IGP route, since BGP will not
learn external routes that have your own AS in the AS path.  So for this
reason, the IGP route will be used.

Marcel Plug


On Mon, Oct 21, 2013 at 6:18 AM, Peter J. Holzer <hjp+quagga at wsr.ac.at>wrote:

> On 2013-10-18 09:25:10 -0700, Christian Franke wrote:
> > On 10/17/2013 10:13 PM, Holger Marzen wrote:
> > > O   0.0.0.0/0 [110/50] via 10.66.53.11, lan, 00:02:17
> > > K>* 0.0.0.0/0 via 213.135.0.45, ppp0
> > >
> > > BTW: What's the 110 in "[110/50]"?
> >
> > It's the administrative distance. That is used if you multiple routes
> > for the same target.
> >
> > E.g. if you get a route for 192.0.2.0/24 both from (e)BGP and from OSPF,
> > usually the route learned via BGP will be preferred as the default
> > administrative distance for external BGP (20) is lower than that of OSPF
> > (110).
>
> I have never understood this choice. If I have one route through my own
> network and one through an external network (which is probably slower
> and more expensive), why would I prefer the external route?
>
>         hp
>
> --
>    _  | Peter J. Holzer           | I think we need two definitions:
> |_|_) | WSR - Softwaredevelopment | 1) The problem the *users* want us to
> solve
> | |   | und Projektunterstützung  | 2) The problem our solution addresses.
> __/   | hjp at wsr.ac.at             |    -- Phillip Hallam-Baker on spam
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iD8DBQFSZP9qMdFfQa64PCwRAn2vAJkBsvvuvMMJkGJ0Qbz1RxSJsJ5K6wCfYIc4
> RzEQBpFxqb3N0UC0G6w66u8=
> =iW1Z
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Quagga-users mailing list
> Quagga-users at lists.quagga.net
> http://lists.quagga.net/mailman/listinfo/quagga-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quagga.net/pipermail/quagga-users/attachments/20131021/91382778/attachment.html>


More information about the Quagga-users mailing list