WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Configure DomU with NAT

To: "Wu Bingzheng" <wubingzheng@xxxxxxx>
Subject: Re: [Xen-devel] Configure DomU with NAT
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=MXGiXyDnq68Crg32M56KUzvmD/ZMSgqDi/4FAUSviJQ=; b=vnsPseoJCXl7UKuSXwsg225Qp3cLCkLR1gTqmYgNEJvoy0igefp96GzKyEA+mv3san avC0V79ZZcKytiuu8i60zXpXU/JsWKcfYlRmCSAQBsYhie85n05uDudQCAxvqW5JPUjn oA01+anbz51bwdRKng1G/d84Ne8siYXfuQue8=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <15062272.442911229498694139.JavaMail.coremail@xxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <15062272.442911229498694139.JavaMail.coremail@xxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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?

Thanks,
Wu


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
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>