How do you make two virtual machines communicate with each other in VirtualBox 2019

Поделиться
HTML-код
  • Опубликовано: 17 ноя 2024

Комментарии • 91

  • @adamomar8998
    @adamomar8998 3 года назад +1

    Out of all the things that I tried, only this strategy worked. Thank you so much!

  • @davidsnyder109
    @davidsnyder109 2 года назад +3

    Thanks so much! Excellent video. I was trying to do this for most of the afternoon. Again, thanks so much!!

    • @InfoSecPat
      @InfoSecPat  2 года назад +1

      You’re very welcome. I’m glad it was very helpful for you. I know it can be a pain in the butt to get virtual machines to talk and I’m glad my video was helpful.

  • @dangulick5048
    @dangulick5048 5 лет назад +3

    Thank god for you lol. I had the same problem and been looking for a solution. I love VB and hated that I always had 10.0.2.5 IP. this is helpful

    • @InfoSecPat
      @InfoSecPat  5 лет назад

      Yeah, I am glad it was helpful i am happy :)

  • @abuschowdhury836
    @abuschowdhury836 Год назад +2

    Sweet and simple...spot on video.
    Thank you sir !!

    • @InfoSecPat
      @InfoSecPat  Год назад +1

      Glad it helped. You’re very welcome.

  • @xanvong1501
    @xanvong1501 2 года назад +1

    It's working! Thanks so much for explaining! Now, I complete understand this!

    • @InfoSecPat
      @InfoSecPat  2 года назад +1

      You’re welcome 😉. I’m glad it worked.

  • @angelite4009
    @angelite4009 2 года назад +1

    This was the only thing that worked for me, thank you sm !!!!!!!

  • @dawidk9088
    @dawidk9088 3 года назад +1

    WTF man you saved my live thanks so much!!!!

    • @InfoSecPat
      @InfoSecPat  3 года назад +2

      You are welcome. glad to help you out

  • @ItsRickyNegron
    @ItsRickyNegron 3 года назад +2

    Thanks for providing this video. What if I'm still getting the same IP addresses on both my Kali machine and Win 7, even after creating the new NAT network?

    • @narmadasahoo2986
      @narmadasahoo2986 8 месяцев назад

      try cloning after making the natnetwork

  • @sivakarthikeyank506
    @sivakarthikeyank506 Год назад +1

    Hi admin
    Thanks for the video!.
    In virtual box, Tools> preferences >network.
    I don't have the network option/icon.
    What could be the reason? Any version problem with virtual box or is there any alternative way to make two vm's communicate?

  • @yanisyanisos2913
    @yanisyanisos2913 7 месяцев назад +1

    Sir pls i have the complete opposite i am now following a course and like you when they type ipconfig they have a short ip adress ( the one given by the virtual box ) but for me even if i have Nat network and i type ifconfig it displays my original host ip adress and i don't want that i want privacy pls help me sir

  • @marlonsubuyu2012
    @marlonsubuyu2012 Год назад +1

    Thank you very much!

  • @johnbatasin1734
    @johnbatasin1734 3 года назад +1

    Is it possible to have the Vmware workstation and Virtualbox communicate with each other without using a bridged network?

  • @tejaswinikone8920
    @tejaswinikone8920 3 года назад +1

    Thank you. It worked.

  • @Abdulaziz-fg3mh
    @Abdulaziz-fg3mh 3 года назад +1

    thank you so much man it works now :)

  • @Incog-l5u
    @Incog-l5u Год назад

    Can you do kali Linux and metasploit to communicate. I have followed this steps they both ping but it goes on and on and doesn’t seem to show ‘reply from’ like it did on the windows VM in your video

  • @starboygadtuso9530
    @starboygadtuso9530 2 года назад +1

    hello there thanks for showing us this. I have a problem. I configured as per the video tutorial and when I tried to ping it said request time out. I have four virtual machines on my virtual network. Please what could be the problem?

    • @InfoSecPat
      @InfoSecPat  2 года назад +1

      You’re welcome 😉. Make sure the firewall is off on the machines.

  • @gjbm1782
    @gjbm1782 4 года назад +1

    Thanks for the video.
    Do you know how can I forced all these VM to pass through a virtualized FW before hitting my local default router ip? and still get internet connection

  • @davidjordan9855
    @davidjordan9855 5 лет назад

    Nice work sir. Keep it up and keep the videos coming.

  • @kalilinuxuser972
    @kalilinuxuser972 2 года назад +1

    Hello, so it worked but I had to enable somethings in the win10 firewall. The problem is both of those virtual machines can now ping my host machine. How do I disable that?

    • @InfoSecPat
      @InfoSecPat  2 года назад +1

      So from your host machine, sending a Ping request to those virtual machines is going to happen if you have the same Netwerk. If you don’t wanna have that you have to change the network settings in the virtual machines.

  • @olawumiolubukolaabolusoro2198
    @olawumiolubukolaabolusoro2198 3 года назад +1

    thanks, great Info

    • @InfoSecPat
      @InfoSecPat  3 года назад +1

      Glad it was helpful! You are welcome

  • @jpedfonseca
    @jpedfonseca 4 года назад +2

    Although the video was sort of usefull, it was very difficult to see what were you doing due the size of the terminal. I suggest you to increase the size of the letters for the next time.

    • @InfoSecPat
      @InfoSecPat  4 года назад +1

      Yeah thanks. I was learning how to make videos. I am doing them now better. Thanks for the feedback.

  • @peterfisher4818
    @peterfisher4818 5 лет назад

    This is nice tricks. I use vmware and i want to try VB. Thanks for sharing more.

    • @InfoSecPat
      @InfoSecPat  5 лет назад +1

      Yes VB is good and FREE 99 :). Which is always good. Thanks for viewing and checking it out.

  • @keithlungile
    @keithlungile 3 года назад +1

    Great tutorial, nice

  • @macdewonmai4537
    @macdewonmai4537 3 года назад +1

    thank you

  • @sivakarthikeyank506
    @sivakarthikeyank506 Год назад +1

    I have configured the NAT settings and now both of the vm's has separate IP but still when I ping from kali to ms2 it's not communicating.
    Any suggestions or correction to be made?

    • @InfoSecPat
      @InfoSecPat  Год назад +1

      If you would like to join discord or send me a message and we can try to figure out what’s going on with the communication between the virtual machines

    • @sivakarthikeyank506
      @sivakarthikeyank506 Год назад

      @@InfoSecPat sure, may I have your discord account name? I will install it and let's connect this weekend.

  • @psaiar
    @psaiar 4 года назад +2

    Hi. Additionally to making the 2 VMs to communicate with each other, how can I block them from connecting to the web (to everything external to the local network)? I need to simulate an "offline" environment, in which there is only the local network. Thanks!

    • @psaiar
      @psaiar 4 года назад +1

      I actually have a similar combination of VMs like yours: one is Windows Server 2012, the other a CentOS 7.

    • @InfoSecPat
      @InfoSecPat  4 года назад +1

      all you have to do it have the internal networks setup and add the same IP subnets and you should be good.

    • @InfoSecPat
      @InfoSecPat  4 года назад +1

      Nice that is awesome. I love the VM world. Makes labs so easy to setup.

    • @psaiar
      @psaiar 4 года назад

      @@InfoSecPat Thanks for the answer. I've managed to dig up the info on the internal network. I have set the network in Windows to 192.168.99.5/24 (also tried with 10.0.2.5/24) and the DNS server 192.168.99.1 (not sure the DNS server is needed) and no gateway.
      The problem I have is that I'm a novice at Linux. Could you please help with the commands to setup CentOS IP manually (or for a Linux distro you know, I imagine they're similar)?

    • @psaiar
      @psaiar 4 года назад

      If something is wrong with my DNS server or with not having a gateway, please point it out.

  • @hortcool
    @hortcool 2 года назад +1

    hi i followed the tutorial but when i do ip/fconfig the ips are still 10.0.x.x, may i know why?

    • @InfoSecPat
      @InfoSecPat  2 года назад +1

      I’m not sure why you’re still getting that address. Unless you changed the network settings to match the same address space. And then you have to change the network interface card on the VM.

  • @jayrok71
    @jayrok71 5 лет назад

    Great Video. Thanks for the info! It helped me a lot.

    • @InfoSecPat
      @InfoSecPat  5 лет назад +1

      Jayrok 71 welcome anytime

  • @pedroarnoldomachadoduran546
    @pedroarnoldomachadoduran546 3 года назад +1

    Not working on vagrant for windows

  • @jesandcast
    @jesandcast 5 лет назад +1

    Is it possible to do the same (make 2 VMs communicate with each other) on VMware Workstation Player?

    • @InfoSecPat
      @InfoSecPat  5 лет назад

      Jesus Castro yes sir you can do that. I can help you with that. Send me a message on ig @pdgitsolutions and maybe I’ll make a video on VMware player as well.

    • @abidemiakande356
      @abidemiakande356 Год назад

      @@InfoSecPat I tried it it does not work on 2 VMs

  • @ahmedabdel-hamid4995
    @ahmedabdel-hamid4995 Год назад +1

    I have 2 Windows 10 virtual machines, I made the steps described in the video but one of them isn't connected to the internet and one is connected without issues, I don't know how to fix the issue with the one not connected to the internet, would you help me please ?

    • @InfoSecPat
      @InfoSecPat  Год назад +1

      Please make sure they’re on the same net work in virtual box if that’s what you’re using. And you have to create a separate net work if you have not already. After that, I sign both virtual machines to the same virtual net work in order to have the same IP address scheme.

    • @ahmedabdel-hamid4995
      @ahmedabdel-hamid4995 Год назад

      @@InfoSecPat I have made 2 adapters for each one, one is using the same internal network for both devices, and the second adapter is using the same NAT network as you described in the video, all are cable connected, I don't know what the issue is .. I made sure that they are both connected to the same virtual network

    • @ahmedabdel-hamid4995
      @ahmedabdel-hamid4995 Год назад

      I solved it, the issue was the DNS server configuration I modified for the adapter during following a tutorial to connect the windows 10 machine to a windows server machine, thanks for your help

    • @ahmedabdel-hamid4995
      @ahmedabdel-hamid4995 Год назад

      The current issue now is that one is successfully pinging to the other while the other device (the second one) is not pinging to first device

  • @tiagocoelho2306
    @tiagocoelho2306 Год назад +1

    I've recently tried to set this configuration between 2 VBox Machines (linux and windows) but it happens that I can only ping:
    WindowsVM > Linux VM : OK
    WindowsVM > HostMachine: OK
    Linux VM > WindowsVM : NotOK
    Linux VM > HostMachine : OK
    HostMachine > any VMs: NotOk
    What did I missed? :p

    • @tiagocoelho2306
      @tiagocoelho2306 Год назад +1

      Quick update:
      I was able to fix it by playing around with the MAC address from the network adaptor.
      Workaround:
      The only way it worked for me was by setting the same MAC Address as my Host Network Adaptor into Linux VM, and then generate a random MAC Address for the WindowsVM.

  • @sinaydp8895
    @sinaydp8895 3 года назад +1

    Hey man if I want to ping 2 virtual machines that have 2 different network and subnet. Is it possible?

    • @InfoSecPat
      @InfoSecPat  3 года назад +1

      yes if you have a router and route to that network.

  • @lakshmansingh3162
    @lakshmansingh3162 5 месяцев назад +1

    Hi pat, I have to connect two VMs using mqtt. Can you help me out on how to connect them using mqtt broker

  • @morningmorning2248
    @morningmorning2248 3 года назад +1

    It shows "request timed out"T.T please help me!!

    • @abidemiakande356
      @abidemiakande356 Год назад

      same for me too. Did you later got the answer to this. Kindly get back to me on this plz

  • @gabrielbarbosa-nm3uu
    @gabrielbarbosa-nm3uu Год назад +1

    i still get the same ip on both ubuntu virtual box vms

    • @InfoSecPat
      @InfoSecPat  Год назад +1

      Yeah, default in virtual box. It’s gonna be the same IP that’s why you have to create a new net work.

    • @gabrielbarbosa-nm3uu
      @gabrielbarbosa-nm3uu Год назад

      @@InfoSecPat resolved: just needed to change the mac adress of one VM(both had the same mac adress), now they have diferent ips.

  • @NEVER-1999
    @NEVER-1999 Год назад

    I can't ping from virtual kali but from virtual win i can

  • @AmruthKuntamalla1
    @AmruthKuntamalla1 4 года назад +1

    Then, can we connect the host too?

    • @InfoSecPat
      @InfoSecPat  4 года назад +2

      Yes you will be able to connect the network to the host computer as well.

    • @dwightgrupp8181
      @dwightgrupp8181 3 года назад +1

      @@InfoSecPat I have installed Kali and Windows 7 VM on Virtual Oracle Box. Its pinging fine from Windows to kali but its not pinging from kali to Windows VM.
      Both network are on Bridged Connection.
      Kali IP address: 192.168.1.103 Windows 7 IP : 192.168.1.109
      No error its just sending packet but not receiving any reply.
      Let me know what should I do to resolve this issue.

    • @InfoSecPat
      @InfoSecPat  3 года назад +1

      @@dwightgrupp8181 Hey those are good questions. Please make sure the windows firewall is off. That will prevent ICMP from coming in. Thanks and let me know.

    • @dwightgrupp8181
      @dwightgrupp8181 3 года назад

      Hi Pat, I went into Windows Defender Firewall, then Inbound Rules Then enabled " File and Printer Sharing" (Echo Request - ICMPv4-In) then I was was to ping Windows VM from Kali. However, I have both Kali and windows set up on a "NAT Network" not bridged, I will try that. I'm assuming they would both work, let's see. The issue I'm having is trying to connect pfSense to Kali and then Kali to 3 other Windows VM.. I can connect pfSense to Kali and vs. versa but not with the Windows VMs. It's one or the other. Any advice on that would be appreciated. Thanks, Pat :)

    • @dwightgrupp8181
      @dwightgrupp8181 3 года назад

      YES. I did it. No need to use "Nat Network" just use internal on the VMs and Kali, now the question is, why to use the NAT Network. Many ways to do it I think. I have not tried the bridge yet. Exciting, I have been trying to get this for almost 6 months. lol Now onto setting up the Windows server and Proxy Chains in Kali, o boy ..:)

  • @happytech3083
    @happytech3083 4 года назад +1

    This is not working please help me

    • @InfoSecPat
      @InfoSecPat  4 года назад +1

      Please send me a message and ill help. Thanks

  • @tensnooze4757
    @tensnooze4757 3 года назад +1

    No working 🙁

    • @InfoSecPat
      @InfoSecPat  3 года назад +1

      Sorry. What’s not working?

    • @tensnooze4757
      @tensnooze4757 3 года назад

      @@InfoSecPat saying no hardware found