Hyper-V Nat network

%3CLINGO-SUB%20id%3D%22lingo-sub-2353749%22%20slang%3D%22en-US%22%3EHyper-V%20Nat%20network%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2353749%22%20slang%3D%22en-US%22%3E%3CP%3EI%20would%20like%20RDP%20from%20the%20Hyper-V%20host%20to%20the%20virtual%20machines%2C%20RDP%20is%20enabled%20on%20the%20VM's%2C%20but%20I%20still%20can't.%3C%2FP%3E%3CP%3EI%20also%20create%20a%20NAT%20rule%20but%20it%20still%20doesn't%20work.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2353749%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EHyper-V%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ENetworking%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2354648%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Nat%20network%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2354648%22%20slang%3D%22en-US%22%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F287985%22%20target%3D%22_blank%22%3E%40guidovbrakel%3C%2FA%3E%2C%3CBR%20%2F%3E%3CBR%20%2F%3Eyou%20have%20to%20provide%20a%20lot%20of%20more%20information%20(!)%3CBR%20%2F%3E%3CBR%20%2F%3EBest%20regards%2C%3CBR%20%2F%3ESchnittlauch%3CBR%20%2F%3E%3CBR%20%2F%3E%22First%2C%20No%20system%20is%20safe.%20Second%2C%20Aim%20for%20the%20impossible.%20Third%20no%20Backup%2C%20no%20Mercy%22%20-%20Schnittlauch%3CBR%20%2F%3E%3CBR%20%2F%3EMy%20answer%20helped%20you%3F%20Don't%20forget%20to%20leave%20a%20like.%20Also%20mark%20the%20answer%20as%20solved%20when%20your%20problem%20is%20solved.%20%3A)%3C%2Fimg%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2354655%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Nat%20network%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2354655%22%20slang%3D%22en-US%22%3E%3CP%3EMight%20try%20from%20PowerShell%20from%20source%20and%20target.%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-powershell%22%3E%3CCODE%3ETest-NetConnection%20-ComputerName%20%22192.168.49.142%22%20-CommonTCPPort%20%22RDP%22%20-InformationLevel%20%22Detailed%22%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E
New Contributor

I would like RDP from the Hyper-V host to the virtual machines, RDP is enabled on the VM's, but I still can't.

I also create a NAT rule but it still doesn't work.

4 Replies
Hi @guidovbrakel,

you have to provide a lot of more information (!)

Best regards,
Schnittlauch

"First, No system is safe. Second, Aim for the impossible. Third no Backup, no Mercy" - Schnittlauch

My answer helped you? Don't forget to leave a like. Also mark the answer as solved when your problem is solved. :)

Might try from PowerShell from source and target.

Test-NetConnection -ComputerName "192.168.49.142" -CommonTCPPort "RDP" -InformationLevel "Detailed"

PS C:\Users\hostadmin> Test-NetConnection -ComputerName "192.168.2.2" -CommonTCPPort "RDP" -InformationLevel "Detailed"
WARNING: TCP connect to (192.168.2.2 : 3389) failed
WARNING: Ping to 192.168.2.2 failed with status: TimedOut

From host to vm
ComputerName : 192.168.2.2
RemoteAddress : 192.168.2.2
RemotePort : 3389
NameResolutionResults : 192.168.2.2
MatchingIPsecRules :
NetworkIsolationContext : Internet
InterfaceAlias : vEthernet (InternalNAT)
SourceAddress : 192.168.2.1
NetRoute (NextHop) : 0.0.0.0
PingSucceeded : False
PingReplyDetails (RTT) : 0 ms
TcpTestSucceeded : False

from vm to host:

guidovbrakel_0-1621249227030.png

 

Looks like firewall is blocking, may need to create rules to allow RDP and ICMP. I was also suggesting you run on VM to confirm something is listening.

 

Test-NetConnection -ComputerName "192.168.2.1" -CommonTCPPort "RDP" -InformationLevel "Detailed"