Bug 619246
Summary: | Change mac addr through MAC Address item in device manager does not work | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Shirley Zhou <szhou> |
Component: | virtio-win | Assignee: | Yvugenfi <yvugenfi> |
Status: | CLOSED NOTABUG | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 6.0 | CC: | mshao, tburke, ykaul |
Target Milestone: | rc | Keywords: | RHELNAK |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-08-17 12:36:04 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 580953 |
Description
Shirley Zhou
2010-07-29 03:05:01 UTC
This issue has been proposed when we are only considering blocker issues in the current Red Hat Enterprise Linux release. ** If you would still like this issue considered for the current release, ask your support representative to file as a blocker on your behalf. Otherwise ask that it be considered for the next Red Hat Enterprise Linux release. ** This is not a bug. The driver tests if the MAC address apply to the rules of the MAC addresses (this driver behavior is also tested by the WHQL). If the MAC address is invalid - you should see "WARNING: Invalid MAC address ignored" printout in debug space (can be view by DbgView.exe application down-loadable from MS). If you set the address through device manager it should be set according to the locally administered addresses rules: Universally administered and locally administered addresses are distinguished by setting the second least significant bit of the most significant byte of the address. If the bit is 0, the address is universally administered. If it is 1, the address is locally administered. Other rules apply too - no empty or broadcast addresses. Here is validation function for future reference: BOOLEAN ParaNdis_ValidateMacAddress(PUCHAR pcMacAddress, BOOLEAN bLocal) { BOOLEAN bLA = FALSE, bEmpty, bBroadcast, bMulticast = FALSE; bBroadcast = ETH_IS_BROADCAST(pcMacAddress); bLA = !bBroadcast && ETH_IS_LOCALLY_ADMINISTERED(pcMacAddress); bMulticast = !bBroadcast && ETH_IS_MULTICAST(pcMacAddress); bEmpty = ETH_IS_EMPTY(pcMacAddress); return !bBroadcast && !bEmpty && !bMulticast && (!bLocal || bLA); } |