借鑒自https://blog.csdn.net/Garay_/article/details/82428461
博主寫得非常詳細,另外附上虛擬機vmnet的相關原理講解
https://blog.csdn.net/Adultf/article/details/7290999
以及centOS7在VMware上的安裝教程
https://www.cnblogs.com/wcwen1990/p/7630545.html
特別說明:在配置本機網絡配置時,本機和虛擬機中的VMnet8要保證在同一網段內,且ip不能重復,否則會ping不通。
謝謝!