Changing vmware vmnet bridged physical network interface
Last Updated on Friday, 01 April 2011 18:17
Question:
How do I change vmware bridged vmnet interface from eth0 to wlan0?
Answer:
During the vmware installation / configuration the vmware-config.pl script asks:
Your computer has multiple ethernet network interfaces available: eth0, eth1. Which one do you want to bridge to vmnet0? [eth0]
This configuration actually refers to a vmware configuration file /etc/vmware/locations.
Therefore if we want to re-bridge the physical network interface pointed to vmnet we need to only change this file to accomplish this task. Let's say our current vmnet bridget network interface is eth0 and we want to change it to wlan0.
# grep eth0 /etc/vmware/locations answer VNET_0_INTERFACE eth0 answer VNET_0_INTERFACE eth0
Change above lines to:
answer VNET_0_INTERFACE wlan0 answer VNET_0_INTERFACE wlan0
when ready restart vmware:
# /etc/init.d/vmware restart
















