What's exactly happening is yet unclear in my mind.
My host OS is Windows 7 64 bits.
Yesterday I made my first use of a bridged network in one of my VMs. I was still using virtualbox 4.3.6.
Today, I started my computer, and, while virtualbox was not running at all (well, I know that some components run anyway, like network drivers, aso), I tried to access my phone using its a local address : 192.168.0.10
But I could not reach that phone.
Some other computer on my network was able to reach it, but not this one on which I had used the bridged VM.
The web access was still possible.
So I tried a ping toward 192.168.0.10 ... and to my surprise, I saw that some unwanted address translation was occurring in my host system : the ping was not going to 192.168.0.10 but to 192.168.0.101, and that later address is my host computer address.
C:\Windows\System32\drivers\etc\hosts is genuin (there's nothing in it, except commented lines)
I struggled a while, when I finally thought about virtual box.
At first I thought the problem was linked to virtualbox's adapter position in the list of adapters ... but this was not the case : it's position was at the end.
So I started virtual box, thinking about reverting back to a NAT network adapter in the VM.
My best move was to upgrade to version 4.3.12 of virtualbox (as the reminder was showing, I was already thinking about this forum ... and the fact that usually nobody wants to talk about an old version) ... and upgraded to 4.3.12 from 4.3.6.
After I downloaded the upgrade and installed it, everything was again okay : no more address translation and I could reach my phone.
But now I'm a bit scared : is this going to happen again if I start this VM using the bridged network adapter ?
| Edit: Ok, now I'm a few minutes later. After I had written the preceding lines, I looked at virtualbox and accepted the extension pack download. During the download process, I tried another ping ... and, again, the host system was translating the address to my host computer. I tried a second time ... and it came back to the "no-translation" behaviour. Two other tries ... and it stays ok. Then I installed the latest extension pack ... quit virtual box ... and again, I have the bug. So what is happening ? Can this be linked to virtualbox or do I have some other problem (like a virus) ? Before considering virtualbox as the source of this problem, I've spent an hour running an avast analysis, and nothing was wrong. I keep on trying those pings, and they fail now. But the statistic line is false also : it says that 4 packets were received out of 4 ... but I see that the faulty address made my phone unreachable. Can this be linked to virtual box ? I even have some "mixed tries", that means that the four ping attempts are not going to the same address ! (in french) : Code: Select all The more I try, the less I understand what's happening. This problem jeopardizes every private network feature (I was trying to communicate with my wifi android phone running "DroidOverWifi" application). Some informations about the hardware/software configuration :
If I ping 192.168.0.11, where there is nothing, I get the same result as with 192.168.0.10 (where my phone should respond) : the address is changed to my host address, and since then, the statistics show 4 packets sent, 4 packets received, but none reached its real destination. |