Page 1 of 1

need to remove DHCP server from Host only adapter

Posted: 27. Apr 2013, 12:52
by Milap
HI all,

i am trying this from some time now. still catching up with VB. i want to run different DHCP server from which i want my guest OS to get ip@ from.

i see every time i issue remove cmd it fails with can not get the correct DHCP server. can anybody help to point me to correct way.

Code: Select all

C:\Users\Admin>VBoxManage list dhcpservers
NetworkName:    HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter
IP:             192.168.56.100
NetworkMask:    255.255.255.0
lowerIPAddress: 192.168.56.101
upperIPAddress: 192.168.56.254
Enabled:        Yes


C:\Users\Admin>VBoxManage dhcpserver remove --netname HostInterfaceNetworking-Vi
rtulBox
VBoxManage.exe: error: DHCP server does not exist

C:\Users\Admin>
thanks

Re: need to remove DHCP server from Host only adapter

Posted: 27. Apr 2013, 13:21
by mpack
Why not simply disable the DHCP server in the VirtualBox settings (File|Preferences|Network)?

Re: need to remove DHCP server from Host only adapter

Posted: 29. Apr 2013, 07:14
by Milap
thanks mpack...this is a easy option