[quagga-users 13889] Re: OSPF Metric for Loopback?
lu.feng at 6wind.com
Wed Jan 21 03:53:28 GMT 2015
I suggest not to use the redistribution. The following is a simple way to
achieve what you want (suppose address A.B.C.D/M is configured on lo:0):
ip ospf cost 100
network A.B.C.D/M area N <== let OSPF run on lo:0
passive-interface lo:0 <== let OSPF drop all packets on lo:0
<...your other configurations...>
Hope this helpful.
On 1/17/15, Jiann-Ming Su <su_js1 at yahoo.com> wrote:
> How should quagga/ospfd be configured such that the ip ospf cost configured
> for a loopback is added to the metric cost when the host route gets
> Sample ospfd config:
> interface lo:0
> ip ospf cost 100
> The router that the quagga server peers with has ip ospf cost 500. The
> metric for the anycast associated with lo:0 shows the 500 added, but not the
> additional 100 listed in the ospfd config. Thanks for any tips.
More information about the Quagga-users