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

[Xen-devel] Configure DomU with NAT

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Configure DomU with NAT
From: "Wu Bingzheng" <wubingzheng@xxxxxxx>
Date: Wed, 17 Dec 2008 15:24:54 +0800 (CST)
Delivery-date: Tue, 16 Dec 2008 23:25:31 -0800
Envelope-to: www-data@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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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




[广告] 重奖 悬赏kfc3v3 球衣
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>