Friday, November 23, 2012

openindiana, virtualbox and bridged network

openindiana, virtualbox and bridged network

As far I can see, there are problems assigning the physical guest interface (i.e. igb0) to the bridged virtualbox VM network interface.

To avoid problems (i.e. the virtual machine hangs), you must first create a vnic

dladm create-vnic -l igb0 vnic0

... but ... it is not sufficient: you must assign the MAC address of the vnic to the bridged network interface of the VM

dladm show-vnic
vnic0        igb0    1000   2:8:20:68:25:9b   random    0

If you don't assign the vnic MAC address to the VM network adapter, simply the VM networking doesn't work.

1 comment:

  1. great advice, thanks bud. worked like a charm.

    I might add that you can use this to create a vnic using the mac address that you want, in case you don't want to change the vm's mac:

    dladm create-vnic -l igb0 vnic0 -m ad:dr:es:s:he:re