|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Alternative to network-nat on Debian Squeeze with XEN4?
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
|
|
|
|
|