This gist describes how to use QEMU with NAT+DHCP networking
It will usually be enough to reproduce the following steps:
- Copy starter script to your VM directory
- Merge/copy net configuration
- Copy dnsmasq configuration
- (optional) Make sure that /dev/hugepages mounted with hugetlbfs (you can use my script to do it every startup)
- Change everything as you want (like IP addresses, VM HDD filename, etc.)
- Execute starter script