-
Notifications
You must be signed in to change notification settings - Fork 49
Add multiples routes options #95
base: main
Are you sure you want to change the base?
Conversation
Sounds great, ping @alecbcs |
I have a question about this multiple routes capability. The first comment's example says:
I have 2 Ubuntu 22.04 VMs (called vm1 & vm2) In both VMs I've installed LXD. When Logged into ether cn1 container I can ping anything on the Internet and I can ping "that" LXD Container's VM host. On each VM I installed hyprspace. On vm1 my yaml config file looks like:
where: On VM2 I have the same setup and that Hyprspace config as on VM1 but the ROUTES config again is configured to Route VM2's local LXD container network (10.2.13.0/24) to VM2's own Hyprspace VPN Tunnel IP (172.16.1.2) where I was assuming it would get forwarded to VM1's VPN Tunnel interface (172.16.1.1) and on to the VM1 LXD network & the target LXD Container. From VM1 I can PING VM2's Hyprspace VPN Tunnel interface (172.16.1.2) So hyprspace is not routing traffic from VM1's LXD container network to any of VM2's LXD containers. Whether its LXD or Docker containers they run on their "Host" on a private (often a 10.x.x.x) network. Isn't this use-case scenario what the hyperspace "multiple routes capability" is for or am I misunderstanding it's function? thanks |
My First Question is: Did the Hyprspace Routing capability ever get implemented in a Release version? If Yes... then my Second Question concerns interpretation of the "routes" section of the config: If 2 Servers on 2 separate Cloud networks use Hyprspace to create a VPN tunnel to connect to each other, I thought the PEER list would look something like the following on one of the 2 Hyprspace Peer Nodes.
_ If 10.169.80.0/24 is the IP for a local Docker -or- LXD Container Network on one of the Server Nodes with the above Peer Config... then is the above telling the Server's Hyprspace to:
-or- does it mean...
Thanks |
Hi @alecbcs @dukzcry
This PR is based on #62 but you can set multiple routes. I've move route field to routes section where you define CIDR and node to route, like this: