OSPF default metric
Hello again, I'm wondering how OSPF default metrics are calculated by BIRD? Background: I'm running 4 Linux VMs with BIRD under Hyper-V and BIRD gives me a metric of 10 for every connection, be it 10G (which seems to be the default for vSwitches on Hyper-V), 1G or wireless. Even though the physical speed is passed from the hypervisor to the VMs. At least "cat /sys/class/net/INT/speed" gives the proper value. If I knew where the metric comes from, I could try to fix that on the OS-level and save myself separate cost definitions for every interface. Thanks in advance, Marcus Büttemeyer
On Wed, Aug 10, 2022 at 01:40:17PM +0200, Marcus Büttemeyer wrote:
Hello again, I'm wondering how OSPF default metrics are calculated by BIRD? Background: I'm running 4 Linux VMs with BIRD under Hyper-V and BIRD gives me a metric of 10 for every connection, be it 10G (which seems to be the default for vSwitches on Hyper-V), 1G or wireless.
Hello In BIRD, default metric is always 10. It is assumed to be manualy set by operator. Speed based default is just behavior of some other implementations, not standard-prescribed behavior.
Even though the physical speed is passed from the hypervisor to the VMs. At least "cat /sys/class/net/INT/speed" gives the proper value. If I knew where the metric comes from, I could try to fix that on the OS-level and save myself separate cost definitions for every interface.
-- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
participants (2)
-
Marcus Büttemeyer -
Ondrej Zajicek