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-users

Re: [Xen-users] Alternative to network-nat on Debian Squeeze with XEN4?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Alternative to network-nat on Debian Squeeze with XEN4?
From: Andrew Sorensen <andrewx192@xxxxxxxxx>
Date: Sun, 19 Jun 2011 19:02:02 -0700
Delivery-date: Sun, 19 Jun 2011 19:03:48 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:reply-to:to:subject:x-mailer:references :in-reply-to:content-type:date:message-id:mime-version; bh=HAzEJKagTBTw+5i1JDKxb69fa4IrPHb1YazHGGh6Cys=; b=e9B6Jweqd+NDLEY95YBZ6v7HO5g5VD/AhXL/zUHfy1FoPCmbjsuksgPiKP9Z9Nf6x5 bug1Yme/o7l3ZVnP8HxaRi/QOvGgVSxd/g+pWq7z3zUUPSe5jmcx1w79wsYTxyBNZoBP vaHUHywzRmvSXsap/B+gn0PVdHzIunhwe3TKA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:reply-to:to:subject:x-mailer:references:in-reply-to :content-type:date:message-id:mime-version; b=RZkRrzn94/gtYteyqwbZ4GyaJIY00vKRNNaQej/Frl4I5uMoWuhoe6joFWM5toOi/b JF6eKhVCkaCJe/p77QxXc15+gzsRNZ72jQeiH8gBUgwlc3ouMpO7GkOMhjojaHEj3y0e r88p/kFzj7hvT5ydlSx758iubVQUnhsI3rRb0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BANLkTinVsARHLxku1NLe+yLyqkosAhGV+g@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <1308469130.2865.3.camel@WLN-MSI-201101> <996448.44055.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <1308507614.1820.11.camel@Nokia-N900-51-1> <BANLkTinVsARHLxku1NLe+yLyqkosAhGV+g@xxxxxxxxxxxxxx>
Reply-to: Andrew Sorensen <andrewx192@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

----- Original message -----
> On Sun, Jun 19, 2011 at 2:20 PM, Andrew Sorensen <andrewx192@xxxxxxxxx>
> wrote:
> > ----- Original message -----
> > >
> > >
> > > --- On Sun, 6/19/11, Andrew Sorensen <andrewx192@xxxxxxxxx> wrote:
> > >
> > > > From: Andrew Sorensen <andrewx192@xxxxxxxxx>
> > > > Subject: [Xen-users] Alternative to network-nat on Debian Squeeze
> > > > with XEN4? To: xen-users@xxxxxxxxxxxxxxxxxxx
> > > > Date: Sunday, June 19, 2011, 12:38 AM
> >
> > > > Hello,
> > > >
> > > > Are there any good alternatives to the network-nat script
> > > > on Debian
> > > > Squeeze?
> > > > I have tried using (network-script network-nat) and
> > > > (vif-script
> > > > vif-nat), but I end up
> > > > with an error message like
> > > >
> > > > Error: Device 1 (vif) could not be connected. ip addr add
> > > > 10.0.1.259 dev
> > > > vif4.1 failed
> > > >
> > > > with configuration file directive
> > > >
> > > > vif =[  'script=vif-nat,ip=10.0.1.132' ]
> > > >
> > > > I need Internet access for my DomU's but I cannot assign
> > > > each one a
> > > > public IP address due to limited addressing.
> > >
> > > If using xen < 4.1, then it should work with this network
> > >
> > > network 10.0.0.0
> > > gateway 10.0.0.254
> > >
> > > Whatever ip you pass to vif needs a static setup in the guest.
> > >
> > > --
> > > Mark
> >
> > Right, but I cannot even start the DomU because of that error.
> > Should I go about creating a vlan on the host and bridge to the vlan
> > behind NAT? I'm not sure how best to do that.
> >
>
> I'm wondering if we should considering using a QEMU-like approach for
> NAT on Xen going forward?
>
> Something like:
> http://wiki.qemu.org/Documentation/Networking/NAT
>
> Thoughts?
>
> Thanks,
> Todd
>
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-users
> >
>
>
>
> --
> Todd Deshane
> http://www.linkedin.com/in/deshantm
> http://www.xen.org/products/cloudxen.html
> http://runningxen.com/
Well, that script isn't going to work in it's as-is condition because my WAN uplink is a bridge now. (So that some DomU can have their own assigned IP adressing.)

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