From: "Wu Bingzheng" Subject: Configure DomU with NAT Date: Wed, 17 Dec 2008 15:24:54 +0800 (CST) Message-ID: <15062272.442911229498694139.JavaMail.coremail@bj163app122.163.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1187306268==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1187306268== Content-Type: multipart/alternative; boundary="----=_Part_120299_8433840.1229498694138" ------=_Part_120299_8433840.1229498694138 Content-Type: text/plain; charset=gbk Content-Transfer-Encoding: 7bit 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 ------=_Part_120299_8433840.1229498694138 Content-Type: text/html; charset=gbk Content-Transfer-Encoding: quoted-printable At `Xen Virtualization A Practical Handbook` page 85, Chapter 5, it says:To configure the DomU with NAT, edit the xend-config.sxp as:
 &nb= sp;      (network-script 'network-bridge netdev=3D= dummy0')

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

= I have tried 2 ways, but both failed. There must be something else wrong (l= ike 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



=20
[=B9=E3=B8=E6] =D6=D8=BD=B1 =D0=FC=C9=CDkfc3= v3 =C7=F2=D2=C2 ------=_Part_120299_8433840.1229498694138-- --===============1187306268== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1187306268==--