I use Ubuntu 12.04 (64-bit) as host OS and Windows 7 as guest OS. How can I ping the Windows 7 system from Ubuntu? And is that possible even when Internet is off?
|
Assuming you can use the Windows 7 guest system, check its IP address. One way to do that in Windows is to open a Command Prompt (type You may be told about IP addresses on multiple interfaces. Now try pinging them from the Ubuntu system by opening a Terminal window on the Ubuntu system (Ctrl+Alt+T) and using the
Replace You can repeat that with the other IP addresses, if you got more than one IP address from Please note that by default, all recent (in fact, all non-EoL) versions of Windows have a firewall enabled that blocks pings. You can turn this firewall off or customize it so it does, though. Details about how to do this would probably be considered off-topic for AskUbuntu (but on-topic for a Windows forum or a general computing support site). This will work without Internet access, but this will not work without a network connecting the host machine to the guest machine. If you have a router that provides IP addresses via DHCP and also Internet access, and you turn that router off, then (unless the host and guest still remember their old IP's), this will not work. But you can always set up a "host-only" network between the Windows virtual machine and the Ubuntu host machine in VirtualBox. This will permit pinging and other network activity between the host and guest machines even when there is no other network connection. To do this, click
While in the above screenshot, I am changing the setting for the single network adapter (thus disabling access to whatever other network there might be), the network settings window shown above also lets you enable another network adapter (you can have up to four easily) and make it "Host-only." Just click |
||||
|
|

