Bridging network from VM?

Discussion in 'Linux Virtual Machine' started by BallO, Jun 23, 2010.

  1. BallO

    BallO Hunter

    Messages:
    138
    I would like to know best to expose a network accessible by the hosted Linux OS (running on the VM) to the hosting OS (Mac OS X).

    Suppose the Linux box has the interface wlan0 (with an IP range of 192.168.0.*) which I wish to access in OS X. Could I simply bridge the interfaces thusly:

    brctl addbr br0
    brctl addif br0 eth0
    brctl addif br0 wlan0
    ifconfig br0 up

    and if so, what interface in the OS X-side would I use and how would it be configured? I see there are two vnic* interfaces on the OS X-side, but neither matches the MAC address of eth0 on the Linux-side.

    What I thought would work is use "Bridged Networking" mode with "vnic0" then eth0 and vnic0 would be either the same device or virtually patched together.

    Could someone help steer me in the right direction here? There are so many variables I don't know which is the next thing to try.
     
  2. BallO

    BallO Hunter

    Messages:
    138
    FYI this was solved when I discovered the "Show in System Preferences" option, which unfortunately disappeared in Parallels 6.
     
  3. joevt

    joevt Forum Maven

    Messages:
    1,207

Share This Page