need to remove DHCP server from Host only adapter

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Milap
Posts: 2
Joined: 27. Apr 2013, 12:40

need to remove DHCP server from Host only adapter

Post 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
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: need to remove DHCP server from Host only adapter

Post by mpack »

Why not simply disable the DHCP server in the VirtualBox settings (File|Preferences|Network)?
Milap
Posts: 2
Joined: 27. Apr 2013, 12:40

Re: need to remove DHCP server from Host only adapter

Post by Milap »

thanks mpack...this is a easy option
Post Reply