Bridged Networking when host NIC is unplugged

-G.-

Bit poster
Hi,

I use bridged networking in a Virtual Machine. Guest & Host machine are in the same IP range (let's say 192.168.x.y & 192.168.x.z). When an ethernet cable is plugged in the NIC, all is working as expected. IE, I can ping/ssh from/to Host to Guest as well as contacting other machines on the LAN.

When the machine is unplugged, the interface en0 is down, so there is no way to ping from/to Host to Guest.

Is there a solution to use networking in Parallels between Host and Guest when my MacBook is unplugged, during daily train trips ?

NAT of HostOnly is not a solution for me, since I don't want to reconfigure/reboot my VM when I live office to go home.

Any help welcome.

Thanks in advance.

Regards,

-G.-
 
Hi,

Thanks for advice, but I already use static IP adresses.
I think the problem is at the ether level, not at the IP one.

Regards,

-G.-
 
In the 3036 beta release, you can switch a virtual interface between network types (bridged, shared, host-only) on the fly. So you don't need to reboot to reconfigure it. You can also have multiple network interfaces in the same VM - a host-only one that always works and a bridged one that works if en0 is up.
 
Hi,

The solution is using ifconfig in a Terminal.app session :
Code:
$ sudo ifconfig en0 <address>

-G.-
 
Back
Top