Page 1 of 1

Question regarding Virtual networking and IP ranges in VB

Posted: 20. Nov 2013, 03:34
by sbctwc
Hello all

I was wondering is it possible to set up VIrtualbox networking in such a way that if i was to create a Linux guest, I could specify that I want this guest to only use IPs from a certain IP range.. For example. lets say I create a virtual network on Virtualbox for the IP range 165.83.200.0 to 165.83.200.254 and call it Network1 and then create a virtual network with the IP range 10.56.87.0 to 10.56.87.254 and call it Network2. Now when I create a VM and specify that it should use Network1, DHCP on that VM will use a valid IP from the IP range specified in Network1, and the same logic for a VM using Network2. Is that possible to do so in Virtualbox? I know its possible to do so in KVM/Qemu.


Please help if you have any idea what I am talking about!

Thanks!

Re: Question regarding Virtual networking and IP ranges in V

Posted: 20. Nov 2013, 10:59
by noteirak
Yes you can, see the DHCP Server section in the User Manual.
Be sure to read about the different Networking Modes if you haven't done so yet.