- Basically follow [1]
- But virt-manager can't open /dev/kvm
- Make
libvirt-qemu
user joinkvm
group (usingvigr
)
- Make
[1] https://help.ubuntu.com/community/KVM/Installation
- Create bridge manually
- Edit
/etc/network/interfaces
- Edit
auto veth0
iface veth0 inet static
address 192.168.128.1
netmask 255.255.255.0
pre-up ip link add veth0 type veth peer name veth0p
post-down ip link del veth0
auto br0
iface br0 inet static
address 192.168.128.254
netmask 255.255.255.0
bridge_ports veth0p
bridge_stp on
bridge_maxwait 0
iface br0 inet6 auto
- Create a VM (using virt-manager) and joing its interface to the bridge (br0)
<interface type='bridge'>
<mac address='52:54:00:36:3e:86'/>
<source bridge='br0'/>
<model type='e1000'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</interface>