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?
Internet from virtual machine to virtual machine using NAT
-
BillG
- Volunteer
- Posts: 5106
- Joined: 19. Sep 2009, 04:44
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows 10,7 and earlier
- Location: Sydney, Australia
Re: Internet from virtual machine to virtual machine using N
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
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
Bill
Re: Internet from virtual machine to virtual machine using N
Thanks for your help .. was what I needed.