Qemu networking

From Notes_Wiki
Revision as of 06:40, 10 November 2012 by Saurabh (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.