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

    10 gig secondary network

    Scheduled Pinned Locked Moved Xen Orchestra
    6 Posts 4 Posters 407 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.
    • A Offline
      abelaguilar
      last edited by

      secondary subnet for 10 gig.

      I have two hosts with 10 gig cards connected to a 10 gig switch as well as shared storage on 10 gig as well.

      Since this 10 gig network is for data transfer among servers, I do not want to give it a gateway or DNS server.

      Is this possible? I was not able to avoid this so I am making up a dns and gateway based on the same subnet even though there is no gateway to access.

      however, does not seem to be working as I am not able to ping the other hosts using my chosen subnet . in the case 192.168.10.10 (host 1), 192.168.10.11 (host 2). etc.

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

        It's entirely possible. In XO, create a new network, select the right NIC and create it. Then, in each host network tab, click on the "None" inside the "Mode" row, and select "Static". Put the IPs there.

        1 Reply Last reply Reply Quote 1
        • A Offline
          abelaguilar
          last edited by abelaguilar

          correct I have done that. I do not have a gateway or DNS on this specific subnet though. So when I try to ping the other hosts, i get a destination unreachable error.

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

            Adding @fohdeesha in the loop

            1 Reply Last reply Reply Quote 0
            • gskgerG Offline
              gskger Top contributor @abelaguilar
              last edited by gskger

              @abelaguilar Not sure if I understood your question correctly, so I hope my example helps a little.

              I have two 1G switches in my homelab (Cisco SG300-28). SW01 is for management and VM traffic, SW02 is for storage traffic only. All storage ports on SW02 are on VLAN 100 which only exists on this switch. Only the management network is allowed between SW01 and SW02.

              Each host has 4 ports (either quad port or two internal plus one dual port NIC), giving all hosts eth0, eth1, eth2 and eth3. eth2 and eth3 are in a bond for storage with a Synology as shared storage.

              5698e975-bbca-40c8-bad7-9def701c8419-grafik.png

              From the picture you see that I don't need a DNS and Gateway for the storage network to work and I can ping the storage network from the hosts. So as Olivier said, it is possible.

              Can you share the layout of your storage network with more details on switches and NICs? That would help to track down possible configuration issues.

              1 Reply Last reply Reply Quote 0
              • fohdeeshaF Offline
                fohdeesha Vates 🪐 Pro Support Team @abelaguilar
                last edited by

                @abelaguilar indeed you do not have to fill out the dns and gateway fields - in fact as you surmised you shouldn't. Where you getting an error or something when leaving them blank? The only mandatory fields are IP and netmask.

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