Mailing List Archive

Unable to set ospf cost on loopback
?Hello,
we observerd an important change in ospfd behaviour between version
1.0.20161017 and 1.1.1 when calculating cost of stub network when the IP
address is configured on loopback device.

On version 1.0.20161017 (and older):

# show ip ospf database router 10.0.0.1
Link connected to: a Stub Network??
(Link ID) Network/subnet number: 192.168.100.10
(Link Data) Network Mask: 255.255.255.255
Number of MTID metrics: 0
TOS 0 Metrics: 1000

The same configuration applied to version 1.1.1 shows "TOS 0 Metrics" 0.

Furthermore "ip ospf cost" command on loopback device has no effect in
version 1.1.1.

Do cost '0' (which is out of range for the command) has some special
meaning?

In quagga ver >= 1.1.0 we succeded using a dummy interface instead of
loopback: in this case . Does anyone know if this is the correct
implementation?

Thanks in advance,
Luca