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

    Issue adding interfaces under ESXi

    Scheduled Pinned Locked Moved Virtualization
    14 Posts 7 Posters 2.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.
    • KOMK
      KOM
      last edited by

      I've never had any such problems with pfSense & ESXi, but I always add & configure in this order: WAN, LAN, OPT1, OPT2…

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

        I normally setup specific mac for my interfaces in esxi so I know for SURE which one is suppose to be which and not have to worry about order they come up, etc..

        I could prob get more creative in the numbers ;)  But this makes it real simple, so as long as someone else on my isp and on my same network gets the bright idea of using the same exact mac I won't have any issues with that 00:00:01 ;)  But then again im on 24/7/365 and its working.. So they are the ones that would have the problem if they tried to use that same mac.

        em0: flags=8843 <up,broadcast,running,simplex,multicast>metric 0 mtu 1500
                options=9b <rxcsum,txcsum,vlan_mtu,vlan_hwtagging,vlan_hwcsum>ether 00:50:56:00:00:01

        em1: flags=8843 <up,broadcast,running,simplex,multicast>metric 0 mtu 1500
                options=9b <rxcsum,txcsum,vlan_mtu,vlan_hwtagging,vlan_hwcsum>ether 00:50:56:00:00:02

        em2: flags=8843 <up,broadcast,running,simplex,multicast>metric 0 mtu 1500
                options=9b <rxcsum,txcsum,vlan_mtu,vlan_hwtagging,vlan_hwcsum>ether 00:50:56:00:00:03

        em3: flags=8843 <up,broadcast,running,simplex,multicast>metric 0 mtu 1500
                options=9b <rxcsum,txcsum,vlan_mtu,vlan_hwtagging,vlan_hwcsum>ether 00:50:56:00:00:04</rxcsum,txcsum,vlan_mtu,vlan_hwtagging,vlan_hwcsum></up,broadcast,running,simplex,multicast></rxcsum,txcsum,vlan_mtu,vlan_hwtagging,vlan_hwcsum></up,broadcast,running,simplex,multicast></rxcsum,txcsum,vlan_mtu,vlan_hwtagging,vlan_hwcsum></up,broadcast,running,simplex,multicast></rxcsum,txcsum,vlan_mtu,vlan_hwtagging,vlan_hwcsum></up,broadcast,running,simplex,multicast>

        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
        • KOMK
          KOM
          last edited by

          I normally setup specific mac for my interfaces in esxi so I know for SURE which one is suppose to be which

          em0 = :01
          em1 = :02
          em2 = :03

          Clear as mud…  ;D

          Reminds me of when I was supporting optical jukebox software.  The developers in their wisdom decided to index the jukebox shelves starting at 1, but index the drives starting at 0.  So when you read an event log message saying that drive 2 had a problem with the media in shelf 34, you had to try and remember, was that really drive 2 shelf 34, or drive 2 shelf 35, or drive 3 shelf 34, or drive 3 shelf 35...

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

            Well you can not use 0 for a mac, not that I am aware of?  Maybe you could ;)

            Yeah interfaces always start at 0.. But its simple enough for me to look in esxi on which interface is on which vswitch, and then just easy numbers 1,2,3,4 to look at.

            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
            • KOMK
              KOM
              last edited by

              Well you can not use 0 for a mac, not that I am aware of?

              Do I have to think of everything?  Obviously, the solution is to not have an em0…

              1 Reply Last reply Reply Quote 0
              • M
                MikeKulls
                last edited by

                Can't you use 00:00:00 for the last 6 digits?

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

                  Maybe you can - will give it a try when get a chance.. That would make numbers match up.. How do not have a 0 interface though?  I don't think that is possible either.  Other than having one and not using it ;)

                  But could also just change to A,B,C and D for the last of the mac address - just need something that is very easy to see which one is which so can make sure pick the right one when setting up pfsense..

                  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
                  • KOMK
                    KOM
                    last edited by

                    How do not have a 0 interface though?  I don't think that is possible either.

                    It was a joke.

                    1 Reply Last reply Reply Quote 0
                    • L
                      l4k3k3m4n
                      last edited by

                      I have the same problem, when I add a new interface and reboot the order is mixed and I have to manually remap everything.
                      Is there a fix to this problem?

                      Another question:

                      Is it better to use multiple untagged interfaces in pfsense and do the VLAN separation on ESX vswitch ?
                      Or just use one trunked interface on ESX vswitch and create VLAN interfaces in pfsense?

                      Thanks.

                      1 Reply Last reply Reply Quote 0
                      • H
                        heper
                        last edited by

                        personally i just trunk it straight in the VM and play with vlans inside the VM.
                        no clue if there's any performance difference in doing the tagging/untagging on the esx level.

                        i find it easier to manage, by doing vlans in pfsense. This also solves the adding/removing interfaces "regulary'. (i don't add/remove physical/virtual interfaces a lot. i do regulary need more or less vlans)

                        1 Reply Last reply Reply Quote 0
                        • S
                          sebyp
                          last edited by

                          Hi there gents,

                          I'm experiencing the same issue here, after I'm adding a new "physical" (from pfSense's point of view) interface things go kaboom!

                          I've been thinking about using VLAN's as well, but my only question is: will it work on multiple hosts?

                          I have a pretty straight setup with two hosts, connected via switches. Of course, for inter-host communication I'm mapping the virtual networks to VLANS.

                          Is there a possibility to add "virtual dot1q tags" inside the actual virtual networks?

                          Thanks,
                          Sebastian

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