Bug #8937
closedLAGG shows wrong ether address
100%
Description
I am using a LACP Bond over 4 Interfaces. When I look into the LAGG configuration, I am seeing the ether instead of hwether address. It is the same on all Interfaces, that makes it impossible to seperate between all those interfaces. I request that hwether is being shown in there instead.
Updated by Anonymous about 6 years ago
- Target version changed from 2.4.4-GS to 2.4.4-p1
Updated by Anonymous about 6 years ago
- Status changed from New to Feedback
- Priority changed from High to Normal
Please provide some more details of this issue. It is not clear from the description what the problem is. Where do you "see" the wrong address?
Updated by Flole Systems about 6 years ago
Create a new LAGG with some interfaces and save it. Once thats done, edit that LAGG and on everything interface name that you can select to add or remove it, in the parentheses they show the MAC if the LAGG, which is not helpful at all because it's all the same then. It should show the real MAC of the interface instead.
Updated by Anonymous about 6 years ago
- Status changed from Feedback to In Progress
- Assignee set to Anonymous
Updated by Anonymous about 6 years ago
- Status changed from In Progress to New
From a quick look at utils.inc:get_interface_list() this would require the addition of some logic;
if $IFACE is member of LAGG group
MAC = exec ( ifconfig $IFACE | grep hwaddr| awk '{print $2}' )
ELSE
...
Not sure the ugliness of that is worth it
Looking at alternatives now
Updated by Renato Botelho about 6 years ago
- Status changed from New to In Progress
- Assignee changed from Anonymous to Renato Botelho
Updated by Renato Botelho about 6 years ago
- Status changed from In Progress to Feedback
- % Done changed from 0 to 100
Applied in changeset ede4faa74ca16e5ca0fe437beaf7f181eae1b60a.
Updated by Anonymous about 6 years ago
- Status changed from Feedback to Resolved
Tested on 2.4.5.a.20181120.0754 gitsync'd to master, works as expected. Lists ether and hwaddr.