WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] example and default IP addresses

To: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] example and default IP addresses
From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Date: Fri, 18 Jan 2008 03:53:59 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Delivery-date: Thu, 17 Jan 2008 19:54:27 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20080117202701250.00000001968@djm-pc>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20080117160346.GF21549@xxxxxxxxxx> <20080117202701250.00000001968@djm-pc>
Reply-to: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Thu, Jan 17, 2008 at 08:27:01PM -0700, Dan Magenheimer wrote:
> > On Thu, Jan 17, 2008 at 03:35:02PM +0000, Ian Jackson wrote:
> > > Dan Magenheimer writes ("RE: [Xen-devel] [PATCH] example 
> > and default IP addresses"):
> > > > In the patch to network-nat, I see that you are replacing 
> > the 10.0.0.0/16
> > > > usage with 192.0.2.0/24.  Actually, vif-nat has a dependency on it
> > > > being 10.0.0.0/8(!), at least if more than 256 domains 
> > are launched (not
> > > > necessarily simultaneously, just sequentially created and 
> > destroyed).
> > > > In vif-nat ip_from_dom, IP's are created as 10.x.y.z for 
> > vifw.z, where
> > > > x*256+y==w.
> > >
> > > Firstly, I think it's important to note that network-nat and vif-nat
> > > are pretty ropey.  Anyone who is using them will almost 
> > certainly have
> > > had to adjust them to local conditions anyway.  For example, these
> > > scripts attempt to find and edit your local dhcp server 
> > configuration
> > > file !
> > 
> > FYI, for anyone using libvirt we recommend only using network-bridge
> > and vif-bridge. libvirt then provides a 'virtual network' capability
> > which allows you to define multiple local networks either completely
> > isolated from the physical network, or connected via NAT. 
> > This effectively
> > provides same functionality as vif-nat/network-nat, but 
> > without requiring
> > the admin to modify shell scripts.
> 
> Hi Dan --
> 
> Does this handle DHCP as well?  If so, can you provide a pointer to more
> information?

Yes, it runs a 'dnsmasq' daemon per virtual network to provide DNS and
DHCP services. Each virtual network is setup as a bridge device, so you
can have many on a single machine, each with independant DHCP services

The original design doc is

 http://www.gnome.org/~markmc/virtual-networking.html

And UI screenshots are

  http://virt-manager.org/screenshots/networking.html

Regards,
Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel