-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot change HW MAC for Vport netdevice #91
Comments
|
Thanks! The patch was added to the develop branch. While the MAC address doesn't do anything special in the vport driver at the moment, the changed MAC address must be reflected to the bessd process. To implement this functionality we will need a custom handler rather than the generic eth_mac_addr() function. |
Can you give a few pointers on what that custom function would do ? I mean would it communicate back to user-space and then ( like a proxy) something would relay that information to bessd ? Or is there some other communication channel we can use for this purpose ? |
Oh, please ignore my previous comment. Since you are changing the MAC address of kernel-side interface (not the bess-side), bessd does not need to know the change. Ideally, the kernel-side interface and the bess-side interface would need to have separate MAC addresses (especially for cases where bess is not running as a transparent bridge; e.g., IP router). Currently no interface is provided to do that, and BESS implicitly assumes those two sides of vport have the same MAC address. |
Right now we cannot use ifconfig to change mac address of vport device. This patch adds the ability for the same.
The text was updated successfully, but these errors were encountered: