How to Make Virtual Machines Talk to Each Other in VirtualBox

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

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

  • @flioink
    @flioink Год назад +63

    Thanks for clearing this up!
    Note: On the newer versions of VirtualBox the Network setting is in a different location
    so you must press the icon that is located right of the pin icon in the "Tools" menu(the one with the wrench and screwdriver)

  • @mkahler74
    @mkahler74 2 месяца назад

    TY I watched like 12 foreign videos no one was so simple like yours! TY for clear and easy instructions!

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

    Spent the whole day to understand my problem. Ultimately, found you video and solved it for 5 minutes, thanks a lot!

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

    Thank you, this is a very efficient resource to be able to send students instead of stopping the entire group to help them.

  • @mrkrabs4631
    @mrkrabs4631 2 года назад +2

    Simple and short. Helped me solve a very annoying issue I had. You deserve a like and subscribe for that!

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

    Very straightforward and informative. Thank you!

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

    Mate you are a fkn legend! Trying to get Security Onion working on VirtualBox to connect to my Kali and other VM's was driving me freaking insane!!!

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

    Thank you sir, My clarifications was cleared now, 😃
    for next video explain all the network and how it working in virtual box sir. with regards Arulkumaran.

  • @adnaan_al3pha
    @adnaan_al3pha 2 года назад

    I only watch this video but I am test but believe it is work 💯 thanks 😊

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

    Clear and direct, very effective. Thank you!

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

    Excellent, basic, effective , Wasted 2-3 before watching this

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

    Great video! It helped me a lot. I would like to add something. If you are trying to nmap via kali and you cant find the other pc just close the firewall of the other Vm machine. It worked fine for me.

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

    I searched for this, thanks !

  • @G16MTC
    @G16MTC 2 года назад

    Very clear and easy to understand, thanks!

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

    Great video, helped me out a lot!

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

    That was great bro, keep up the WORK, you save the day, I was stuck there for a while, having used to working with VMware workstation. Once a teacher is always is teeacher. (I gave thumbs up to the video as well)

  • @felixkimutai8478
    @felixkimutai8478 Месяц назад

    Thank you Teacher. Things are different though on virtualbox version 7.0

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

    Thank you for this excellent teaching. I followed your instruction, and it worked; I decided to configured another IP address on the Xbox. To my surprised, the window can ping kali successfully, but kali cannot ping the window despite being on the same network.
    Please, I need your advice.
    Thanks

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

      Exact same issue for me. Did you manage to solve it?

    • @Hunter-ik8ku
      @Hunter-ik8ku 2 года назад

      @@vinayakmate1317
      On the windows machine:
      Open up the Windows Firewall from within the Control Panel or search for it.
      Click Advanced Settings on the left.
      From the left pane of the resulting window, click Inbound Rules.
      In the right pane, find the rules titled File and Printer Sharing (Echo Request - ICMPv4-In).
      Right-click each rule and choose Enable Rule.

    • @vinayakmate1317
      @vinayakmate1317 2 года назад

      @@Hunter-ik8ku thanks man! Managed to get it working. I realized the firewall rule was required after I disabled firewall to test and ping worked.

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

    Done in less than 5 mins, McLovin' it

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

    Mannnn ! thank you so muchhhh

  • @gopalakrishnan4137
    @gopalakrishnan4137 2 года назад

    Very simple and superb ❤️

  • @beingofinconceivablehorror1854
    @beingofinconceivablehorror1854 5 месяцев назад

    How would I go about creating two different Nats with different subnets and then connecting them so that the virtual machines can communicate across subnets?

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

    thank you

  • @ricsonchua4264
    @ricsonchua4264 2 года назад

    Wonderful tutorial! May I know if there is a proper way to set static IP like you would on a router or I just configure the fixed IP on the OS and that is it?

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

    Thank you!

  • @sidaliaityahiatene3988
    @sidaliaityahiatene3988 2 года назад

    Thank you sir

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

    Good video! Thanks

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

    How can you let VMs talk to other devices outside of virtual box ?

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

    great job!

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

    Trying to the samething with ipv6 but no luck. ipv4 works though

  • @jfiffick
    @jfiffick 2 года назад

    Had an issue where my WIndows 7 could ping Kali Linux buy my Kali Linux machine couldnt ping Windows 7. Firewall on the Windows 7 machine was causing the problem.

    • @jfiffick
      @jfiffick 2 года назад

      Enable the inbound rule, File and Printer Sharing (Echo Request - ICMPv4-In), in the Advance setting if you want to keep the firewall on.

  • @yannelanga6010
    @yannelanga6010 4 года назад +81

    Simple, short, direct but very effective. Thank you.

    • @sergevinogradoff6024
      @sergevinogradoff6024 2 года назад +2

      But doesn't work.

    • @hrithik_r
      @hrithik_r 2 года назад +2

      @@sergevinogradoff6024 It's working fine for everyone here, please watch the video fully

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

    Thank you

  • @poconnor8
    @poconnor8 Год назад +20

    Every tutorial on setting up a virtual lab environment that requires comms between hosts should begin with this presentation, most people never go over this step. Thank you.

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

    if Windows VM pings Kali but Kali doesn't ping Windows VM, turn off the firewall of the second one.

  • @jpcapobianco1979
    @jpcapobianco1979 5 месяцев назад +2

    its works, but its important in windows to make a rule for the FIREWALL for the network you choose, like 10.0.0.0/24 and permit ICMP if not, you don't ping.

  • @rociofonseca6417
    @rociofonseca6417 3 года назад +6

    Oh man I love you so much, I've been cracking my head all afternoon trying to figure it out and it took you less than 5 min to fix my problem, thank youuuu

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

    thank you it worked for me.
    but kali still not able to communicate/ping with windows machine however windows can.not sure why it cant

  • @Cernfus
    @Cernfus 3 года назад +8

    If you run into the same issue as I did and have the same IPs for cloned VMs:
    Go to Network Settings > Advanced > Refresh the Mac Address for one of the machines.
    The Virtualbox Host assigns depending on MAC (Hardware) Addresses and as cloned machines have obviously the same MAC (D''oh), they will be assigned the same IP eventhough theyre different individual machines.
    After the change of the MAC Address, reboot the changed machine (or wait, but I'd reboot) and you should be there with two different IP's.
    Otherwise, a very nice tutorial and of course there is no need to explain this particular error as it might not be common!

    • @dave6494
      @dave6494 2 года назад

      Thank you !!!

    • @realbubba
      @realbubba 2 года назад

      Thanks. Needed that.

    • @Infiniband11
      @Infiniband11 3 месяца назад

      Thank you - needed this. Although refreshing the MAC also reset my machines to install mode.

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

    Yes by this method i can ping win10 to kali, but not kali to win10? Need help with that

  • @TaylorSwifty69
    @TaylorSwifty69 4 года назад +7

    Love the way you present this information very easy to understand and well structured! Subscribed!

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

    I tried File Preferences but the 'Network' is not showing.

    • @muhammadharis2212
      @muhammadharis2212 10 месяцев назад

      Check tools in preferences, there will be network manager.

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

    i dit it. both came under same nat network with ips 10.0.2.16 and 10.0.2.4. but cannot ping each other. (kali and win10).
    when i run netdiscover in kali, the other ip is showing though.

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

      it finally worked, had to enable ICMP protocol in windows VM.

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

    You have no idea how long I tried to resolve this problem. Your video was a life saver!

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

    I agree with Yann (below) there are so many videos that drag out every last detail! Yours in ON POINT everything we need to know in a short period of time. THANK YOU!

  • @abassam912
    @abassam912 10 месяцев назад +1

    can I get a connectivity between the VM and my Pc?

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

    Thanks for the great guidance. I was also wondering how I could possibly set up two NAT Networks and have Host A (Network 1) be able to communicate with Host B (Network 2)? Do you have further insight on this?

  • @BIRESHKUMARSINGH-ir4sn
    @BIRESHKUMARSINGH-ir4sn 8 месяцев назад +1

    Thank you very much❤❤
    Love from India🇮🇳

  • @isaacg7338
    @isaacg7338 6 месяцев назад

    I had some trouble with the current VirtualBox version even following the directions. If you are having trouble, try making a second NAT Network and connecting to that one instead of the first one you made. Also, if you are using cloned VMs, make sure they have different MAC addresses because DHCP doesn't seem to work otherwise. You can clone a VM but give it a different MAC in the "Clone Virtual Machine" menu.

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

    I want to access the other machine using web browser present in 1st machine

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

    have gone through several tutorials trying to get two VMs on Virtual Box to have unique IP addresses and ping each other. None of these tutorial were straightforward and precise on solving the problem as you were! Thank you very much for this!

  • @jpcapobianco1979
    @jpcapobianco1979 5 месяцев назад

    its works, but its important in windows to make a rule for the FIREWALL for the network you choose, like 10.0.0.0/24 and permit ICMP if not, you don't ping.

  • @razzizle
    @razzizle Год назад +3

    Great video. No fluff, and straight to the point.

  • @MarsVoyageExplorers
    @MarsVoyageExplorers 2 года назад

    hello dear sir how to connect metspiolatable and kali Linux each other when i put metasplotable IP address in kali Linux terminal for example ( ping 123,456,789) it show error Destination host unreachable Kindly Help me thanks

  • @liannemado363
    @liannemado363 2 года назад

    How about Kali Linux to OWASP VM?
    My VirtualBox doesn't automatically assign IP address to Both VM (Kali and OWASP) in linux mint

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

    For somereason mines are still no communicating. I created a new network via prefference, configured both vms to the new nat network option. The IP addresses comes out exactly like yours, however when pinging one another, They don't communicate.

  • @oldcaptainjack
    @oldcaptainjack 7 месяцев назад

    How would I set these up so that they can talk to EACH OTHER but not have access to the internet / outside world to basically create a sandbox of just these two?

  • @soufianebannouni9193
    @soufianebannouni9193 5 лет назад +2

    thank u for this solution , it's worked for me . but for an external ping (ping 8.8.8.8) didn't work , it's like i have to setup two network adapters ??

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

      This is for internal network virtualbox. If you want to connect externally, you will need to configure the host adapter.

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

    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?

  • @sushanttodkar8294
    @sushanttodkar8294 6 месяцев назад

    Thanks for valuable information. The given explanation is very easy and working fine for me.

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

    I was able to ping from windows to kali but unable to ping from kali to windows. Can anyone help me out?

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

      Sounds like you need to enable icmp in windows firewall: www.osradar.com/how-to-enable-and-disable-ping-icmp-in-windows-10-firewall/. At least that worked for me.

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

      @@konchrysovergis5380 Same problem and it worked, thanks a lot!

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

    if anyone tried to ping windows from linux and got nothing back the reason is windows firewall is probably blocking icmp requests

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

    When doing so, my 2 VM's lose the access to the internet: Windows is able to ping Linux, but not the versus.

  • @cobraflunkie
    @cobraflunkie 10 месяцев назад

    Thank you for this. I was beginning to lose my mind with trying to get my two vm's to ping each other.

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

    Can you do the same settings on Mac VMware fusion ? Cause there always seems to be a problem whenever I try

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

    Is it possible to connect my virtualbox windows 8 to my windows 10?

  • @sudoperpetual
    @sudoperpetual 7 месяцев назад

    Very educational and helpful, got my lab setup, thank you!

  • @fahimahmed2453
    @fahimahmed2453 3 месяца назад

    Thanks - exactly what I needed and precise instructions.

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

    Thank you this was very helpful and straight to the point

  • @trzztrzz2477
    @trzztrzz2477 11 месяцев назад

    I dont have the network tab on tools/preferencies. How can I get there?

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

    But sir we cant ping from kali to Windows machine please tell me why?

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

    I was looking for MANY MANY MONTHS AND EVENTUALLY, YOUR VIDEO TUTORIAL SOLVE MY DILEMMA. THANKS, A LOT MAN. I WONDER HOW I CAN DO IT ON PARALLEL

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

      That didn't happen to me, but I know the feeling. Happy for you bro hahaha

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

    I want one of the machines to not be able to access internet, and one to be, how can I do that? :) Thanks

  • @arjav7
    @arjav7 5 месяцев назад

    not working for me, getting request time out what could be the issue

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

    It does not work for me :/
    I had to enable echo requests in the firewall..

  • @hfe1833
    @hfe1833 2 года назад

    how about different PC but on the same network,it same procedures?

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

    I did it the same way but i have no internet connectivity. Can anyone help?

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

    I did same nat network but I can't ping to my local pc , please help me

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

    could explain, how I can give a specified IP to each machine?

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

    This works great - thanks for the short and to the point video. Except, I lose internet connectivity when Nat Network is selected. I don't see Host adapter being set up in the video. Is that what enables you to keep the internet connectivity or am I doing something wrong?

    • @mr.morgan1002
      @mr.morgan1002 3 года назад

      that happened to me. You have to follow these steps: 1. Use NAT and do "sudo apt-get update". To change it you might need to use reboot

    • @mr.morgan1002
      @mr.morgan1002 3 года назад

      2. Then do "sudo apt install net-tools" and change to NAT Network and reboot. Try ping and ifconfig now

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

    Was trying for this thing for hours. Finally, this video did it for me. Thank you!

  • @lamoleMali
    @lamoleMali Месяц назад

    honestly, you're good man keep going

  • @lmlife89
    @lmlife89 2 года назад

    thank you very much sir! very great help!!! :D

  • @juanmojeda5154
    @juanmojeda5154 4 месяца назад

    Excellent! Very clear and easy to understand.

  • @MAX-nv6yj
    @MAX-nv6yj 11 месяцев назад

    Thank u mr what a gorgeous explanation❤

  • @khaledahmed2375
    @khaledahmed2375 Месяц назад

    This is brilliant! Thanks for sharing this!

  • @andyblendermann
    @andyblendermann 3 месяца назад

    Very straightfoward and worked like a charm 5 years later! The GUI options look a bit different on virtualbox but this still worked.

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

    YOU ARE A LIFE SAVER, i've been struggling with this for a couple of hour. Thank sir!, you're a legend

  • @lenacaleb4423
    @lenacaleb4423 2 месяца назад

    thank you so much.2024 here.

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

    I am on Windows (HyperV disabled) & using Docker Toolbox on top of VirtualBox. I followed the procedure to setup a NatNetwork. But as soon as this "TopGun" network is setup, all my existing containers VMs stop running (They run again if I removed this NatNetwork). I wonder if anyone has similar experience and how did you solve this dilemma?

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

    Great tutorial, quick and to the point

  • @myPCtechnician
    @myPCtechnician 2 года назад

    The is wonderful, have been trying to configure my pfsense with kali and few windows all day, you just save the day with this video. Thank you. I should model my videos this way too.

  • @marcgrondin65
    @marcgrondin65 2 года назад

    Thanks IceMan (you even have the spiked bleached/pale hair to match). It's good to get back to the basics ... well done !

  • @achmadathoillah8152
    @achmadathoillah8152 2 года назад

    how about make virtual machine talk to the host?

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

    Hi Sir, I don't know how I convey my thanks to you because the word "Thank you" can not express my real feeling about your help to me . Thank you soooooo much sir ,

  • @naeemali7369
    @naeemali7369 2 года назад

    Very simple and Effective, thanks to this video I was able to complete my FYP, thank you so much.
    Keep teaching like this, is a very good method .
    All the best.

  • @nonshome2800
    @nonshome2800 2 года назад

    thank! uncle you help me in this way.

  • @natalie.Maharaj
    @natalie.Maharaj 3 года назад

    Works perfectly. My Kali VM can surf, my other (vulnerable) VMs cannot; but they can all talk to to each other. Thanks!

  • @andrewfields4516
    @andrewfields4516 2 месяца назад

    what a freaking legendary guide

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

    OMG, this has saved me two weeks of dealing with bridge adaptor issue in Virtual-box. Thank you.