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

    pfSense stopped recognising cable modem in bridged mode

    Scheduled Pinned Locked Moved General pfSense Questions
    16 Posts 5 Posters 2.1k 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.
    • J
      jpns
      last edited by

      OK, something really weird is going on here. I can't seem to hit the firewall through the WAN1 link even though it's up and working and pfSense is in the DMZ.

      When I try to VPN in through WAN1, I see this:

      Fri Nov 30 01:15:52 2018 TCP/UDP: Incoming packet rejected from [AF_INET]1.2.3.4:1194[2], expected peer address: [AF_INET]5.6.7.8:1194 (allow this incoming source address/port by removing --remote or adding --float)

      Where 1.2.3.4 is the WAN2 public IP, and 5.6.7.8 is the WAN1 public IP. I have no idea that would happen.

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Seems like your two WAN adapters have been switched for some reason.

        Steve

        J 1 Reply Last reply Reply Quote 0
        • J
          jpns @stephenw10
          last edited by

          @stephenw10 said in pfSense stopped recognising cable modem in bridged mode:

          Seems like your two WAN adapters have been switched for some reason.

          Steve

          How and why would that happen? WAN2 still works perfectly. It's only WAN1 which has stopped working

          1 Reply Last reply Reply Quote 0
          • JKnottJ
            JKnott
            last edited by

            @jpns said in pfSense stopped recognising cable modem in bridged mode:

            So it seems as though pfSense suddenly stopped recognising the modem in bridge mode.

            A modem in bridge mode is supposed to be transparent, so there's nothing to recognize. What's supposed to happen is the firewall is supposed to get it's address, etc. from the ISP.

            PfSense running on Qotom mini PC
            i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
            UniFi AC-Lite access point

            I haven't lost my mind. It's around here...somewhere...

            J 1 Reply Last reply Reply Quote 0
            • J
              jpns @JKnott
              last edited by

              @jknott said in pfSense stopped recognising cable modem in bridged mode:

              @jpns said in pfSense stopped recognising cable modem in bridged mode:

              So it seems as though pfSense suddenly stopped recognising the modem in bridge mode.

              A modem in bridge mode is supposed to be transparent, so there's nothing to recognize. What's supposed to happen is the firewall is supposed to get it's address, etc. from the ISP.

              Yes, you're right. But that has stopped happening now, and I assume the dhclient errors in the syslog are something to do with it, but I can't understand what they mean.

              I'm going to spin up a new VM with a fresh install of pfSense, and get it configured ready to drop in next time I'm on site. I suddenly remembered after I had left that I had a VM snapshot of the broken install from 2 weeks before the failure, which I'm going to try restoring first, but if that doesn't work I'll just delete it and bring the new one online. It would be really nice to figure out what the problem is, though.

              1 Reply Last reply Reply Quote 0
              • T
                tim.mcmanus
                last edited by

                Both WANs come into pfSense on one cable via two vLANs? Were there any changes on the switch?

                Were there any hardware changes/failures on the Dell host?

                What kind of NICs are on the host?

                I’ve had VMs go weird on me with USB adapters that have created situations like this. That’s why I am asking about the hardware.

                What version of ESXi are you running?

                J 1 Reply Last reply Reply Quote 0
                • J
                  jpns @tim.mcmanus
                  last edited by

                  @tim-mcmanus said in pfSense stopped recognising cable modem in bridged mode:

                  Both WANs come into pfSense on one cable via two vLANs? Were there any changes on the switch?

                  Were there any hardware changes/failures on the Dell host?

                  What kind of NICs are on the host?

                  I’ve had VMs go weird on me with USB adapters that have created situations like this. That’s why I am asking about the hardware.

                  What version of ESXi are you running?

                  Yes, the WANs come into the VM host on one cable via separate VLANs. The pfSense box only has two network cards, and I like to keep the LANs and the WANs on separate physical interfaces. WAN1 comes from the switch on VLAN20 and WAN2 comes from the switch on VLAN30 on the same cable. The VLANs are configured in VMware as the VLAN tags are stripped at the host unless you use virtual guest tagging which I was not aware of when I initially installed the box. It appears to pfSense as two separate physical interfaces. This configuration has always worked for me until now and there were no changes before it stopped working.

                  There were no changes on the switch and no hardware failures on the switch or server that I can tell. As soon as I switched the WAN1 modem to router mode, it worked. It just won't work with the modem in bridged mode.

                  I am using the onboard network cards in the host which I believe are Broadcom BCM5722's.

                  Running ESXi 6.5.

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    Run a packet capture on the WAN whilst trying to pull a lease. Do you see outgoing requests? Any replies at all?

                    The fact you were seeing incoming traffic from the WAN2 IP when connecting to WAN1 is suspect. Are you somehow outbound NATing traffic from the firewall itself? You should not have any outbound NAT rules with source 'any'.

                    Steve

                    1 Reply Last reply Reply Quote 0
                    • chpalmerC
                      chpalmer
                      last edited by

                      You are rebooting the cable modem with each change of an interface MAC address.. right??

                      Depending on how many MAC addresses your ISP allows you have to reboot to release.

                      Triggering snowflakes one by one..
                      Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

                      J 1 Reply Last reply Reply Quote 0
                      • J
                        jpns @chpalmer
                        last edited by

                        @chpalmer said in pfSense stopped recognising cable modem in bridged mode:

                        You are rebooting the cable modem with each change of an interface MAC address.. right??

                        Depending on how many MAC addresses your ISP allows you have to reboot to release.

                        Yes I am.

                        1 Reply Last reply Reply Quote 0
                        • T
                          tim.mcmanus
                          last edited by

                          Silly question: Do both cable modems go to the same ISP router as their first hop? Are they using the same ISP gateway?

                          J 1 Reply Last reply Reply Quote 0
                          • J
                            jpns @tim.mcmanus
                            last edited by

                            @tim-mcmanus said in pfSense stopped recognising cable modem in bridged mode:

                            Silly question: Do both cable modems go to the same ISP router as their first hop? Are they using the same ISP gateway?

                            No they are completely separate ISPs. WAN1 is an Arris TG2492LG-VM cable modem/router which I originally had in bridge mode. WAN2 is a Huawei HG633 VDSL modem/router which unfortunately doesn't have a working bridge mode.

                            1 Reply Last reply Reply Quote 0
                            • J
                              jpns
                              last edited by

                              Just as an update to this. I span up a new VM with a fresh install of pfSense. Copied most of the settings across so it was ready to 'drop in'. I visited the site two weeks ago, shut down the broken pfSense, and booted the new one. Power cycled the cable modem and immediately everything worked. Two weeks in and the cable modem is still recognised and working correctly. So I assume the problem was caused by some sort of corruption in the config file.

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