qemu 做NAT網路同時做埠對映
-netdev user,net=192.168.76.0/24,dhcpstart=192.168.76.9,hostfwd=tcp::5555-:5555,id=netdev0, -device e1000,netdev=netdev0,id=device-net0,mac=aa:54:00:11:22:33
如有多個IP可以指定IP:
hostfwd=tcp:192.168.0.50:6001-:6000
參考:
http://wiki.qemu.org/Documentation/Networking
man qemu-kvm 然後搜尋redir