[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Xen with NAT networking.
--- On Wed, 2/9/11, Huagang XIE <huagangxie@xxxxxxxxx> wrote: > From: Huagang XIE <huagangxie@xxxxxxxxx> > Subject: [Xen-users] Xen with NAT networking. > To: xen-users@xxxxxxxxxxxxxxxxxxx > Date: Wednesday, February 9, 2011, 2:34 PM > Hello there, > > I was trying to setup a XEN NAT. I think I follow all the > instructions > but still failed. > > In NAT environment, the tap.x is the gateway for the > guest os, right? > but the xen always set the > gateway to vif.x, and the guest os will never be able to > communicate outside. > Gateway is at 10.0.0.254 so set your guest with network 10.0.0.0 netmask 255.255.255.0 address 10.0.0.5 <--- your choice whatever address you choose on the above network, must be set in both ifcfg-eth0 and in your domU config vif = ['ip=10.0.0.5,mac=00:16:3e:aa:bb:cc'] > > Does anyone here successfully configure a NAT networking > with XEN? I > am using Xen 3.4.3 and also trying 4.0.1 under Centos 5. > yes, but in addition to above comments add: echo 'net.ipv4.ip_forward = 1' >> /etc/sysctl.conf -- Mark _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |