User Tools

Site Tools


wiki:tech:linux:qemu
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


wiki:tech:linux:qemu [2019/04/13 17:50] (current) – created kpc
Line 1: Line 1:
 +==== create bridge network ====
  
 +<code>
 +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
 +</code>
 +
 +==== run guest with own mac ====
 +
 +<code>
 +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
 +</code>
wiki/tech/linux/qemu.txt · Last modified: 2019/04/13 17:50 by kpc

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki