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

No connection to virtualized pfSense after add and reboot a 2nd WAN interface

Scheduled Pinned Locked Moved Routing and Multi WAN
33 Posts 3 Posters 5.5k 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.
  • D
    DenBir
    last edited by Feb 19, 2023, 6:25 PM

    Hello, I use pfSense 2.60 in a virtualized (Proxmox) environment. I use at the moment 1 Management and one WAN (dynamic IPv4 from ISP) interface.
    All works fine.

    I've got now a new FTTH fiber connection from another ISP with a dynamic IPv6 ip address (PPPoE).

    Goal:
    Use both WAN interfaces and use load balancing over pfSense (is this possible with IPv4 and IPv6?).

    Steps for the 2nd WAN interface:

    • new Linux Bridge Port on Proxmox
    • add virtIO bridge Network interface with VLAN 22 on pfSense

    Config on pfSense:

    • add new Interface IPv4 (PPPoE) / IPv6 (DHCP6)

    If I then restart the pfSense then I've no connection to the pfSense (from Management). Only If I remove the new virtIO bridge in Proxmox and make a reboot then I've access again.

    If I make no restart I can use the new 2nd WAN interface. The interface comes online and I got the right IPv6 from the ISP.
    I can also make a Speedtest from pfSense and can observe that both interfaces were used.

    But if I restart the pfSense then I've no connection.
    I don't understand this behavior.

    N 1 Reply Last reply Feb 19, 2023, 9:01 PM Reply Quote 0
    • N
      NightlyShark @DenBir
      last edited by Feb 19, 2023, 9:01 PM

      @denbir In virtual environments the names of the virtual adapters can get messed up. Did you try VNCing from Proxmox after the restart and see the output?

      1 Reply Last reply Reply Quote 0
      • D
        DenBir
        last edited by DenBir Feb 19, 2023, 9:10 PM Feb 19, 2023, 9:06 PM

        @nightlyshark VNCing? Do you mean the native Console from Proxmox? Yes, the adapter looks the right one.

        N 1 Reply Last reply Feb 19, 2023, 9:31 PM Reply Quote 0
        • N
          NightlyShark @DenBir
          last edited by Feb 19, 2023, 9:31 PM

          @denbir Maybe try it in steps? Eg, first create the virtio iface -> reboot. Assign it to a PfSense WAN2 iface->reboot. DHCP, a-reboot. This is what I had to do in order to setup the virtio ifaces, only from a TrueNAS host (behyve hypervisor).

          1 Reply Last reply Reply Quote 0
          • D
            DenBir
            last edited by DenBir Feb 20, 2023, 7:24 PM Feb 20, 2023, 7:21 PM

            After I add the new virtIO Network Device bridge (net1) on the pfSense VM and make a reboot then is no connection possible.

            bce2e33d-98dd-45f7-979e-a5e3a9c555bd-image.png

            a5445427-00d4-4787-a686-6df32a5e7a54-image.png

            The new created interface is also on the pfSense disabled but is assigned.
            b6e4313e-29ff-4bae-8238-c3ede6fb3f7c-image.png

            N 1 Reply Last reply Feb 20, 2023, 11:29 PM Reply Quote 0
            • N
              NightlyShark @DenBir
              last edited by Feb 20, 2023, 11:29 PM

              @denbir That iface (net1) seems to have a VLAN tag configured, hypervisor side. Maybe try without the VLAN tag? I believe that needs to be configured pfsense-side (vtnet (net1) <- VLAN 22 (configured on the iface for vtnet) <- PPPoE (configured on the iface for VLAN 22).

              D 1 Reply Last reply Feb 21, 2023, 11:09 AM Reply Quote 0
              • D
                DenBir @NightlyShark
                last edited by Feb 21, 2023, 11:09 AM

                @nightlyshark Looks better. I've removed the VLAN tag on the Hypervisor and after a reboot the connection could be again established.
                Also with an enabled interface.

                N 1 Reply Last reply Feb 21, 2023, 3:45 PM Reply Quote 1
                • N
                  NightlyShark @DenBir
                  last edited by Feb 21, 2023, 3:45 PM

                  @denbir Configuring the VLAN tag 22 on the hypervisor, means only packets with a VLAN tag of 22 pass to the net1->virtio from the hypervisor vswitch. Just in case you ever need to configure it like this.

                  D 2 Replies Last reply Feb 21, 2023, 5:29 PM Reply Quote 0
                  • D
                    DenBir @NightlyShark
                    last edited by Feb 21, 2023, 5:29 PM

                    @nightlyshark OK but VLAN 22 is necessary from the ISP. That is why is configured on the Hypervisor. I'll try this on the pfSense direct to configure VLAN 22 for the 2nd WAN port.

                    N 2 Replies Last reply Feb 21, 2023, 5:50 PM Reply Quote 0
                    • N
                      NightlyShark @DenBir
                      last edited by NightlyShark Feb 21, 2023, 5:56 PM Feb 21, 2023, 5:50 PM

                      @denbir Just had a thought, did you set vmbr2 as VLAN-aware?

                      1 Reply Last reply Reply Quote 0
                      • N
                        NightlyShark @DenBir
                        last edited by Feb 21, 2023, 5:50 PM

                        @denbir
                        77606a5c-f236-412d-bcf4-c10d7c94425b-image.png

                        D 1 Reply Last reply Feb 21, 2023, 5:56 PM Reply Quote 0
                        • D
                          DenBir @NightlyShark
                          last edited by Feb 21, 2023, 5:56 PM

                          @nightlyshark Yes, VLAN aware was already configured.

                          N 3 Replies Last reply Feb 21, 2023, 6:02 PM Reply Quote 0
                          • N
                            NightlyShark @DenBir
                            last edited by Feb 21, 2023, 6:02 PM

                            @denbir I don't know enough about proxmox to be of help there, but there must be a way to untag the VLAN 22 packets before they reach pfsense, which would only do PPPoE without being aware of a VLAN.

                            Or just pass-through an adapter as hardware to pfsense and connect from there? In case your hardware allows you to, of course. This would also greatly improve pfsense performance, as it uses hardware capabilities of network adapters heavily.

                            D 1 Reply Last reply Feb 21, 2023, 6:39 PM Reply Quote 0
                            • N
                              NightlyShark @DenBir
                              last edited by Feb 21, 2023, 6:03 PM

                              @denbir Could it be an MTU of proxmox bridge vs MTU of net1 on pfsense issue?

                              1 Reply Last reply Reply Quote 0
                              • N
                                NightlyShark @DenBir
                                last edited by Feb 21, 2023, 6:12 PM

                                @denbir I think the VLAN needs to also be configured (in proxmox) on the physical adapter that connects to the FTTH modem as a tagged VLAN, in order to create a trunk between the FTTH modem and pfsense because the path is:
                                FTTH ether -> Trunk for VLAN 22
                                Physical adapter on server running proxmox (VLAN aware?)
                                proxmox bridge for net1 (yes VLAN aware, as you said)
                                PfSense VirtIO iface (configure a VLAN with tag 22 on it)

                                If the chain is broken in any adapter, all VLAN 22 packets are likely to be dropped.

                                D 2 Replies Last reply Feb 21, 2023, 6:49 PM Reply Quote 0
                                • D
                                  DenBir @NightlyShark
                                  last edited by Feb 21, 2023, 6:39 PM

                                  @nightlyshark Pass-through is not possible because in the Server is only one hardware NIC with 4 integrated ports. If I understand this correct then can I use only dedicated Hardware for pass-through.

                                  G 1 Reply Last reply Feb 24, 2023, 12:06 PM Reply Quote 0
                                  • D
                                    DenBir @NightlyShark
                                    last edited by Feb 21, 2023, 6:49 PM

                                    @nightlyshark I don't understand this behavior regarding the VLAN for 2nd WAN interface. I use in Proxmox with 3 interfaces.
                                    Interface 1 for Management
                                    Interface 2 for 1st Wan port and the new 2nd interface for 2nd Wan port with VLAN 22.
                                    The 2nd Wan interface config should independent from the Management interface but this is not so.

                                    1 Reply Last reply Reply Quote 0
                                    • D
                                      DenBir @NightlyShark
                                      last edited by Feb 21, 2023, 7:00 PM

                                      This post is deleted!
                                      1 Reply Last reply Reply Quote 0
                                      • D
                                        DenBir @NightlyShark
                                        last edited by Feb 21, 2023, 7:29 PM

                                        @nightlyshark Sorry, this info was wrong. I've tested the config again and already after I add the new 2nd wan interface on the pfSense VM (with or without VLAN) after this step and and a reboot then is the pfSense not available.

                                        N 1 Reply Last reply Feb 21, 2023, 9:12 PM Reply Quote 0
                                        • N
                                          NightlyShark @DenBir
                                          last edited by Feb 21, 2023, 9:12 PM

                                          @denbir Sorry for the delay. Did you enable the VLAN tag on the physical NIC that connects FTTH with proxmox?

                                          D 1 Reply Last reply Feb 21, 2023, 9:40 PM Reply Quote 0
                                          20 out of 33
                                          • First post
                                            20/33
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received