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

    Unable to create private network GRE/VxLAN

    Scheduled Pinned Locked Moved Xen Orchestra
    1 Posts 1 Posters 514 Views 1 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.
    • M Offline
      mavoff
      last edited by

      Hi,

      I'm simply unable to successfully create a GRE network. I have XO from sources up to date, port 4460/tcp (&udp in the meanwhile) on all hosts, already restarted the sdn-controller, I always get the error:

      sdnController.createPrivateNetwork
      {
        "poolIds": [
          "58193dd3-b784-1c3d-1dc7-0143b02feb7c"
        ],
        "pifIds": [
          "f95582c0-f1f5-bce3-7abf-fe247ac3bd44"
        ],
        "name": "DMZ",
        "description": "",
        "encapsulation": "gre",
        "encrypted": true,
        "mtu": 1400,
        "preferredCenterId": "3301ab0a-0a49-4cf3-a430-5e062b669c55"
      }
      {
        "errno": -113,
        "code": "EHOSTUNREACH",
        "syscall": "connect",
        "address": "192.0.20.1",
        "port": 6640,
        "message": "connect EHOSTUNREACH 192.0.20.1:6640",
        "name": "Error",
        "stack": "Error: connect EHOSTUNREACH 192.0.20.1:6640
          at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16)
          at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17)"
      }
      

      however if I netcat from the xo server to the hosts port 6640 I always connect.

      Although the most common IP is the master (and the one I select as preferred center) I've gotten most of the hosts in the pool.

      The logs overview is like:

      rmendes	 connect EHOSTUNREACH 192.0.20.1:6640 May 25, 2022, 09:18:46 PM	
      rmendes	 connect EHOSTUNREACH 192.0.20.1:6640 May 25, 2022, 09:14:49 PM	
      rmendes	 connect EHOSTUNREACH 192.0.20.2:6640 May 25, 2022, 09:14:43 PM	
      rmendes	 connect EHOSTUNREACH 192.0.20.1:6640 May 25, 2022, 09:14:32 PM	
      rmendes	 connect EHOSTUNREACH 192.0.20.2:6640 May 25, 2022, 09:12:37 PM	
      rmendes	 connect EHOSTUNREACH 192.0.20.1:6640 May 25, 2022, 09:06:04 PM	
      rmendes	 connect EHOSTUNREACH 192.0.20.2:6640 May 25, 2022, 09:05:13 PM	
      rmendes	 connect EHOSTUNREACH 192.0.20.4:6640 May 25, 2022, 09:02:36 PM	
      rmendes	 connect EHOSTUNREACH 192.0.20.1:6640 May 25, 2022, 09:01:51 PM	
      rmendes	 connect EHOSTUNREACH 192.0.20.2:6640 May 25, 2022, 08:58:20 PM
      

      ip's were redacted

      1 Reply Last reply Reply Quote 0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • First post
        Last post