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: Andrew Sorensen <andrewx192@xxxxxxxxx>
Subject: Re: [Xen-users] Alternative to network-nat on Debian Squeeze with XEN4?
From: Todd Deshane <todd.deshane@xxxxxxx>
Date: Sun, 19 Jun 2011 20:59:28 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 19 Jun 2011 18:00:50 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=/ZCGckU2bnI+Q939ogA4ZPkBNeXX7mdMr6M7ruVQa+8=; b=pyIVYyqynPdO5OZWDC9nMK837nmL522AQs2urRjPHgGc0tiSk7hsDcIbTwYXp8k6H5 eCcTjy3r4OYiID9G6zTJaFJJwZgXjUB9ndKWprKG+1JVRmTsQqCYJBxolVbRA8ZbMakK DMrDaiUO/ZmP5TAtqPzydP/7nzG+EGp+tz5b8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=ERJQgVjE+XD6OHcEJpMYkL19NNer5yglzzIKUsetq+E8fSf2UcHNSLk8uoBRkKtC7Y jxpcaUI0cYjPARErHD/da3b3VZXiPB+Qb/ZqruoYuHiKORvpOro421XxzqVogKPaTJRw asIKFPCUqNylBc+HIVdZNQky/oJNkvZPzducQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1308507614.1820.11.camel@Nokia-N900-51-1>
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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/

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