[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: Andrew Sorensen <andrewx192@xxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.