Difference between revisions of "Qemu networking"

From Notes_Wiki
(Created page with "=Redirect host port to guest port using qemu= We can use '<tt>-redir tcp:<host_port>::<guest_port></tt>' option with qemu so that when connection is established t...")
 
(No difference)

Revision as of 11:24, 31 March 2013

Redirect host port to guest port using qemu

We can use '-redir tcp:<host_port>::<guest_port>' option with qemu so that when connection is established to host port it gets forwarded to guest. During this guest and host are connected on a private network and guest can get DHCP IP. Guest and host can establish normal TCP/IP connections over this shared private network. It is very similar to host-only network without NAT that we can create when we use libvirt for virtualization.