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

    Bridge Interface and IPv6 link local address

    Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
    1 Posts 1 Posters 1.8k 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.
    • P
      pendi
      last edited by

      I just had an issue with my pfSense 2.1 RC0 built on Wed Jul 3 04:26:46 EDT 2013. I use a HE IPv6 tunnel and use a bridged network interface as the LAN side with an alix board.
      After configuring everything I found that the bridge0 interface does not have an autogenerated  link local address. This prevented pfSense from autoconfiguring the network interfaces. I configured "unmanaged" for the bridge interface in "Services: Router advertisements". Because of the missing link local address the autoconfiguration did not work.
      So I added manually a link local address on the shell and it suddenly all worked like a charm. Until the reboot (of course).
      To fix this I added (copied) the following lines into /etc/inc/interfaces.inc to the function "interface_bridge_configure" just before the line "        if (isset($bridge['enablestp'])) {":

              /* Create link local address for bridges */
      	$mac = get_interface_mac($bridge['bridgeif']);
        	$v6address = generate_ipv6_from_mac($mac);
          	mwexec("/sbin/ifconfig {$bridge['bridgeif']} inet6 {$v6address}");
      

      This fixed my issue and All internal machines do get autoconfigured IPs and the turtle was dancing  :)
      Maybe it is useful for other folks. I'm not sure if it is the right place in the code but it did not cause any harm so far.
      IMHO adding an option in the bridge advanced configuration dialog to enable this would be the best solution.

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