Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expose VMs to the Network via Public Bridge

Finally good instructions -https://wiki.ubuntu.com/KvmWithBridge

Bridge will expose the virtual network cards on your VMs to the rest of your network.

Note, don't try wireless as most wireless networking devices do not support this well.

Install the bridge software,

Code Block
languagebash
sudo apt-get install bridge-utils

Backup your /etc/network/interfaces,

Code Block
sudo cp /etc/network/interfaces /etc/network/interfaces.v0.0

Modify your file to look like this,This used to be hard, but now KVM sets up a Public Bridge out of the box and this can be manipulate using VMM (Virtual Machine Manager).

First confirm the name of your active network card.

Turn off you VM if not already off. Load Information window. choose NIC. Change Network source to Host device macvtap. Notice KVM auto generated a unique mac.

Boot and now your VM exists like a real machine on your existing network.

...

Resource Management

Understanding Dynamic Memory...

...