User Tools

Site Tools


wiki:tech:linux:qemu

create bridge network

brctl addbr br1
brctl addif br1 enp6s0
ip tuntap add dev tap1 mode tap user kpc
brctl addif br0 tap1
ip link set up dev tap1k

run guest with own mac

qemu-system-x86_64 -enable-kvm -smp 4 -cpu host -boot d -hda ./disk.qcow -netdev tap,ifname=tap1,script=no,downscript=no,id=vnet0 -device i82559c,netdev=vnet0,mac=11:11:11:11:11:11 -m 2G -name GuestName -vnc 127.0.0.1:1
wiki/tech/linux/qemu.txt · Last modified: 2019/04/13 17:50 by kpc