I have two physical computers (windows 8 each of them) connected in a lan network. In both computers I have installed Oracle virtual box with windows server 2008. I want to ping from one Virtual Machine to the other one located in the other computer. How can I do it? For some reason I have the same IP on both virtual machines.
Maybe you have got the same MAC (hardware manufacturer's unique code) on your network interfaces in your two VMs so they are indistinguishable. You can check like this, and make a new random MAC address by clicking the green icon:
The VMs are likely on their own private networks behind software routers run by the VM program. Therefore, they are not visible to each other. This is the "NAT" (Network Address Translation") mode.
It's exactly as if two computers are behind two different DSL netboxes in two different homes. You cannot ping one from the other. You can only ping the netbox routers if you know their IP address.
To be able to ping between the two VMs, they need to take ownership of the host network card. This is called "Bridged Networking" in VirtualBox. Your host will be unable to use this network address as long as the guest VM is running.
Connect the virtual computers in the same lan network as the physical computers are!
Related
I got an interesting idea to create a hadoop cluster by using 2 laptops connected to a router, but ran into a problem.
I am trying to network connect 2 virtual machines accross the lan using a VMware workstation as the figure above. After trying a lot i have managed to connect the hosts(the windows 10 ie), but i can't figure out how to the connect the virtual machine to each other.
Change the network adapter to Bridged adapter, then only it will be accessible to outside of the VMware host.
Try above and let me if you output
Alright this is how I managed to do. i left 1st system as it is, just replaced it with a ubuntu 16.04 virtual machine and a usb to ethernet adapter was added & in the vmware network adaptor was disabled & usb to ethernet adaptor was enabled.
The 2nd system was completely formated to ubuntu 16.04.
On connectinng to router everything worked Flawlessly with correct ip
I'm new to networking. I need to transfer a lot of large files from a Windows 10 pc to Ubuntu 16.04 pc. I connected the two PCs with an ethernet cable and installed http-server for nodejs on Windows 10 pc and started it as follow:
http-server E:/ -a 192.168.0.130
Starting up http-server, serving E:/
Available on:
http://192.168.0.130:8080
Hit CTRL-C to stop the server.
On Ubuntu pc I opened my brower (Firefox) and entered 192.168.0.130 without success. How can I achieve connection between the two computers?
Have you configured IP addresses on both computers? Did you make sure to put them on the same IP network?
Also, if you connect computers directly to each other with an ethernet cable the network interface cards need to be able to detect and correct the fact that you are not using a "cross-over" ethernet cable. Almost all newer ethernet cards can do this so it probably won't be a problem.
I suspect you have not put IP addresses on the computers. You will need to do this manually since you are not connecting to a network that is dynamically assigning addresses via DHCP.
I created database on Oracle VM virtualmachine and I need to use it from my local computer for my project, which I develop on Visual studio. How could I do that?
The problem is unrelated to VS,
you need to make sure the network device you installed is reachable from the outer world, and that there is a route from your machine to the VM ip device.
What I write here is the simplest configuration in the case you have a home network...
withing Oracle virtualBox -> choose the VM ->(right click) Settings -> Network.
choose "Bridged Adapter" and select the physical card on your computer.
within the VM make sure the IP address is being taken from DHCP (How to do it depends on the Linux distribution you have).
After doing so - restart the network device within the VM, and make sure both of the machines, the windows and the linux, have the same IP segment, and that ping from the windows can reach the linux VM with Oracle.
If you do not have a home network -
The VM added another networking device on your windows machine (if it is hosted on the same machine), which you need to route the trafic to the VM IP to.
If it is not on the same machine - you need to make sure that the router both the machines are connected to knows about the path to the database.
After the networking issue was resolved (and you can practically ping from one machine to the other assuming the firewall allows it),
make sure the listener on the DB machine listens to the right address.
this link will help: http://docs.oracle.com/cd/B28359_01/network.111/b28317/listener.htm
Than you should be done.
Let me know if this wasn't the problem, and your issue is configuring VS - since this is a different issue, which will depend on if your using ODAC or ODT...
Also let me know if you don't know how to check/configure any of the things I wrote above - I didn't write it all since it is long and complicated to answwer all of it in one post...
I want to debug an app remotely on Windows RT (though this applies to any remote debugging, I guess), I don't want to open up my WiFi connection wide or handle complex software configuration every time I connect (firewall etc.).
I thought that maybe by using an Ethernet connection between my Surface and my dev machine, I could make the remote debugging work on top of that. Installing an Ethernet USB dongle on top of Surface seems to be easy, but I can't figure out how to make my dev machine actually find the Surface computer on it.
My set up is simple, dev machine connected to ethernet cable, connected to USB dongle, connected to Surface (Windows RT). Even when disabling WiFi, the remote debugger cannot find the debugee.
Do I need to manually set up the IP address or something?
Do I need to manually set up the IP address or something?
That's what I was thinking. What happens when you try to ping one machine from the the other? Does either machine run a DHCP server? If not you could run a DHCP server (probably on your dev machine) or setup a static IP address. Setting up DHCP may be harder at first but more convenient if you need to connect your tablet to other networks.
For testing it might be helpful to wire both devices to a router so you can configure and test Remote Debugging separately.
I've really benefitted from all the answers out here and now it's my turn to ask for help.
My company uses CISCO VPN. They won't give me the Shared Secret for the group so I am forced to use the windows VM to connect to my work network.
I've tried using the MAC CISCO ISPEC but there it is. Anyway, I'd like to use the connection in my windows vm from my MAC side. I tried setting up a openVPN server on the windows and connecting to that from MAC and connect the CISCO vpn. All a no go.
So any suggestions will be very welcome.
Thanks all.
Well it might sound strange but you're going to have to setup 2 virtual NICs on the virtual machine. The first NIC is going to be bridged with the real physical NIC on the OSX box and that's going to be your outside interface. The next virtual NIC is going to be a host-only and this is going to be your inside interface. This is the one you'll use for OSX to connect through your windows machine. Then you'll need to remove all IP and DHCP configuration from your physical NIC on OSX to let the virtual machine use that NIC.
Every time you want to use the VM and the VPN you're going to have to remove the config on your physical NIC in OSX and then re-add it when you're done.
The windows machine will need to use internet connection sharing to allow OSX to use its VPN connection.