Page 1 of 1
Internet from virtual machine to virtual machine using NAT
Posted: 10. Sep 2012, 22:22
by Carioca
I would like to share a virtual machine with windows xp with linux using another nat. Is this possible?. What would be the way to do it?

- nat.png (17.57 KiB) Viewed 571 times
Re: Internet from virtual machine to virtual machine using N
Posted: 11. Sep 2012, 01:24
by BillG
Yes an no. You can certainly share the Internet connection, but they can't be in the same IP subnet if you use NAT.
You would need two NICs in the Linux vm and set up NAT for the XP box in the Linux machine. It really doesn't have much to do with VirtualBox, apart from using the VirtualBox manager to set the networking config of the guests.
Internet
|
10.0.0.3
Linux NAT
192.168.1.1 internal network
|
192.168.1.3 internal network
XP
Re: Internet from virtual machine to virtual machine using N
Posted: 11. Sep 2012, 02:01
by Carioca
Thanks for your help .. was what I needed.