-
Notifications
You must be signed in to change notification settings - Fork 498
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
802.1q MAC Spoofing blocks Network Aliases #3079
Comments
Totally! Thanks for the feedback. As you said the driver needs to be updated to respond to this filters for the ALIAS. In the meanwhile you would need to disable MAC spoofing |
Sorry, I was reading again the issue. We are aware of the IP spoofing (i.e. some of the functionalities of the drivers are bypassed for NIC alias). However NIC ALIAS is not attaching a new interface so it will not add a new MAC filter rule. In your case you need to disable MAC spoofing either way. |
Sorry, on a second thought we can add the IP/MAC pair in the MAC spoofing rules. So a NIC ALIAS includes IP/MAC pair and we can add that to the rules. So for example, a VM template with:
will result in:
So it may have sense to add that MAC to the rules. Is that your proposal? |
Yes I think that would do it. This also needs to be performed when a NIC is hot-attached. |
Perfect thanks! we'll address this issue as discussed |
This issue has been fixed. |
We are running the latest version 5.8.0 of OpenNebula und Ubuntu 18.04. If you add an alias (Attach nic) to an existing virtual NIC, the communication is dropped, if the not the MAC of the inital interface is used.
If you e.g. want to run a virtual machine on the VM or something using macvlan, the VM is unable to communication with the network, since the MAC spoofing protection setup by OpenNebula on the host interface will drop the packages.
Manually removing rule 1 will work, but is more a dirty quick fix that does not last.
Can you please add additonal MACs also to the filter?
The text was updated successfully, but these errors were encountered: