|
回复 #22 lufumin1832 的帖子
By default, some of the VMnet switches have specific functions:
VMnet0 is dedicated to bridged mode,
VMnet1 is dedicated to Host Only mode,
VMnet8 is for NAT (Network Address Translation) mode.
The others, VMnet2 - VMnet7, are available to be used by the VM when using Custom networking mode.
If you are using vmnet8, you already got the NAT (aka vmnet8 acts as your vm's gateway to internet), so you don't need the iptables stuff any more.
VMnet1 is host-only adapter, if this case you can't access the outside without iptables in your host OS.
In early versions, if you are using vmware NAT mode, you can't access the vm's ip address from your host, but with the lastest version , there is no such limitation. |
|