I’m still trying to get some understanding on the networking of VMs on Threefold. I do understand the function of the public ip4 and ip6 adresses. But what about the other two possible networks? Yggdrasil/planetary and the other 10.x.x.x address you always get? Is latter one the Wireguard address?
Yes the 10.0.0.0 address is your nodes zero network/wiregaurd ip
- No Yggdrasil software and/or config can be found on a vm? Why/how?
The yggdrasil software runs at the hypervisor level, basically the way it works is the client established a /64 ygg subnet and then assigns workloads an address within the subnet
you can find the documentation related to this function here under "advertising a prefix
- No Wireguard software and/or config can be found on a vm? Why/how?
this works in the same way as yggdrasil as far as i understand, but with wiregaurd, the node manages the network and joining clients to it
-
Is Yggdrasil useful for communication between Threefold hosts? Is traffic encrypted? Would I still need to put up a firewall on this interface?
Your yggdrasil address functions in the same way as a public ipv6 address, except clients must be connected to the network to reach it, all clients on the yggdrasil network are in one “network”, traffic is end to end encrypted between hosts, this interface should be firewalled the same way you do your public ipv4/ipv6
-
Is Wireguard useful for communication between Threefold hosts? Is traffic encrypted? Would I still need to put up a firewall on this interface?
wiregaurd networks include clients of your choosing, currently you have to deploy with terraform to create multi vm deployments, but in a coming update this functionality is coming to the playground, this creates a private network between your vms, an example use case would be connecting the backend of a multi master database cluster to eachother
-
Is it possible to have communication on the 10.x.x.x interface from a non-Threefold environment to a threefold VM? Wireguard client should be used for this?
yes, again this is a terraform only feature currently, but when creating a deployment with a wiregaurd network you have the option output the wiregaurd configuration that will allow you to connect other devices into your private network
I can get a ssh connection on the planetary interface from my client when having an Yggdrasil client active.
you should be able to ssh with the planetary interface, this works well in linux, ive had alot of trouble with this in windows