Environment
Red Hat Linux 9 + Windows 7 Ultimate
Problem
Red Hat Linux 9 network configuration via NAT
Solve
1. View the IP addresses of all Windows network adapters---------> Input ipconfig/all (Note that VMware Net 8 is enabled)---------> View the IP addresses of VMware Net 8. Here is 192.168.223.1;
2. Enter the Linux---------> System settings---------> Network---------> select eth0---------> Edit---------> select "Statically Set IP address"--------- The > address is set to resemble the IP address of the VMware Net 8, the last one is set to all digits except 0, 1, 2, 255, and the subnet mask is set to 255.255.255.0, and the default gateway address is set to 192.168.223.2---------> Determine
3. DNS---------> Primary DNS is set to Windows DNS;
4. Select eth0---------> Remove---------> activate;
5. Now the two sides ping each other, check whether the configuration success;
Ping windows under Linux, enter the IP address for VMware Net 8 under Windows:
Ping Linux under Windows, enter the IP address configured under Linux:
6. Open the browser under Linux, experience the fun of surfing the Internet under Linux!
Description
Linux Ping Windowsip address will continue to ping, while holding down CTRL +c can stop.