Ping between 2 virtual machines

MiMi -  
 zabbix -
Hello,

I am a beginner in the field of computer networking, and I want to connect 2 PCs together using Wi-Fi.
The problem is that I want to connect 2 virtual machines, each located on a different physical machine, and I'm unable to ping them. I don't know whether to use the IP address of the virtual machine or the physical machine!!!???
If anyone can help me or has an answer to any of my questions, it would be nice to hear from you.

Thank you in advance.

7 answers

  1. vlar Posted messages 2474 Status Member 621
     
    Hello,

    We are missing too much information to respond correctly...

    How do you virtualize?

    Which OS do you virtualize?

    What network configuration do you use when entering the parameters for the virtual machines?

    Do they both have internet access?

    To find out the IP address on a virtual machine, you need to open a command prompt and type the following:

    Windows: ipconfig

    Linux: ifconfig

    MacOS: ifconfig

    Then look for the address in 192.168.X.X if it's a home network... This should be under the ipv4 section for Windows and wlan0 (if it's WiFi) on Mac and Linux or eth0 for Ethernet.

    To perform a ping, you need to execute the following command:

    ping target_ip_address
    --
    Any human group derives its wealth from communication, mutual aid, and solidarity aimed at a common goal: the flourishing of each individual while respecting differences.
    0