Bug #8937
closed
LAGG shows wrong ether address
Added by Flole Systems about 6 years ago.
Updated about 6 years ago.
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.
- Target version changed from 2.4.4-GS to 2.4.4-p1
- 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?
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.
- Status changed from Feedback to In Progress
- Assignee set to Anonymous
- 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
- Status changed from New to In Progress
- Assignee changed from Anonymous to Renato Botelho
- Status changed from In Progress to Feedback
- % Done changed from 0 to 100
- 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.
Also available in: Atom
PDF