Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Bridge + CARP

    Scheduled Pinned Locked Moved HA/CARP/VIPs
    2 Posts 1 Posters 1.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.
    • F
      frans kurniawan
      last edited by

      hi all..

      im trying to setup CARP and Bridge at WAN section using pfsense ver 2.31..
      i setup VIP CARP WAN , Bridge on WAN with RSTP enable (bridge0 = igb1, igb2, igb3)..

      the bridge was OK and capable to do failover between the interface within the bridge..
      the problem occurred when all interface under bridge were down, the bridge it self still UP !

      then i try to make it down manually via devd by adding some command to devd.conf

      notify 100 {
              match "system"          "IFNET";
              match "type"            "LINK_DOWN";
              match "subsystem" "igb1";
              action "/usr/local/bin/bridgedown";
      };

      then create script /usr/local/bin/bridgedown :

      #!/bin/sh
      echo "bridge0 down"
      /sbin/ifconfig bridge0 down

      chmod a+x /usr/local/bin/bridgedown

      then restart / rebooting to implement the new setting..

      but when i unplug the cable of igb1, the script doesn't executed..
      even when i try to execute it manually via shell , it failed to execute..

      /usr/local/bin/bridgedown: Command not found.

      am i missing something?

      i try to make another shell script, but none of them are able to execute..
      does pfsense prevent the execution of individual shell script?
      :-\

      thank you

      1 Reply Last reply
      Reply Quote 0
      • F
        frans kurniawan
        last edited by

        i already found the problem..
        it is due to i used windows text editor to make the script (CR LF)
        after saving the script file using UNIX (LF only) , the script successfully executed..

        thx

        1 Reply Last reply
        Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
        Privacy Policy · Cookie Policy