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

[Xen-users] network-nat for hvm guests


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: David Richardson <daverich04@xxxxxxxxx>
  • Date: Wed, 13 Sep 2006 13:04:23 -0700 (PDT)
  • Delivery-date: Wed, 13 Sep 2006 13:05:04 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=hmrIykrN4fN+QEcp8wJXDe/mojo98NwBOWYhJZ2/HcLyMxFYaKdwDoBw50YnMzOJtAPKMP9QgBhixdA3f41ozCC2dPxu8/x/yFlLalKM+gkK1rMqvLa/161AN0L8IY5Fw5V0BGgGjmCuyIUgv5cvSq0cL15kbwtH9bp2Xlct9Lg= ;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hey everyone,

Has anyone had any luck running an hvm guest using the NAT networking config scripts?  My setup is as follows:

eth0 is attached to a physical network card.  I'd like to have my domU's on a private subnet, then NAT between the subnet and eth0 to allow domU's to talk to the WAN (ie, exactly what vmware does when you use their NAT setup).

My /etc/xen/xend-config.spx enables the following 2 nat lines instead of the default bridging setup:
(network-script network-nat)
(vif-script 'vif-nat dhcp=yes')

My domU guest's config file (for a Win XP guest) contains, among other config params:
vif = [ 'type=ioemu' ]
dhcp='dhcp'

I've also installed dhcpd, and configured /etc/dhcpd.conf to:
ddns-update-style interim;
# Xen allocated addresses
subnet 10.0.0.0 netmask 255.255.0.0 {
}

When I create the domU guest, nothing seems to happen; the domU has no state under 'xm list'.  However, if I change the vif config line to vif=[''], the guest boots correctly, dhcpd runs and assigns an ip to vifX.Y, BUT the Windows guest has no network card.

Any ideas how to fix this?  Does network-nat work for hvm guest??  Thanks!

~Dave




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