Comment 5 for bug 1414544

Revision history for this message
Martin Pitt (pitti) wrote :

Ah, -redir only redirects to the first DHCP address (10.0.2.15). So the trick with QEMU is to set up two redirections:

kvm -m 2048 -snapshot -drive file=/srv/vm/adt-vivid-amd64-cloud.img,if=virtio -net user,hostfwd=::22000-:22,hostfwd=::22001-10.0.2.16:22 -net nic,model=virtio -net nic,model=virtio

Then 22000 will go to eth0, and 22001 will go to bond0.