I have a VirtualBox (v4.1.8) VM that is automatically assigned with an IP in the 10.0.x.x range via DHCP.
Can I change it to use the 192.168.x.x range instead?
|
I have a VirtualBox (v4.1.8) VM that is automatically assigned with an IP in the Can I change it to use the |
|||||||||||||||
|
|
Thanks to RelaXNow, here is the answer to the question:
|
|||
|
|
|
Providing I have understood the question, if you check chapter 6 of the manual it says:
|
|||
|
|
Yes it can be changed. There is documentation on it here: http://www.virtualbox.org/manual/ch08.html#vboxmanage-dhcpserver It's handled through the |
|||
|
|
|
You usually don't need to modify VirtualBox DHCP address range. This network is internal and only exists between your VM and the VirtualBox application. There is no routing involved but just NAT. Should you want to allow accessing your virtual machine from the outside while staying in the default NAT mode, it is possible to selectively open ports (port forwarding). For example, to allow access to your internal ssh server through the 2022 port, use this command:
|
|||
|
|