This general config works for 3 test nodes (node1, node2, node3).
Each node is on one of 3 diff Cloud (AWS, Digital Ocean, Hetzner)
On each node I create an incus bridge named brvxlan with a VNID=10
I can then create a container cnx on each Node using the network brvxlan
From any node I can then ping the cnx container on any other node successfully.
I know VxLAN supports a server configured to belong to more than 1 VNID.
My testing goal was to change:
Node1 = VNID 10
Node2 = VNID 10, 100
Node3 = VNID 100
so
Node1 & Node2 are on VNID 10 and their containers can talk to each other
Node1 is not on VNID 100 so it can not talk to Node3 (VNID100)
but
Node2 is also a member of VNID 100 so it can talk to Node3 (VNID 100)
The above should:
let Containers on Node1 talk to Containers on Node2
let Containers on Node2 talk to Containers on Node3
On each Node I create a VXLAN bridge named brvxlan using this general command:
incus network create brvxlan
tunnel.server1.protocol=vxlan
tunnel.server1.id=10
tunnel.server1.local=10.0.1.1
tunnel.server1.remote=10.0.1.2
tunnel.server1.remote=10.0.1.3
ipv4.address=none
ipv6.address=none
- can an Incus vm/container be created and attached to 2 different vxlan bridges?
- brvxlan10
- brvxlan100
- or is there a way to specify 1 bridge is a member of 2 VNID? (preferred option if it exists)
I was hoping Incus supported something like 1 of these 2…
Note:
I tried entering both of these and using following syntax, neither worked but if the capability does exist then I would like to know how to configure them both for 1 bridge?
incus network create brvxlan
tunnel.server1.protocol=vxlan
tunnel.server1.id=10
tunnel.server1.id=100
tunnel.server1.local=10.0.1.1
tunnel.server1.remote=10.0.1.2
tunnel.server1.remote=10.0.1.3
ipv4.address=none
ipv6.address=none
OR
incus network create brvxlan
tunnel.server1.protocol=vxlan
tunnel.server1.id=10, 100
tunnel.server1.local=10.0.1.1
tunnel.server1.remote=10.0.1.2
tunnel.server1.remote=10.0.1.3
ipv4.address=none
ipv6.address=none
I’ve been searching all afternoon but no luck finding anything.
Any comments, suggestions ?