The following settings are passed under the Host:winpro SP2 GUEST:RH9 environment. First in the setting, the virtual machine's NIC is set to Host-only.
(1) Check the properties of your network card connected to the network, select the "Advanced" tab, set it to allow sharing, and set the allowed network interface to VMNET1.
(2) again to look at the properties of your VMnet1, look at the TCP/IP protocol settings, you found that has been automatically set to 192.168.0.1/255.255.255.0.
(3) The setup of Windows is completed and transferred to the virtual machine running Linux. Set your eth0 IP address to static (if static is not selected at installation)
by Red Hat icon-> System Setup-> Network (or other methods you know)
ip:192.168.0.2 (or other address on this network segment)
netmask:255.255.255.0
Default gateway:192.168.0.1
DNS: Enter your own DNS
Save the settings. If you have not set the host name:
Cd/etc/sysconfig
VI Network
Edit hostname
Cd/etc
VI hosts
Join:
192.168.0.2 Yourhostname
Restart Service
Su
/sbin/service Network Restart
(4) test
Gateway: Ping 192.168.0.1
Dns:ping DNSServer