Ifconfig displays redhat4 network configuration is as follows:

Vi/etc/sysconfig/network - scripts/ifcfg - eth0 is as follows:

Vi/etc/hosts are as follows:

Check the network under Windows 7 is as follows:

The vm network is as follows:

Vnet8 is as follows:

Vnet8 NAsetting is as follows:

CodePudding user response:
Alas, his answer, the details of the dog blood ~ ~ ~ ~Because I am using vnet8, vm network Settings at the bottom of the edit, view the vnet8 Settings, for NAT, check the vm Settings under the network Settings inside the TAB, is host - only, to NAT, in the form of problem solving, because of the vm is not very understanding, such a simple question stumped me N days, alas ~ ~ ~ what to say, what is there to say? ~ ~ ~ ~ learn more at ordinary times how important it is, how important!!!!!!