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

Re: [Xen-devel] Configure DomU with NAT

  • To: "Wu Bingzheng" <wubingzheng@xxxxxxx>
  • From: "Grant McWilliams" <grantmasterflash@xxxxxxxxx>
  • Date: Wed, 17 Dec 2008 01:27:32 -0800
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 17 Dec 2008 01:27:56 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=BAIWlDSCI3cs2TQdjch7FWvsY3mGZTEyRRpqz8//LE3rFcB5iCAjeFt5DnYPxRU4nt sehTC3jFQOASwQQAOZF5HX/EAQkyUNhlYy2GUtyJ0uB0lNHoKJvPhXcwyrDxTZZL7s+J lGwjgggzmo18FR2spjUq8bk+D2SrREs97KgJ4=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On Tue, Dec 16, 2008 at 11:24 PM, Wu Bingzheng <wubingzheng@xxxxxxx> wrote:
At `Xen Virtualization A Practical Handbook` page 85, Chapter 5, it says:
To configure the DomU with NAT, edit the xend-config.sxp as:
        (network-script 'network-bridge netdev=dummy0')

However, in that file, the comment says that:
173 ## Use the following if network traffic is routed, as an alternative to the
174 # settings for bridged networking given above.
175 #(network-script network-route)
176 #(vif-script     vif-route)

I have tried 2 ways, but both failed. There must be something else wrong (like iptables).
And that book was based on Xen 3.0, while I am working on Xen 3.3.
So I want to know which way should I follow?


That's telling xend to bring up the xen bridge with an IP in private address space and add the dummy0 network interface from Dom0  to it.
You could verify that this is happening by letting us see the output of ipconfig and brctl show after the machine has booted up and you've started one of your DomUs. Make sure the DomU config file lists the bridge to use.

Grant McWilliams

Some people, when confronted with a problem, think "I know, I'll use Windows."
Now they have two problems.
Xen-devel mailing list



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