Page MenuHomeVyOS Platform

Ordering of ports on EdgeCore SAF51015I is mixed up?
Closed, ResolvedPublicBUG

Description

I am running VyOS 1.3-rolling-202012311144 on an EdgeCore SAF51015I box.

I noticed that the ordering of the ports seems slightly mixed up.

For example, the first physical port (eth1 per device label) does indeed correspond to eth0 in VyOS.

However, the second physical port (eth2 per device label) corresponds to eth5 in VyOS, not eth2?

Details

Difficulty level
Unknown (require assessment)
Version
VyOS 1.3-rolling-202012311144
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)

Event Timeline

I think this may be related to the MAC bound to the device. You can modify the configuration of vyos to adjust the order

This should not be a problem

for example

set interfaces ethernet eth2 hw-id <mac>
Unknown Object (User) added a subscriber: Unknown Object (User).Jan 4 2021, 12:28 PM

@victorhooi try to build a stable version for yourself, on the stable version is defined by udev rules https://github.com/vyos/vyos-build/blob/crux/tools/vendors_udev/64-vyos-SAF51015I-net.rules
Or you can use way with binding hw-id as noticed @jack9603301 (but not mac)

@Dmitry Thank you for correcting. I may have got it wrong

m.korobeinikov changed the task status from Open to Needs testing.Dec 16 2021, 1:02 PM
m.korobeinikov added a subscriber: m.korobeinikov.

The bug was fixed. Need to check on SAF51015I platform

m.korobeinikov claimed this task.

I ve check this situation on VyOS 1.3(beta-202112120443) and 1.4(rolling-202112160318) (platform SAF51015I) and interfases didont confus.

Interfaces are numbered from 1 to 12