Funtoo Linux
  1. Funtoo Linux
  2. FL-1076

Improvements and fixes to corenetwork templates

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0, 1.1
    • Fix Version/s: None
    • Labels:

      Description

      I Originally experienced some issues with an ipv6 link-local collision, upon investigation I noticed that the bridge template(and other templates) lacked any ipv6 awareness. On further investigation I discovered that the bridge template usurps the MAC Address of the last nic in the list of slaves; now for some nics, like an unused tap, it won't affect anything if nothing is using the tap, but if it is an active nic, then both the nic and the bridge will be assigned an link-local ipv6 address causing network failures.

      The solution to this was to add a little more logic to the bridge template, specifically adding variables for manual MAC addresses($mac_addr), and ipv6 addresses($ipaddr6) and finally a method to specify an ipv6 gateway($gateway6)

      ipv6 gateway functions were not tested, due to a lack of ipv6, but the address assignment works correctly, as does the MAC override.

      sysctl calls updated to include ipv6 forwarding as well.

      Once bug is closed I will update the wiki with the new information. This update is a drop in replacement, requiring no edits to existing existing bridge configurations unless they desire to enable these new features.

      1. bond-iproute2
        1 kB
        Glenn Phillips
      2. bridge-dhcpcd-iproute2
        2 kB
        Glenn Phillips
      3. bridge-iproute2
        2 kB
        Glenn Phillips
      4. bridge-openvswitch-iproute2
        2 kB
        Glenn Phillips
      5. bridge-vde
        4 kB
        Glenn Phillips
      6. conf.d-vde-bridge
        0.1 kB
        Glenn Phillips
      7. interface-iproute2
        2 kB
        Glenn Phillips
      8. interface-noip
        0.1 kB
        Glenn Phillips
      9. netif.tmpl-iproute2
        7 kB
        Glenn Phillips
      10. tap-iproute2
        0.7 kB
        Glenn Phillips
      11. tap-iproute2-testisgood
        0.6 kB
        happy cat
      12. tap-iproute2-testnogood
        0.6 kB
        happy cat
      13. vde-slirp
        5 kB
        Glenn Phillips

        Issue Links

          Activity

          Hide
          Glenn Phillips added a comment -
          Show
          Glenn Phillips added a comment - New Github Repo for files https://github.com/Setsuna-Xero/Experimental-Templates
          Hide
          Glenn Phillips added a comment - - edited

          Wiki Page as well(needs approval)
          http://www.funtoo.org/Network_Templates

          Show
          Glenn Phillips added a comment - - edited Wiki Page as well(needs approval) http://www.funtoo.org/Network_Templates
          Hide
          Oleg Vinichenko added a comment -

          it make sense to create a devel branch in corenetwork repo and merge https://github.com/Setsuna-Xero/Experimental-Templates there. Roll out masked openrc for testing purpose.

          Show
          Oleg Vinichenko added a comment - it make sense to create a devel branch in corenetwork repo and merge https://github.com/Setsuna-Xero/Experimental-Templates there. Roll out masked openrc for testing purpose.
          Hide
          Glenn Phillips added a comment -

          Sounds like a Plan, I've got a new bridge-vde template up with some fixes for dirty-shutdowns and killed processes, I'll commit to github and work on mirroring the changes to vde-slirp

          Show
          Glenn Phillips added a comment - Sounds like a Plan, I've got a new bridge-vde template up with some fixes for dirty-shutdowns and killed processes, I'll commit to github and work on mirroring the changes to vde-slirp
          Hide
          Dantrell B. added a comment - - edited

          This has been resolved with the addition of corenetwork/experimental.

          Show
          Dantrell B. added a comment - - edited This has been resolved with the addition of corenetwork/experimental .

            People

            • Assignee:
              Dantrell B.
              Reporter:
              Glenn Phillips
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development

                  Structure Helper Panel