Page MenuHomeVyOS Platform

OSPF Interface Cost
Closed, ResolvedPublicBUG

Description

OSPF assign a cost values for each interface type/speed.

image.png (169×378 px, 10 KB)

Actually, though configured as Ethernet/10Mbits/s, VyOS interface assumes an OSPF cost of 1.

image.png (981×906 px, 192 KB)

Details

Difficulty level
Unknown (require assessment)
Version
VyOS 1.3-rolling-202007300117
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Behavior change
Issue type
Improvement (missing useful functionality)

Event Timeline

@ronie For OSPF bandwidth use command:

[email protected]# set interfaces ethernet eth0 ip ospf bandwidth 
Possible completions:
   <1-100000>   Bandwidth in megabits/sec (for calculating OSPF cost)

Not speed interface.

@ronie For OSPF bandwidth use command:

[email protected]# set interfaces ethernet eth0 ip ospf bandwidth 
Possible completions:
   <1-100000>   Bandwidth in megabits/sec (for calculating OSPF cost)

@Viacheslav I supposed that by default Ethernet Interfaces/10Mbits should be assigned a cost of 10 without changing any parameter. So it is not a bug? Should I cancel this request?

Not speed interface.

It was all a confusion on interface naming. When Cisco says Ethernet, they mean an Ethernet interface of 10M, that's not the case for VyOS. In VyOS eth means the interface uses the Ethernet protocol, but it could have any speed.

So, cost calculations were ok.

s.lorente claimed this task.
erkin set Issue type to Improvement (missing useful functionality).Aug 29 2021, 1:29 PM
erkin removed a subscriber: Active contributors.