2011年1月10日星期一

zz[VMware]NAT网段的Gateway设置

昨天找了台linux redhat ent 5 的VMware Image,结果发现NAT方式下怎么也ping不通外网,捣鼓了一番,结果是因为我自己把NAT 的Gateway改成了外面的HostIP。

查了一下VMware的Doc : http://www.vmware.com/support/ws45/doc/network_nat_details_ws.html
才知道,“IP address <net>.1 is reserved for the host adapter; <net>.2 is reserved for the NAT device.”。
另外,一直奇怪为什么NAT 网段DHCP分配IP总是从128开始,原来是VM体贴的考量:P addresses <net>.3 through <net>.127 can be used for static IP addresses.

想当然害死人,有事还是多查文档。。。
 

没有评论:

发表评论