$ vboxmanage hostonlyif create
%0...%10...%20...%30...%40...%50...%60...%70...%80...%90...%100
Interface 'vboxnet3' was successfully created
###assign ip address to the newly create network
$ vboxmanage hostonlyif ipconfig vboxnet3 --ip 10.1.0.1 --netmask 255.255.255.0
###set dhcp server
$ vboxmanage dhcpserver add --netname vboxnet3 --ip 10.1.0.100 --netmask 255.255.255.0 --lowerip 10.1.0.101 --upperip 10.1.0.254 --enable