Bug 207056 - Changing the MAC address on the lagg interface doesn't get retained after lagg port delete operation.
Summary: Changing the MAC address on the lagg interface doesn't get retained after lag...
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-net mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-09 11:51 UTC by Gopal
Modified: 2019-10-21 05:06 UTC (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gopal 2016-02-09 11:51:33 UTC
Changing the MAC address on the lagg interface does not get retained after lagg port delete operation.

How to reproduce:

-> Create a lagg interface

-> Add 2 ports to a lagg interface

-> Set the NEW MAC address on the lagg interface, which in-turn change the MAC of the 2 physical ports.

-> Remove a lagg port from the lagg interface. (It should be the first interface of LAGG / Master port)

Buggy part:

-> The NEWLY ADDED MAC address will be lost, the lagg interface will have the other members physical interface MAC interface.


Fix Proposal:

-> At first place, why the MAC change is allowed on the lagg interface.

-> If allowed then the MAC shall be the generic MAC, that shall not be affinity to a phyiscal port. Hence add / delete port operations on the lagg interface should not affect the lagg interface MAC address (Unless all the ports were deleted).