GSM on VirtualBox VM

Hi,
I am evaluating openVAS, I have installed gsm on Oracle VirtulBox.
I find that the gsm guest receives DHCP address in the subnet 10.0.0.0.
For some reason I need this to be assigned from 192.168.0.0 subnet.
How to do that?

Thanks
Yateen

If the VM has VB host-only adapter, you can change the VB DHCP server settings with VB global tools. If you have bridged adapter, the VM gets the IP from DHCP server in your local LAN.

1 Like

Thanks aylatalo,

The VM (debian) has only NAT adapter. Found that the eth0 interface on the VM is configured for dhcp, the dhcp server ip is 10.0.0.2 (as shown by dhclient -v command). The ip assigned to VM is 10.0.2.15

I want to know from where this dhcp server is running.

-Yateen

Please, have a look at https://www.virtualbox.org/manual/ch09.html#changenat -> 9.11.1. Configuring the address of a NAT network interface

1 Like

Not related to GCE.

Hi @yateen

as @aylatalo has pointed out this is a VirtualBox configuration / setup topic which is out of the scope of this community portal and so it was closed for now.

Please follow the VirtualBox manual previously posted or get in touch with the VirtualBox community at https://www.virtualbox.org/wiki/Community to get help on this topic.