From: Oliver Rath <rath68@web.de>
To: kvm@vger.kernel.org
Cc: "Jürgen Brunk" <juergen.brunk@gmx.de>
Subject: network source redirection after kvm start
Date: Wed, 11 Mar 2009 14:57:03 +0100 [thread overview]
Message-ID: <49B7C32F.8090100@web.de> (raw)
Hi,
Im new to this group, so let me know if i do something wrong.
Im testing kvm here (runs almost fine), but there is a strange effect if
I start kvm with tun/tap-devices
I.e. a cups-server runs on localhost and accepts only localhost
administration. If I make an request, tcpdump shows something like this:
--------------------- snip --------------------------------
# tcpdump -i lo -n
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on lo, link-type EN10MB (Ethernet), capture size 68 bytes
14:52:40.811315 IP 127.0.0.1.55006 > 127.0.0.1.631: S
3637547705:3637547705(0) win 32792 <mss 16396,sackOK,timestamp
273730[|tcp]>
14:52:40.811522 IP 127.0.0.1.631 > 127.0.0.1.55006: S
3651636684:3651636684(0) ack 3637547706 win 32768 <mss
16396,sackOK,timestamp 273730[|tcp]>
--------------------- snap --------------------------------
But after starting kvm like:
kvm \
-hda
/home/oliver/Desktop/FreeNAS_0.69RC2_ESX_VM/FreeNAS_0.69RC2/FreeNAS_0.69RC2-flat.vmdk
\
-hdb /home/oliver/nas.image \
-boot c \
-m 512 \
-localtime \
-soundhw es1370 \
-smb /home/oliver \
-net tap,vlan=0,ifname=win0,script=/etc/kvm/kvm-start \
-net nic,vlan=0
the source of all runnig X-Programs is redirected to my (wlan)-Adress:
--------------------- snip --------------------------------
# tcpdump -i lo -n
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on lo, link-type EN10MB (Ethernet), capture size 68 bytes
14:55:19.678993 IP 193.196.118.76.55009 > 127.0.0.1.631: S
1826022862:1826022862(0) win 32792 <mss 16396,sackOK,timestamp
321390[|tcp]>
14:55:19.679114 IP 127.0.0.1.631 > 127.0.0.1.55009: S
1839671451:1839671451(0) ack 1826022863 win 32768 <mss
16396,sackOK,timestamp 321390[|tcp]>
--------------------- snip --------------------------------
In this way, cups forbids administration after starting kvm. Whats wrong
here? What can I do here?
TfH,
Oliver
next reply other threads:[~2009-03-11 14:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-11 13:57 Oliver Rath [this message]
2009-03-15 13:14 ` network source redirection after kvm start Avi Kivity
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=49B7C32F.8090100@web.de \
--to=rath68@web.de \
--cc=juergen.brunk@gmx.de \
--cc=kvm@vger.kernel.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