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

    Backup Network - Unable to add new network

    Scheduled Pinned Locked Moved Management
    12 Posts 4 Posters 222 Views 3 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.
    • AtaxyaNetworkA Online
      AtaxyaNetwork Ambassador @AlexQuorum
      last edited by

      @AlexQuorum Hi !
      Did you add an IP on your new bond ?

      A 1 Reply Last reply Reply Quote 0
      • A Offline
        AlexQuorum @AtaxyaNetwork
        last edited by

        @AtaxyaNetwork Hi there,

        I haven't added an IP didn't know that was needed. This is what the current config looks like:

        eb82baf6-aaf2-41fa-a1af-7ef540418859-image.png

        I checked at the pool level as well and couldn't see a way to add it, is this something I need to add via the command line?

        D 1 Reply Last reply Reply Quote 0
        • D Offline
          DustinB @AlexQuorum
          last edited by

          @AlexQuorum Did you add the bond at the pool level or on the host itself?

          A 1 Reply Last reply Reply Quote 0
          • A Offline
            AlexQuorum @DustinB
            last edited by

            @DustinB Added at the pool level, I dont have multiple hosts in one pool yet.

            D 1 Reply Last reply Reply Quote 0
            • D Offline
              DustinB @AlexQuorum
              last edited by

              @AlexQuorum that screenshot looks like you're at the host level, and not the pool level.

              A single host is still a pool, just a pool of 1.

              I believe if you look at the host level Networking you can set this information....

              A 1 Reply Last reply Reply Quote 0
              • A Offline
                AlexQuorum @DustinB
                last edited by

                @DustinB Hi Dustin,

                Thanks for the help so far but I cant see a location to set this information at the pool level, hence why I was looking at the network level:

                7362d009-2318-4345-a71e-eb8afc834563-image.png

                Screenshot of config

                A 1 Reply Last reply Reply Quote 0
                • A Offline
                  AlexQuorum @AlexQuorum
                  last edited by

                  All,

                  Managed to figure this out but had to configure this in the command line:

                  Found an old XCP-NG blog entry for it I've included a snippet below (put the necessary command in bold) but the full URL is:

                  https://xcp-ng.org/blog/2022/09/13/network-bonds-in-xcp-ng/

                  πŸ› οΈ Creating a new management interface on your bond via CLI
                  Note that if you have lost your management interface or similar (and that's why you're stuck using the CLI), you can now configure a management interface on top of this new bond manually. First, find the UUID of your bond by running xe pif-list - you're looking for the entry named bond0, and it should have a vlan value of -1- (which means no vlan). For instance, on my machine:

                  uuid ( RO) : f7baee9b-67b5-860f-8bad-69f39088d4a4
                  device ( RO): bond0
                  currently-attached ( RO): true
                  VLAN ( RO): -1
                  network-uuid ( RO): 6e93da18-f159-4801-f67a-eccb78cc0b62
                  We want to use that top UUID in the following command along with your own network information you'd like to assign to this host:

                  xe pif-reconfigure-ip uuid=f7baee9b-67b5-860f-8bad-69f39088d4a4 netmask=255.255.255.0 gateway=192.168.1.1 IP=192.168.1.5 mode=static
                  Now we just need to tell XCP-ng to use this interface as the management interface (use the same top UUID from before):

                  xe host-management-reconfigure pif-uuid=f7baee9b-67b5-860f-8bad-69f39088d4a4
                  That's it! Assuming LACP is properly configured on the switch side, you should now be able to access the host via the IP you assigned.

                  AtaxyaNetworkA 1 Reply Last reply Reply Quote 0
                  • AtaxyaNetworkA Online
                    AtaxyaNetwork Ambassador @AlexQuorum
                    last edited by

                    @AlexQuorum You can add an IP on the Host -> Network
                    Click on the "None", select DHCP or static

                    4c0f1305-57ac-460c-8204-c329a71a2387-image.png

                    A 1 Reply Last reply Reply Quote 0
                    • A Offline
                      AlexQuorum @AtaxyaNetwork
                      last edited by

                      @AtaxyaNetwork Well I feel quite silly now thank you for showing me the easy way rather than the hard way I did it!

                      AtaxyaNetworkA 1 Reply Last reply Reply Quote 0
                      • AtaxyaNetworkA Online
                        AtaxyaNetwork Ambassador @AlexQuorum
                        last edited by

                        @AlexQuorum No problem, the UI is not perfect on this part, hopefuly XO6 will address the problem πŸ™‚

                        olivierlambertO 1 Reply Last reply Reply Quote 0
                        • olivierlambertO Offline
                          olivierlambert Vates πŸͺ Co-Founder CEO @AtaxyaNetwork
                          last edited by

                          @AtaxyaNetwork It will/it does πŸ˜›

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post