Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    ESXi 6.0: Change from E1000 to VMXNET 3?

    Scheduled Pinned Locked Moved Virtualization
    7 Posts 4 Posters 3.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      riahc3 Banned
      last edited by

      Hello

      I wanted to change my LAN and WAN adapter from E1000 to VMXNET 3 to squeeze some extra performance out.

      I thought simply removing the adapters and adding them as VMXNET 3 is enough. pfSense booted up, detected the change and when I was going to configure it, it doesnt detect the link up/down when configuring for example the WAN interface.

      How should I do this?

      1 Reply Last reply Reply Quote 0
      • KOMK
        KOM
        last edited by

        I would do a fresh install:

        Make an XML backup of your settings via WebGUI
        Blow away your E1000s and add however many VMXNET3 NICs you need
        Reinstall pfSense with all defaults
        Edit your config XML and do a find/replace on all instances of em0 to vmx0, em1 to vmx1, em2 to vmx2 etc.
        Restore your pfSense config via WebGUI
        Reboot pfSense

        This may not be an optimal solution if you have lots of packages installed and configured.

        1 Reply Last reply Reply Quote 0
        • R
          riahc3 Banned
          last edited by

          @KOM:

          I would do a fresh install:

          Make an XML backup of your settings via WebGUI
          Blow away your E1000s and add however many VMXNET3 NICs you need
          Reinstall pfSense with all defaults
          Edit your config XML and do a find/replace on all instances of em0 to vmx0, em1 to vmx1, em2 to vmx2 etc.
          Restore your pfSense config via WebGUI
          Reboot pfSense

          This may not be an optimal solution if you have lots of packages installed and configured.

          So basically if I edit the XML config file, I should be able to do it?

          The thing is that pfSense SEES vmx0 and etc but it doesnt do anything when I plug in/plug out ethernet.

          1 Reply Last reply Reply Quote 0
          • C
            cmb
            last edited by

            The link status detection not likely to work in a VM, just manually assign the NICs.

            1 Reply Last reply Reply Quote 0
            • R
              riahc3 Banned
              last edited by

              @cmb:

              The link status detection not likely to work in a VM, just manually assign the NICs.

              Could have sworn it worked with E1000…....

              Well, I imagine from a logic level that the first NIC that appears is the one I have as "Network Adapter 1" in my ESXi and the second NIC that appears is the one I have as "Network Adapter 2" right?

              The reason I was looking for link detection is to make sure I dont confuse the interfaces.

              1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator
                last edited by

                The easy way not to confuse the interfaces is just look at the mac for the nic in esxi.. I just set them so I know what they are ;)

                [2.2.1-RELEASE][root@pfSense.local.lan]/root: ifconfig | grep ether
                        ether 00:50:56:00:00:01
                        ether 00:50:56:00:00:02
                        ether 00:50:56:00:00:03
                        ether 00:50:56:00:00:04

                So when I go to assign interfaces in pfsense its very clear what is what.. Now I guess if someone had the same idea and was running vmware and set that same 0001 address on their wan mac I might have some problems getting an IP from my isp..  But hasn't happened so far..  And if does just change it, etc.

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.8, 24.11

                1 Reply Last reply Reply Quote 0
                • R
                  riahc3 Banned
                  last edited by

                  @johnpoz:

                  The easy way not to confuse the interfaces is just look at the mac for the nic in esxi.. I just set them so I know what they are ;)

                  [2.2.1-RELEASE][root@pfSense.local.lan]/root: ifconfig | grep ether
                          ether 00:50:56:00:00:01
                          ether 00:50:56:00:00:02
                          ether 00:50:56:00:00:03
                          ether 00:50:56:00:00:04

                  So when I go to assign interfaces in pfsense its very clear what is what.. Now I guess if someone had the same idea and was running vmware and set that same 0001 address on their wan mac I might have some problems getting an IP from my isp..  But hasn't happened so far..  And if does just change it, etc.

                  You just gave me a easy solution to a problem I was making difficult.

                  Thanks as always :)

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.