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.
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?
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?
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
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
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?
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
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?
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.
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.
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?
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
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!
@@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)?
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.
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.
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 ?
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.
@@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
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
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
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.
@@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.
@@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.
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 :)
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 ..:)
Out of all the things that I tried, only this strategy worked. Thank you so much!
You're welcome!
Thanks so much! Excellent video. I was trying to do this for most of the afternoon. Again, thanks so much!!
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.
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
Yeah, I am glad it was helpful i am happy :)
Sweet and simple...spot on video.
Thank you sir !!
Glad it helped. You’re very welcome.
It's working! Thanks so much for explaining! Now, I complete understand this!
You’re welcome 😉. I’m glad it worked.
This was the only thing that worked for me, thank you sm !!!!!!!
Glad it helped!
WTF man you saved my live thanks so much!!!!
You are welcome. glad to help you out
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?
try cloning after making the natnetwork
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?
Any insights?
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
Thank you very much!
You’re so welcome 😉
Is it possible to have the Vmware workstation and Virtualbox communicate with each other without using a bridged network?
Thank you. It worked.
You're welcome!
thank you so much man it works now :)
You're welcome!
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
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?
You’re welcome 😉. Make sure the firewall is off on the machines.
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
maybe pfSense firewall
Nice work sir. Keep it up and keep the videos coming.
Thank you David
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?
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.
thanks, great Info
Glad it was helpful! You are welcome
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.
Yeah thanks. I was learning how to make videos. I am doing them now better. Thanks for the feedback.
This is nice tricks. I use vmware and i want to try VB. Thanks for sharing more.
Yes VB is good and FREE 99 :). Which is always good. Thanks for viewing and checking it out.
Great tutorial, nice
Thank you 🙏
thank you
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?
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
@@InfoSecPat sure, may I have your discord account name? I will install it and let's connect this weekend.
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!
I actually have a similar combination of VMs like yours: one is Windows Server 2012, the other a CentOS 7.
all you have to do it have the internal networks setup and add the same IP subnets and you should be good.
Nice that is awesome. I love the VM world. Makes labs so easy to setup.
@@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)?
If something is wrong with my DNS server or with not having a gateway, please point it out.
hi i followed the tutorial but when i do ip/fconfig the ips are still 10.0.x.x, may i know why?
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.
Great Video. Thanks for the info! It helped me a lot.
Jayrok 71 welcome anytime
Not working on vagrant for windows
Is it possible to do the same (make 2 VMs communicate with each other) on VMware Workstation Player?
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.
@@InfoSecPat I tried it it does not work on 2 VMs
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 ?
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.
@@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
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
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
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
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.
Hey man if I want to ping 2 virtual machines that have 2 different network and subnet. Is it possible?
yes if you have a router and route to that network.
Hi pat, I have to connect two VMs using mqtt. Can you help me out on how to connect them using mqtt broker
It shows "request timed out"T.T please help me!!
same for me too. Did you later got the answer to this. Kindly get back to me on this plz
i still get the same ip on both ubuntu virtual box vms
Yeah, default in virtual box. It’s gonna be the same IP that’s why you have to create a new net work.
@@InfoSecPat resolved: just needed to change the mac adress of one VM(both had the same mac adress), now they have diferent ips.
I can't ping from virtual kali but from virtual win i can
Then, can we connect the host too?
Yes you will be able to connect the network to the host computer as well.
@@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.
@@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.
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 :)
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 ..:)
This is not working please help me
Please send me a message and ill help. Thanks
No working 🙁
Sorry. What’s not working?
@@InfoSecPat saying no hardware found