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

    Lagg + carp: carp not sending multicast via lagg interface.

    Scheduled Pinned Locked Moved Development
    1 Posts 1 Posters 4.3k 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
      fabioc
      last edited by

      Hello there,

      I know lagg is not yet supported but since its freebsd Im encouraged to use it. After creating the interface using ifconfig lagg0 create it works nicely and I can setup everything under the web gui including firewall rules.

      My setup requires the use of CARP on the lagg interface which Im failing to make it work. The lagg itself is failing over as expected, but looks like its not sending multicast link events via the lagg. I've checked it with tcpdump.

      I found this fix http://www.freebsd.org/cgi/query-pr.cgi?pr=113956 , which would sort the problem. Im not sure if 1.2-RC4, the version Im using, incorporates that fix.

      This is causing both master and backup nodes to become MASTER:

      master
      carp1: flags=49 <up,loopback,running>mtu 1500
              inet 10.0.2.3 netmask 0xffff0000
              carp: MASTER vhid 12 advbase 1 advskew 0
      
      backup
      carp1: flags=49 <up,loopback,running>mtu 1500
              inet 10.0.2.3 netmask 0xffff0000
              carp: MASTER vhid 12 advbase 1 advskew 100</up,loopback,running></up,loopback,running>
      

      This is how I created the lagg interface under config.xml

      
                      <shellcmd>ifconfig lagg0 create</shellcmd>
                      <shellcmd>ifconfig lagg0 laggproto failover laggport em0 laggport bge1 10.0.2.7 netmask 255.255.0.0</shellcmd>
                      <shellcmd>route delete 10/16</shellcmd>
                      <shellcmd>route add -net 10/16 -interface lagg0</shellcmd>
      
      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