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

    Interface does not detect when WAN is back up, How can that be?

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 3 Posters 347 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.
    • O
      overpf
      last edited by

      Hi,

      I'm running pfsense in a vm. As a test, I pull out the WAN cable, reboot pfsense, wait for a while before plugging the WAN cable back in.

      The WAN does not come back on even after hours, only if I reboot pfsense when WAN is active. Is that normal behavior?

      1 Reply Last reply Reply Quote 0
      • K
        kpa
        last edited by

        Most likely pulling the physical cable doesn't cause the VM to detect a link-down event because the NICs in your VM are emulated in software. Think it as if there is a virtual switch between the physical cable and the WAN NIC of the virtual machine, pulling the cable will cut the connection only to the virtual switch but the "virtual cable" between the switch and VM will still be connected.

        1 Reply Last reply Reply Quote 0
        • O
          overpf
          last edited by

          Hmm, is that what gateway monitoring is for? It is sending ICMP to ensure it is alive, no? So then, pfsense cannot be virtualized.

          1 Reply Last reply Reply Quote 0
          • K
            kpa
            last edited by

            Gateway monitoring will detect that a gateway is down but it won't trigger a new DHCP lease negotiation on its own.

            1 Reply Last reply Reply Quote 0
            • GrimsonG
              Grimson Banned
              last edited by

              @overpf:

              So then, pfsense cannot be virtualized.

              It can be virtualized fine. Just pass the NIC through instead of emulating one, or see if the VM can emulate a link-down event when the physical connection is interrupted.

              Btw. there is a dedicated board for that kind of questions: https://forum.pfsense.org/index.php?board=37.0

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