Choosing IP address on NAT network
Posted: 13. Jun 2016, 23:49
I have a Linux desktop and I want to run a Windows 7 guest. When I first created the Windows guest, it chose an IP address of 10.0.2.15 which worked for accessing the Internet, but I need to be able to access equipment in another location that is on the 10.0.2.0/24 network. I see no way to change the IP address used for NAT.
I changed it to use the Network Address Translation service (experimental) which allows me to choose the subnet's address (192.168.255.0/24 in my case). When I added a Host-Only network (192.168.254.0/24) so the Host could be a client to the Guest, the NAT stopped working. Removing the Host-Only network did not fix it.
So, I went back to the original NAT, rather than Network Address Translation service and I can access the Internet from the Guest and the Guest from the Host. I just can't choose the address.
Is there a way to get Host-Only and Network Address Translation service networking to work together?
Or is there a way to choose the IP address of the traditional NAT subnet?
Here's the pertinent information about my environment:
Host OS: Fedora release 21 (Twenty One)
VirtualBox (from repos): VirtualBox-5.0.x86_64 5.0.20_106931_fedora18-1
Guest: Windows 7 Enterprise, 64bit (not a domain member)
I would appreciate any help to get all three: NAT, Host-Only and IP choice.
Gary
I changed it to use the Network Address Translation service (experimental) which allows me to choose the subnet's address (192.168.255.0/24 in my case). When I added a Host-Only network (192.168.254.0/24) so the Host could be a client to the Guest, the NAT stopped working. Removing the Host-Only network did not fix it.
So, I went back to the original NAT, rather than Network Address Translation service and I can access the Internet from the Guest and the Guest from the Host. I just can't choose the address.
Is there a way to get Host-Only and Network Address Translation service networking to work together?
Or is there a way to choose the IP address of the traditional NAT subnet?
Here's the pertinent information about my environment:
Host OS: Fedora release 21 (Twenty One)
VirtualBox (from repos): VirtualBox-5.0.x86_64 5.0.20_106931_fedora18-1
Guest: Windows 7 Enterprise, 64bit (not a domain member)
I would appreciate any help to get all three: NAT, Host-Only and IP choice.
Gary