Update
Please take note that this question has nothing to do with Renaming my wlan network interface
That question doesn't have anything to do with VMware Workstation
My Question is related to Linux Guest OS inside VMware Workstation
I have Linux installed in VMware Workstation with 3 network interfaces.
To make it easier to read, I have assigned 3rd octet of the IP Address based on VMnet ID.
VMnet1 - 172.31.1.0/24
VMnet2 - 172.31.2.0/24
VMnet3 - 172.31.3.0/24
The setting of VMware Virtual Network Editor is as follows:
Virtual Machine Settings
DHCP is used in this setup.
When I run ifconfig
, I found that
eth0 assigned to VMnet2 network
eth1 assigned to VMnet3 network
eth2 assigned to VMnet1 network
I'm not sure why VMware assign it this way.
user@linux:~$ ifconfig | grep ad
eth0 Link encap:Ethernet HWaddr 00:0C:29:AA:AA:A0
inet addr:172.31.2.23 Bcast:172.31.2.255 Mask:255.255.255.0
eth1 Link encap:Ethernet HWaddr 00:0C:29:AA:AA:A1
inet addr:172.31.3.22 Bcast:172.31.3.255 Mask:255.255.255.0
eth2 Link encap:Ethernet HWaddr 00:0C:29:AA:AA:A2
inet addr:172.31.1.24 Bcast:172.31.1.255 Mask:255.255.255.0
user@linux:~$
Is it possible to change it?
I would like to get something like this ...
eth1 assigned to VMnet1 network
eth2 assigned to VMnet2 network
eth0 assigned to VMnet3 network