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 -
VMnet2 -
VMnet3 -

The setting of VMware Virtual Network Editor is as follows:

Virtual Network Editor

Virtual Machine Settings

enter image description here

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:  Bcast:  Mask:

eth1      Link encap:Ethernet  HWaddr 00:0C:29:AA:AA:A1
          inet addr:  Bcast:  Mask:

eth2      Link encap:Ethernet  HWaddr 00:0C:29:AA:AA:A2  
          inet addr:  Bcast:  Mask:


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
  • 1
    There is no relation between the number of the "Network Adapter" in VMWare and the number of eth interface inside the virtual machine. You can use udev rules to give custom names to your interfaces, using mac addresses to recognize them. I voted to close this question as a duplicate of many others.
    – andcoz
    Sep 5, 2018 at 8:14
  • Erkk .. there is ... if you set 5 "Network Adapter" interfaces in VMWare , then you'll get 5 interfaces as well ... eth0, eth1, eth2, eth3, eth4. Are you sure you're using VMware Workstation and Linux?
    – user264359
    Sep 5, 2018 at 8:36
  • the wlan issue not related to this at all ...
    – user264359
    Sep 5, 2018 at 8:37
  • Another question on the same issue: Udev : renaming my network interface
    – andcoz
    Sep 5, 2018 at 8:47
  • 2
    @Sabrina SO ... it isn't very welcoming. Your conception of voting (here, at SO/SE) appears misguided. Voting without comment or justification is perfectly acceptable here. Votes (up or down) just reflect whether the voter finds the post particularly useful or not. Your implicit expectation that a downvote must be accompanied by a suggestion for improvement has simply no foundation. You should not take votes as something personal. Sep 5, 2018 at 9:40


You must log in to answer this question.