Bridged Networking when host NIC is unplugged

Discussion in 'Parallels Desktop for Mac' started by -G.-, Dec 11, 2006.

  1. -G.-

    -G.- Bit poster

    Messages:
    3
    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.-
     
  2. joem

    joem Forum Maven

    Messages:
    1,247
    Try hard coding the IPs. When you unplug the cable, you lose your DHCP server.
     
  3. -G.-

    -G.- Bit poster

    Messages:
    3
    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.-
     
  4. slamb

    slamb Junior Member

    Messages:
    11
    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.
     
  5. -G.-

    -G.- Bit poster

    Messages:
    3
    Hi,

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

Share This Page