I've installed centos in a vmware vm in attempt to learn more about system administration. Unfortunately, I was unable to ping the host machine (win7) from the vm or vice versa, even though a third computer on the network was able to ping both. After disabling the firewalls and spending the last 5 hours looking on Google, I was still unable to ping between the host and guest.
Per the suggestions from a thread I found about others having a similar problem, I made changes to the ifcfg-eth0 file. Unfortunately, I didn't save a copy of the file before I made the changes and now I have a corrupted network setup and am not seeing the eth0 device.
Though I'd like to solve this problem and the pinging problem, my question here is: How am I supposed to recover from making changes like these? I have no idea how to get myself back to a working configuration from here.
I'm sure an experienced systems administrator wouldn't make mistakes like these, especially without making copies of the files in advance, but assuming a mistake did occur, what's the recourse?