Hey vbox-users,
I've only recently started trying to learn how to network VirtualBox vms.
I'm trying to create a hostonly network with dhcp. Here's where I've gotten
so far:
# Create a new host-only interface (if necessary)
vboxmanage hostonlyif create
# Set interface IP address (if desired)
vboxmanage hostonlyif ipconfig vboxnet0 --ip 192.168.56.1
# Create a dhcp server for the host-only interface (if none exists)
vboxmanage dhcpserver add \
--ifname vboxnet0 \
--ip 192.168.56.1 \
--netmask 255.255.255.0 \
--lowerip 192.168.56.100 \
--upperip 192.168.56.200 \
--enable
# Add an existing vm to the network
vboxmanage modifyvm vm_name --nic2 hostonly
vboxmanage modifyvm vm_name --hostonlyadapter2 vboxnet0
Is that all there is to it? And once I've done this, how do I determine the
IP of the guest? Thanks in advance for your help.
Cheers,
Itamar
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
VBox-users-community mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vbox-users-community
_______________________________________________
Unsubscribe:
mailto:[email protected]?subject=unsubscribe