XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Create Bond for management

    Scheduled Pinned Locked Moved Solved Management
    24 Posts 6 Posters 5.0k Views 5 Watching
    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.
    • O Offline
      OskarNTT @jbamford
      last edited by OskarNTT

      @jbamford Xo cant create BOND without interface so i cant create bond and vlan to move interface

      jbamfordJ 1 Reply Last reply Reply Quote 0
      • jbamfordJ Offline
        jbamford @OskarNTT
        last edited by

        @OskarNTT I’ve done it in XO.

        O 1 Reply Last reply Reply Quote 0
        • O Offline
          OskarNTT @jbamford
          last edited by OskarNTT

          @jbamford said in Create Bond for management:

          @OskarNTT I’ve done it in XO.

          without interface?
          2024-03-06 12_15_49-Window.png

          jbamfordJ 1 Reply Last reply Reply Quote 0
          • jbamfordJ Offline
            jbamford @OskarNTT
            last edited by

            @OskarNTT you select the both which will automatically assign it to management just like in XCP-ng Center. I’ve done it like this on 3 nodes in a cluster.

            nikadeN 1 Reply Last reply Reply Quote 0
            • nikadeN Offline
              nikade Top contributor @jbamford
              last edited by

              @jbamford said in Create Bond for management:

              @OskarNTT you select the both which will automatically assign it to management just like in XCP-ng Center. I’ve done it like this on 3 nodes in a cluster.

              Exactly, when selecting both eth0 and eth1 the mgmt interface will be moved ontop of the bond0 as an untagged vlan.
              In your switch, just configure the native vlanid of your mgmt network to that lacp interface and you're good to go.

              jbamfordJ 1 Reply Last reply Reply Quote 0
              • jbamfordJ Offline
                jbamford @nikade
                last edited by

                @nikade correct. But I strongly recommend putting Management in a management VLAN. Do away with Native VLANs. Bond0 should never have a IP on it. Build Bond0 then VLANs on top I.e MGMT VLAN, Servers that are going to be exposed in an isolated VLAN. It is good practice to not use Native VLAN 1 and working in a Data Center like myself VLAN everything.

                nikadeN 1 Reply Last reply Reply Quote 0
                • nikadeN Offline
                  nikade Top contributor @jbamford
                  last edited by

                  @jbamford said in Create Bond for management:

                  @nikade correct. But I strongly recommend putting Management in a management VLAN. Do away with Native VLANs. Bond0 should never have a IP on it. Build Bond0 then VLANs on top I.e MGMT VLAN, Servers that are going to be exposed in an isolated VLAN. It is good practice to not use Native VLAN 1 and working in a Data Center like myself VLAN everything.

                  Im not talking about using VLAN 1, you can change the native vlan-id on the interface to your management vlan.
                  Also, if you dont have a dedicated nic for management you'll need to put it on the bond0 and that means bond0 having an ip on it, we've done this for about 10 years without any issues so im not really sure why you are against it.

                  For example, our management vlan is vlan-id 99 and our server has 2 NIC's.
                  We then create a lacp bond on eth0 and eth1 and the mgmt interface is automatically moved from the default eth0 to bond0.
                  We then go to the switch and we configure the native vlan-id on the lacp interface to vlan-id 99.

                  jbamfordJ 1 Reply Last reply Reply Quote 0
                  • jbamfordJ Offline
                    jbamford @nikade
                    last edited by

                    @nikade that is wrong. Bond0 never has a IP. It is one of the weaknesses with TCP-IP and 802.3ad. When I did my CCNA/CCNP it was well documented.

                    nikadeN 1 Reply Last reply Reply Quote 0
                    • nikadeN Offline
                      nikade Top contributor @jbamford
                      last edited by

                      @jbamford said in Create Bond for management:

                      @nikade that is wrong. Bond0 never has a IP. It is one of the weaknesses with TCP-IP and 802.3ad. When I did my CCNA/CCNP it was well documented.

                      I don't think you are correct, this is how it looks on all 18 of our XCP-NG's with management on top of the lacp/bonded interfaces:

                      c73b1d5a-91c4-44d7-a4f1-19d2f7f8cc07-image.png

                      But anyway, end of discussion, you've been presented with a solution that works, if you don't want to use it that's your decision.

                      jbamfordJ 1 Reply Last reply Reply Quote 0
                      • jbamfordJ Offline
                        jbamford @nikade
                        last edited by

                        @nikade no management VLAN looks a mess. Don’t moan when you get compromised and you wonder why data breaches happen 😄

                        C 1 Reply Last reply Reply Quote 0
                        • C Offline
                          Chr57 @jbamford
                          last edited by Chr57

                          Have the same problem.
                          We use LACP fallback in the switch so if the ports in the LACP not receive LACP one port goes into standard mode/non LACP. That's what is active now.

                          Trying to create a bond with the eth0 (currently used to manage) and eth1 but can't select bond mode.

                          Have also in the switch enabled native vlan that is the manage vlan.

                          LACP fallback.jpg Bond managment.jpg

                          1 Reply Last reply Reply Quote 0
                          • olivierlambertO Offline
                            olivierlambert Vates 🪐 Co-Founder CEO
                            last edited by

                            Weird 🤔 @MathieuRA any reason for bond mode to be empty?

                            1 Reply Last reply Reply Quote 0
                            • nikadeN Offline
                              nikade Top contributor
                              last edited by

                              What happends if you just try choosing eth0 and paste the output view and then do the same with eth1?
                              Atleast we can narrow it down to which interface it is causing the inoperability.

                              C 1 Reply Last reply Reply Quote 0
                              • C Offline
                                Chr57 @nikade
                                last edited by

                                @nikade
                                It is solved.
                                Reinstalled the nodes since the setup is not in production yet.
                                Bond worked fine and the switch ports went from LACP fall back into LACP active/active.

                                bond.jpg

                                nikadeN 1 Reply Last reply Reply Quote 1
                                • nikadeN Offline
                                  nikade Top contributor @Chr57
                                  last edited by

                                  @Chr57 Good job, always nice to have everything sorted out before going live 🙂

                                  1 Reply Last reply Reply Quote 1
                                  • olivierlambertO olivierlambert marked this topic as a question on
                                  • olivierlambertO olivierlambert has marked this topic as solved on
                                  • First post
                                    Last post