Page MenuHomeVyOS Platform

OSPF Interface Cost
Closed, ResolvedPublicBUG

Assigned To
Unknown Object (User)
Authored By
Unknown Object (User)
Aug 11 2020, 1:36 PM
Referenced Files
F811191: image.png
Aug 11 2020, 1:36 PM
F811193: image.png
Aug 11 2020, 1:36 PM

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

Unknown Object (User) created this task.Aug 11 2020, 1:36 PM

@ronie For OSPF bandwidth use command:

vyos@r4-roll# set interfaces ethernet eth0 ip ospf bandwidth 
Possible completions:
   <1-100000>   Bandwidth in megabits/sec (for calculating OSPF cost)

Not speed interface.

Unknown Object (User) added a comment.Aug 11 2020, 8:20 PM

@ronie For OSPF bandwidth use command:

vyos@r4-roll# 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.

Unknown Object (User) added a comment.Aug 12 2020, 2:50 PM

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.

Unknown Object (User) closed this task as Resolved.Aug 12 2020, 2:50 PM
Unknown Object (User) claimed this task.
erkin set Issue type to Improvement (missing useful functionality).Aug 29 2021, 1:29 PM
erkin removed a subscriber: Active contributors.