Thiết lập cấu hình mạng trong VMWare Player

Như chúng ta đã biết hãng VMWARE đã cung cấp cho chúng ta một công cụ tuyệt vời để giải quyết vấn đề bản quyền của hệ điều hành và ứng dụng. Tuy nhiên VMware player (miễn phí) chỉ cung cấp cho chúng ta một số công cụ quản trị đơn giản, một vấn đề nảy sinh là khi dùng VMware player các bạn không thể nào cấu hình NAT… cho máy ảo sử dụng. Nhưng may thay một số thành viên đã giải quyết vấn đề này. Tôi xin trích nguyên văn đoạn blog dưới đây, nếu bạn gặp vấn đề tương tự thì có cách giải quyết.

I updated VMware Player to the latest version (3.0) on my home machine last night[1]. Wanted to check out the latest version and get a first hand look at the new features.

I pointed it to my trusty Xubuntu “security” virtual machine and booted up. I ran into a snag pretty quickly though. Seemed that the client couldn’t get an IP address to get on the network.

I’ve seen and fixed this before. VMware Player seems to like to grab my Hamachi “personal VPN” network adapters instead of the local Ethernet one – it will never get an IP from the Hamachi network!

That’s when I hit the next snag: the new version of VMware Player doesn’t include the vmnetcfg network configuration that I’ve always used to fix this in the past. I poked around a bit but it wasn’t there and I didn’t see anything that looked like a replacement.

I ended up fixing this in a bit more of a low-tech fashion. I simply disabled the Hamachi adapter and then booted the VMware client. Client got an IP and I then re-enabled the Hamachi adapter.

Disabling a network adapter

Of course, after my low-tech solution I went looking for better options… Turns out I’m not the first one to notice that vmnetcfg went missing. I found discussion and the answer.

The vmnetcfg.exe is included in the installer, but won’t be installed.
1. Run the installer with /e option. For example:
VMware-player-3.0.0-197124.exe /e .\extract
All contents will be extracted to “extract” folder.
2. Open “” and copy vmnetcfg.exe to your installation folder,
typically “C:\Program Files\VMware\VMware Player\”.



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s