Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-66

Add two new variables to netif templates bridge and tap

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Normal Normal
    • 1.0
    • None

      add 3 lines to netif/bridge netif_pre_up()
      if [ -n "$stp" ]; then
      brctl stp $interface $stp
      fi

      add one line to netif/tap net_pre_up()
      ifconfig $interface hw ether $mac_addr

      this allows the bridge to function as a real switch in your network, and allows the tap interfaces to be given a persistent mac address, which is useful for Virtual Machine networks

      http://pastebin.com/FcMU5P76 <- full netif/bridge file
      http://pastebin.com/juBPpJfS <- full netif/tap file

        1. brctl
          0.1 kB
        2. ifconfig
          3 kB
        3. netif.br0-aug-14
          0.4 kB
        4. netif.eth1
          0.1 kB
        5. netif.tap0
          0.1 kB
        6. netif.tap1
          0.1 kB
        7. netif-bridge-aug-14
          0.7 kB

            Unassigned Unassigned
            setsuna-xero Glenn Phillips
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: