From: Avi Kivity <avi@redhat.com>
To: Oliver Rath <rath68@web.de>
Cc: kvm@vger.kernel.org, "Jürgen Brunk" <juergen.brunk@gmx.de>
Subject: Re: network source redirection after kvm start
Date: Sun, 15 Mar 2009 15:14:15 +0200 [thread overview]
Message-ID: <49BCFF27.3070406@redhat.com> (raw)
In-Reply-To: <49B7C32F.8090100@web.de>
Oliver Rath wrote:
> 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?
Are you running your browser on the host or guest?
What's the output of 'ifconfig' on the guest?
--
error compiling committee.c: too many arguments to function
prev parent reply other threads:[~2009-03-15 13:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-11 13:57 network source redirection after kvm start Oliver Rath
2009-03-15 13:14 ` Avi Kivity [this message]
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=49BCFF27.3070406@redhat.com \
--to=avi@redhat.com \
--cc=juergen.brunk@gmx.de \
--cc=kvm@vger.kernel.org \
--cc=rath68@web.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.