From: Erdem Bayer <ebayer@ttnet.net.tr>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>, xen-devel@lists.xensource.com
Subject: Re: nat does not work with hvm
Date: Sat, 14 Apr 2007 09:56:21 +0300 [thread overview]
Message-ID: <46207B15.1070805@ttnet.net.tr> (raw)
In-Reply-To: <C2465F73.5DA3%Keir.Fraser@cl.cam.ac.uk>
But the network-nat script still runs in that case right? So what should
be in the qemu-ifup script? Also should there also be a qemu-ifdown
script to undo the changes?
I think in the qemu-ifup I should write a rule to switch the vifX.0
created by the network-nat script and the tap interface created by the
qemu-ifup script? Am I right about this?
Thanks for help
Erdem
Keir Fraser wrote On 14-04-2007 12:37:
> On 14/4/07 07:24, "Erdem Bayer" <ebayer@ttnet.net.tr> wrote:
>
>
>> -------------------------------------
>> #ifconfig $1 0.0.0.0 up
>> #brctl addif $2 $1
>> -------------------------------------
>> I have also try commenting only the second line from the script. Still
>> no luck. In that case an interface named tap is created also.
>>
>
> If you comment out those two lines and don't provide an alternative then the
> network backend interface will not even be brought up. It's then no surprise
> that no traffic can get to or from your HVM guest.
>
> If you want to route traffic rather than bridging it then you need to add
> commands to set up a route to your VM. And you almost certainly want to keep
> the first line that you commented out. That's the one that actually brings
> the interface online. If routing you'll want to put an actual IP address
> rather than 0.0.0.0.
>
> I don't think an IP address can currently be specified to that script, by
> the way. At least not directly.
>
> -- Keir
>
>
>
>
next prev parent reply other threads:[~2007-04-14 6:56 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-14 6:24 nat does not work with hvm Erdem Bayer
2007-04-14 9:37 ` Keir Fraser
2007-04-14 6:56 ` Erdem Bayer [this message]
2007-04-14 10:08 ` Keir Fraser
2007-04-14 20:50 ` Adding PTE Flag during Page Fault Joe Laws
2007-04-14 21:29 ` Joe Laws
2007-04-15 11:00 ` Keir Fraser
2007-04-17 14:53 ` Joe Laws
2007-04-15 11:05 ` Keir Fraser
[not found] <C2466939.5DAB%Keir.Fraser@cl.cam.ac.uk>
2007-04-17 11:32 ` nat does not work with hvm Erdem Bayer
2007-04-17 14:42 ` Keir Fraser
2007-04-25 14:10 ` Erdem Bayer
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=46207B15.1070805@ttnet.net.tr \
--to=ebayer@ttnet.net.tr \
--cc=Keir.Fraser@cl.cam.ac.uk \
--cc=xen-devel@lists.xensource.com \
/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.