project : Vmware Network
instruction: because of my network have bind the MAC number and IP address, so if make the both host and vmware system
able to connect to Internet, it must tweak vmware network configure for it.
(1) case analyze : my Vmware system have installed Redhead 9.0 and host sytem is winXP, make the both can connect to Internet.
(2) Vmware Configure: Vmware provides 3 types of networking, as bellow:
BRIGE : it's equal to make the virtual machine connect Internet as PC host.(make the network adapter work as promiscuous mode)
but it just only use differ IP for both host and virtual machine.
NAT : NAT gives a virtual machine access to network resources using the host computer's IP address. It is easy to understand that
the NAT networking in VM if you have an experience of NAT networking configuration. The subnet in the virtual machine is
different of host's subnet. Then the NAT map was done by the virtual hardware VM-net8. (so i choose this mode for mine)
Host-Only : this mode just only for virtual machine connect to Host PC, and you must configure the virtual machine IP address the
same sub-net as VMnet1 of your host.
(Note: Don't change the VMnet1 and VMnet8's ip address, if changed it doesn't not work at all.)
(3) Use DHCP connect to Internet from my virtual machine, but it doesn't work at all, and use "ping " in return
"ping: unknown host ", but can ping my host PC, so it should configure the DNS for my virtual machine. after config DNS done,
everything goes all right.
(4) fllowing is my private configure for my virtual machine (redhat9.0)
host system: window XP
ipconfig /all
Ethernet adapter VMware Network Adapter VMnet8:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet8
Physical Address. . . . . . . . . : 00-50-56-C0-00-08
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.115.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Ethernet adapter VMware Network Adapter VMnet1:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet1
Physical Address. . . . . . . . . : 00-50-56-C0-00-01
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.142.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
===========================================================================================
virtual machine : redhat 9.0
config virtual machine IP address:
;;my virtual machine is Redhat
IP Address. . . . . . . . . . . . : 192.168.115.*
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.115.2
(Note: Default Gateway should be 2)
===========================================================================================
阅读(1465) | 评论(0) | 转发(0) |