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

    Second LAN not working

    Scheduled Pinned Locked Moved General pfSense Questions
    11 Posts 2 Posters 1.2k Views 2 Watching
    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 Offline
      KOM @the_only
      last edited by

      @the_only Don't you have to create another vSwitch, map your NIC1 to it, then use that network for your VM's OPT1 NIC? And why are you using 192.160.0.0 subnet? That's not rfc1918 address space.

      T 1 Reply Last reply Reply Quote 0
      • T Offline
        the_only @KOM
        last edited by

        why are you using 192.160.0.0

        Ah, that's a typo — I did not make this mistake in pfSense, and have updated the OP. Thanks!

        Don't you have to create another vSwitch, map your NIC1…

        Like NIC0/WAN, I did not bother creating a vSwitch for NIC1/OPT1 since it's only going to have one device attached to it.

        (In any case, if I assign NIC1 to LAN and VMX0 to OPT1, then NIC1 has connectivity and the virtual interface doesn't. My issue is not a hardware one; it's in getting OPT1 per se to work.)

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

          @the_only I've always used switches per port or port group and I've never had any problems with interfaces. How do you even map a specific NIC to a VM without using a switch?

          T 1 Reply Last reply Reply Quote 0
          • T Offline
            the_only @KOM
            last edited by the_only

            @kom said in Second LAN not working:

            How do you even map a specific NIC to a VM without using a switch?

            The thick green lines in the diagram denote PCIe passthroughs.


            The catch is, NIC1 works perfectly when I assign it to be the LAN, but when I do that, I then can't get connectivity for the VMs on vmx0/vSwitch0/OPT1.

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

              @the_only I wondered if you were using NIC passthrough but I don't know much about that as I've never used it. It sounds from your description that you've done everything correctly. Next step is to post screenshots of your OPT1 config and rules to make sure you did what you think you did.

              T 1 Reply Last reply Reply Quote 1
              • T Offline
                the_only @KOM
                last edited by the_only

                Next step is to post screenshots…to make sure you did what you think you did

                Roger that:

                Screen Shot 2021-05-16 at 08.36.31.png Screen Shot 2021-05-16 at 08.37.10.png Screen Shot 2021-05-16 at 08.37.26.png

                (I have done this fresh from a factory-reset installation to ensure no config cruft could have gathered, a few times, and I could not figure out why it's not working.)

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

                  @the_only That all looks good to me. Do you actively use IPv6?

                  T 1 Reply Last reply Reply Quote 0
                  • T Offline
                    the_only @KOM
                    last edited by

                    @kom Not particularly at this time, but…

                    I found the problem (leaving it unspoilered for quick notice of those skimming this thread):

                    Screenshot from 2021-05-15 08-48-26.png

                    Changing that to OPT1 net fixed it: the interface and network don't automatically get linked, you have to change them both when copying the rule.

                    KOMK T 2 Replies Last reply Reply Quote 0
                    • KOMK Offline
                      KOM @the_only
                      last edited by

                      @the_only I thought you still had NIC1 plugged into LAN, not OPT1. Glad it's working for you now.

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        the_only @the_only
                        last edited by

                        🔒 Log in to view

                        Wow, apparently Netgate login-gates images.

                        For logged-out users, here's what firewall rule you've got to create (I recommend clicking the "Copy" icon on the existing rule on the LAN tab):

                        • Action: Pass
                        • Interface: OPT1
                        • Address Family: Any (IPv4+IPv6)
                        • Protocol: Any
                        • Source: OPT1 net [this is what I'd forgotten to set]
                        • Destination: any
                        • Description: Default allow LAN to any rule
                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.