- #
- # qemu macvtap config
- #
- # root@host:
- ip link add link enp2s0 name macvtap0 address 52:54:00:b8:9c:58 type macvtap mode bridge
- ip link set macvtap0 up
- chmod go=u /dev/tap3
- # user@host:
- qemu-system-x86_64 -smp 4 -m 8192 debian1.img -net nic,model=virtio,macaddr=$(cat /sys/class/net/macvtap0/address) -net tap,fd=80 80<>/dev/tap$(cat /sys/class/net/macvtap0/ifindex)
qemu macvtap demo #002
Posted by Anonymous on Tue 20th Dec 2022 15:12
raw | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.