Hyper V Linux (Ubuntu) to Windows 2019 Server ping issue.

Sridharan M 21 Reputation points
2022-12-28T14:58:32.163+00:00

Hi ,

Recently I installed the Linux (ubuntu 20) via Hyper V in the Windows 2019 server OS.

Here, I can able to ping from Windows 2019 server to Linux (hyper V), But unable to ping from Linux (Hyper -V) to Windows server.

Even I can ping one windows server to another windows server via ethernet switch.

Please advise.

Windows for business | Windows Client for IT Pros | Storage high availability | Virtualization and Hyper-V
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2022-12-29T14:00:04.307+00:00

    vSwitches do not have addresses so somethings wrong there. When you create a new external vSwitch the internet protocols are removed from the adapter and the Hyper-V Extensible Switch protocol is added turning that physical port into a multi-port virtual switch. Connect your VMs to this vSwitch and use each VM's vEthernet to configure the addressing in the exact same manner as if it were a physical NIC

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    1 person found this answer helpful.
    0 comments No comments

4 additional answers

Sort by: Most helpful
  1. Anonymous
    2022-12-28T15:07:51.597+00:00

    Might check the rule action is Allow and Enabled for the profile in use.

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    274518-image.png


  2. Anonymous
    2022-12-28T15:24:35.677+00:00

    Without a lot more information about your environment it's hard to even guess at this point. Wrong vSwitch? Multiple network interfaces? Route statements? Wrong subnetting? It may be a matter of trial and error until you find what combination of host and guest caused the problem before you could even guess at the cause.

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    0 comments No comments

  3. Sridharan M 21 Reputation points
    2022-12-29T05:27:46.637+00:00

    The Configuration as below,

    Host: Windows server 2019 : 192.168.100.110 (NIC card), Subnet mask : 255.255.255.0

    Virtual switch Manager: 192.168.100.99 (External Switch) (NIC card selected as External Switch) in Hyper V manager
    Also Enabled ALLOW management operating system to share this network adapter. Subnet mask: 255.255.255.0

    Hyper V Linux (Ubuntu 20) IP : 192.168.100.111, Subnet mask : 255.255.255.0

    In Host system, Windows Firewall is disabled and IN bound rules enabled ICMPv4-In -enabled.
    Also, we enabled in network sharing --> file and printer sharing.

    Host to Hyper V (Linux) is pining. But Hyper V (Linux) to windows unable to ping.

    Please advise.

    0 comments No comments

  4. Sridharan M 21 Reputation points
    2022-12-31T06:45:25.813+00:00

    After Deleting the Virtual Switch and again I Configured newly VSwitch. At the time Internet protocols (IP4) disabled in Host system and Virtual switch IP address configured automatically as per my previous IP address. Now its pining both sides (Linux to Host and Host to Linux)


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.