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 11:20:13 -0700
Delivery-date: Sun, 19 Jun 2011 11:21:41 -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=Z5LNwjjlnIT5sCEizwATxK5g20YYCany0k6QkfFmXy0=; b=xZpZ1F+HKkWKFUAuOgJ2ndqMkdK9qthThIXIEyd/2BsPOCkgc02kZtZIkHCNYTKT4t emPrzyIsqEqgSvI7ofG5soQMlAGKPCknSdzGkp5QZSqCt7Uzg7UxLnVp4uYQbXTPIMOB gzFBxRl724Bnr3NquvZIqCXE49Ft5feh1IH1Y=
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=AesYhN68wDYp/asa4ihmSV7+bsS/WJP9U/LPdIEz/7cwtfA52Y/t+F4Xu3nEzwd0Lk /SUiWsQWZzne+gRE5M1Bc9OPNEXF+6TPwX1WQkkxDvyua5/fGxKr5d3JxUHoaRQOy2E8 lOfRgy2JbziHNBbNE2oVhFjTc5ZQpRpN3CiZ8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <996448.44055.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
Reply-to: Andrew Sorensen <andrewx192@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

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

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