Host-Only adapter hidden HDCP

This is for discussing general topics about how to use VirtualBox.
Post Reply
tessio
Posts: 6
Joined: 19. Mar 2011, 13:53
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: RHEL 6

Host-Only adapter hidden HDCP

Post by tessio »

I'm running virtual box on my notebook..
When the notebook is plugged in my home network, I use my guest with bridged interface. When the notebook is disconnected, I use my guest with host-only adapter (because bridged adapter fail since the interface is down).
I was attempting to give ip to my guest based on the interface it was attached, but host-only adapter has an hidden useless DHCP that turn my own host DHCP server useless. How can I turn it off?
BillG
Volunteer
Posts: 5106
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Host-Only adapter hidden HDCP

Post by BillG »

Why would you do that? The DHCP server will give you an IP which will allow it to communicate with the host only adapter in the host. That is what host only does. Check the IP of the host only adapter from the host OS. The IP in the vm has to be in the same subnet as that.
Bill
tessio
Posts: 6
Joined: 19. Mar 2011, 13:53
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: RHEL 6

Re: Host-Only adapter hidden HDCP

Post by tessio »

Because it is easier to have a DHCP server leasing ips to my guest and don't having to bother with different ip configurations from bridged (10.1.1.0) to host-only (192.168.56.0).. And besides that, sometimes I use host-only networked guest to access the Internet using my host as router.. (to don't have to turn off the guest to switch from host-only to bridged)..
BillG
Volunteer
Posts: 5106
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Host-Only adapter hidden HDCP

Post by BillG »

But your guest will not get an IP from your LAN router if it is set to host only!

If you want your guest to always have the same IP, use static config. It will then ignore DHCP completely.
Bill
Post Reply