Page 1 of 1

windows 7 host

Posted: 2. Oct 2012, 18:49
by alanlima
I'm using virtualbox to run a few programs here, but it always appears the same IP for all of them, vm connects to internet but always appears the same ip, I would use the ip of the host, should not use the ip the machine will not do!
sorry my bad english, is because I'm braziliian
on the network configuration, what settings should I put the ip of the host appears on vm? it appears that the settings I have the following cards:
PCnet-FAST II and III
Intel PRO/1000 MT Desktop
Intel PRO/1000 T Server
virtuonet
to my vm is a linux (other linux)
I'm totally new at this and wanted to help get it out there that I talked
sorry if I posted in the wrong area
the ip thar appears is 10.0.0.5

Re: windows 7 host

Posted: 2. Oct 2012, 20:03
by mpack
If they are using NAT, they will all appear to have the same IP, because they are all sending via the host. An IP of 10.0.x means you are using NAT.

Re: windows 7 host

Posted: 3. Oct 2012, 01:10
by alanlima
this explain to me "why" but no solve the problem, but thanks!

Re: windows 7 host

Posted: 3. Oct 2012, 01:56
by BillG
Solve what problem? If you are using machines with private IP addresses behind NAT, they will always use the public address of the NAT router on the Internet. This has nothing to do with VirtualBox. It is a basic fact about IP addresses. Private addresses cannot cross the Internet (by design). All traffic on the public Internet must use a registered public IP. Any other
traffic will be dropped by the Internet routers.

If you want vms to use their own public IP addresses you will need to use bridged networking and you will need to provide each vm with a valid public IP (different from the host's).

Re: windows 7 host

Posted: 4. Oct 2012, 02:37
by alanlima
hummm....
thanks