networking while host is "offline"
Posted: 25. Jan 2010, 08:13
I would like my guest to be able to a) talk to the host while the host is not connected to an outside network, and b) talk to the host and the outside network when the host *is* connected to an outside network.
As near as I can tell (I only installed VB today, but I've read the networking section), I can do (a) with host-only networking, and (b) with NAT, but not both at the same time, and switching back and forth requires a reboot of the guest.
Host: Mac OSX 10.6.2
Guest: Debian Linux
VB: 3.1.2
The sticking point seems to be that if I'm not connected to an outside network, none of the host's NICs have IP addresses, so (surprise) the guest can't talk to it.
Hmmm ... I suppose I could do both? One guest NIC is NATed, a second guest NIC is host-only. That might work.
So, any suggestions? Is there an easier way?
Update: The two NICs does work for this use-case. Still curious if there's a better way.
As near as I can tell (I only installed VB today, but I've read the networking section), I can do (a) with host-only networking, and (b) with NAT, but not both at the same time, and switching back and forth requires a reboot of the guest.
Host: Mac OSX 10.6.2
Guest: Debian Linux
VB: 3.1.2
The sticking point seems to be that if I'm not connected to an outside network, none of the host's NICs have IP addresses, so (surprise) the guest can't talk to it.
Hmmm ... I suppose I could do both? One guest NIC is NATed, a second guest NIC is host-only. That might work.
So, any suggestions? Is there an easier way?
Update: The two NICs does work for this use-case. Still curious if there's a better way.