From: GaoYi <gaoyi709@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] How to make TCP/IP applications run on guest OS?
Date: Wed, 19 Dec 2012 21:54:32 +0800 [thread overview]
Message-ID: <CABurPef9CUYBn5axZsg0RYmgaU7MMB4n5cYhiBo6itomOxgKUg@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 577 bytes --]
Hi all,
I have bridged the network of the host. There was one br0 and several
taps on it. When I started up a guest using:
#kvm -hda ubuntu.img -localtime -m 1G -net nic, -net
tap,ifname=tap0,script=no
The guest can ping to other VMs or physical PCs within the same LAN.
However, when I tried to communicate with other VMs/PCs using TCP/IP,
the incoming IP at the receiver side is the same as the host IP instead of
the VM's IP. Then how to configure the network so that
the TCP/IP applications run well just like the phsical PC?
Thanks,
Yi
[-- Attachment #2: Type: text/html, Size: 720 bytes --]
next reply other threads:[~2012-12-19 13:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-19 13:54 GaoYi [this message]
2013-01-02 16:00 ` [Qemu-devel] How to make TCP/IP applications run on guest OS? Stefan Hajnoczi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CABurPef9CUYBn5axZsg0RYmgaU7MMB4n5cYhiBo6itomOxgKUg@mail.gmail.com \
--to=gaoyi709@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).