Wednesday, December 20, 2017

Cannot ping 2 VMs in Hyper-V

Hello guys, i've made 2 VMs in my Hyper-V and made a virtual private switch for them. Then i tried to figure out if they can talk to each other by ping them.

I've used Get-NetIPAdress in powershell to find what is my ip in both machines and then typed ping XXX.XXX.XXX.XX on both machines but it said: "Packets: Sent = 4, Received = 0, Lost = 4 (100% loss)" i've restarted machines and tried again and it said:

Pinging 169.254.167.19 with 32 bytes of data: General failure. General failure. General failure. General failure.

Ping statistics for 169.254.167.19: Packets: Sent = 4, Received = 0, Lost = 4 (100% loss)

Then i tried again and it said: Pinging 169.254.167.19 with 32 bytes of data: General failure. General failure. Reply from 169.254.214.123: Destination host unreachable. Reply from 169.254.214.123: Destination host unreachable.

Ping statistics for 169.254.167.19: Packets: Sent = 4, Received = 2, Lost = 2 (50% loss) So i tried last time:

Pinging 169.254.167.19 with 32 bytes of data: Reply from 169.254.214.123: Destination host unreachable. Reply from 169.254.214.123: Destination host unreachable. Reply from 169.254.214.123: Destination host unreachable. Reply from 169.254.214.123: Destination host unreachable.

Ping statistics for 169.254.167.19: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss)

And boom now i see that i've receivew these packets but why does it say "Destination host unreachable" ?

Did i something wrong or is everything alright?



No comments:

Post a Comment