From: Andrew Theurer <habanero@us.ibm.com>
To: Gregor Milos <gm281@hermes.cam.ac.uk>
Cc: xen-devel@lists.sourceforge.net
Subject: Re: how to setup NAT for domU?
Date: Fri, 28 Jan 2005 10:19:15 -0600 [thread overview]
Message-ID: <41FA6603.7030600@us.ibm.com> (raw)
In-Reply-To: <200501272158.27123.gm281@hermes.cam.ac.uk>
Gregor Milos wrote:
>>Gregor, in your xmexample script you have:
>>
>>vif = [ 'ip=192.168.%d.1/24' % (vmid)]
>>
>>
>
>The way the default setup (xmexample) works is as follows:
>in domain 0 - vif gets ip = 192.168.vmid.1
>in domU - eth0 gets ip = 192.168.vmid.2
>this way we can easily update the routing tables in dom0.
>There can be up to 255 unprivileged domains (which is plenty).
>
>
OK, that's exactly what I wanted to do.
>
>
>>I have a much simpler config file, which has:
>>
>>vif = [ 'ip=192.168.2.1/24']
>>
>>
>
>This way all the virtual interfaces in dom0 would be getting the same ip,
>which will not work for more then one domU.
>
>
Actually I have a diferent file for each vmid, generated by bash
scripts, with have a different 192.168.vmid.1, so I think our intent is
the same, just different implemtations. My way was driven by my lack of
python experience :)
>
>
>>...which I tried to use but I get an error from xm create. Looking at
>>
>>
>
>What is the error? Does it happen when you are trying to set up the first
>unprivileged domain or any subsequent ones. What IP address do you give to
>eth0 in domU?
>
>
I don't have the error recordred, but I think it was a python parsing
error. Perhaps I just didn't get the format correctly. I cannot
reproduce at the moment, because apparantly I have really screwed
somthing up by trying the unstable tree, and so far I have not been able
to get 2.0-testing or 2.0.1 running again (and 2.0.3 has always stuck at
"Scrubbing memory..").
I'll try to get back where I started, 2.0.1 with the error reproduced.
Hopefully it's just an error on my part. Thanks for your help!
-Andrew Theurer
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
prev parent reply other threads:[~2005-01-28 16:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-26 10:23 how to setup NAT for domU? aq
2005-01-26 11:35 ` Grzegorz Milos
2005-01-27 13:11 ` Grzegorz Milos
2005-01-27 16:09 ` Andrew Theurer
2005-01-27 21:59 ` Gregor Milos
[not found] ` <200501272158.27123.gm281@hermes.cam.ac.uk>
2005-01-28 16:19 ` Andrew Theurer [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=41FA6603.7030600@us.ibm.com \
--to=habanero@us.ibm.com \
--cc=gm281@hermes.cam.ac.uk \
--cc=xen-devel@lists.sourceforge.net \
/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.