Condividi tramite


NDISTest 6.5 - 2 Machine - AddressChange

This test verifies the ability of NDIS and the driver to override the adapter's current MAC address by writing a new address (both valid and invalid addresses into the driver's registry with registry value NetworkAddress. The driver should receive the new address when it calls NdisReadNetworkAddress during initialization. The following is the sequence of events:

  1. Read current NetworkAddress parameter in registry so it can be restored at the end.

  2. Query the card to find its current and permanent Ethernet address.

  3. Stop the driver.

  4. Write the new Ethernet address into registry.

  5. Start the driver.

  6. Query the card to find its current registry setting and compare to expected setting.

  7. Query the card to find its permanent address and make sure it hasn't changed.

  8. Have the server send 250 packets to the new current address.

  9. Have the server send 250 packets to the original current address (expecting 0 packets received).

  10. Repeat steps 3-9 for each new address to be tested (valid and invalid ones).

  11. Stop the driver.

  12. Put the original NetworkAddress into the registry.

  13. Start the driver.

  14. Query the card to find its current and permanent Ethernet address and make sure they are the same as at the start.

Test details

Associated requirements

Device.Network.LAN.Base.NDISRequirements

See the device hardware requirements.

Platforms

Windows 7 (x64) Windows 7 (x86) Windows RT (ARM-based) Windows 8 (x64) Windows 8 (x86) Windows Server 2012 (x64) Windows Server 2008 R2 (x64) Windows RT 8.1 Windows 8.1 x64 Windows 8.1 x86 Windows Server 2012 R2

Expected run time

~5 minutes

Categories

Certification Functional

Type

Automated

 

Running the test

Before you run the test, complete the test setup as described in the test requirements: LAN Testing Prerequisites.

Troubleshooting

For troubleshooting information, see Troubleshooting LAN Testing.

 

 

Send comments about this topic to Microsoft