Collecting information to troubleshoot HNV
?????. ?? ??????? ???? ??????.
Hyper-V?? Network Virtualization? ????? ?, ?? ??? ???? ?? ?? Step ?? ?? ??? ?? ??? ?????? ????.
Network Monitor? ???? Message Analyzer?? NVGRE ??? ??? ??? ????? ??, ? ??? ?? ?????? ?????.
1) Stop the agent on the host.
net stop scvmmagent
2) On Host, Start Net trace
netsh trace start persistent=yes provider=Microsoft-Windows-WNV provider=Microsoft-Windows-Hyper-V-VmSwitch provider=Microsoft-VirtualMachineManager-DHCPServer tracefile=C:\NetTrace.etl
3) On Host, Clean up all the lookup records
Get-NetVirtualizationLookupRecord | Remove-NetVirtualizationLookupRecord
Get-NetVirtualizationProviderAddress | Remove-NetVirtualizationProviderAddress
4) Start the agent.
net start scvmmagent
5) Repro
6) Stop the trace.
netsh trace stop
7) Convert ETL to TEXT File
netsh trace convert C:\NetTrace.etl C:\NetTraceOutput.txt
[?? ?? ?? ???]
Get-VMNetworkAdapter * | fl VMName, MacAddress, VirtualSubnetID, SwitchName
Get-NetVirtualizationProviderAddress
Get-NetVirtualizationProviderRoute
Get-NetVirtualizationCustomerRoute
Get-NetVirtualizationLookupRecord
?????.