I donāt have much experience using private networks via the GRE tunnel method because all of our servers are in the same building. I just create a VLAN on the switches and then create an adapter that pulls in that VLAN on all the hosts.
All you need to do is create the network on the switche(s) connected to the XCP-NG servers. Then choose the interface that connected to the switch port that has all the VLANS. It only needs to exist in your pfsense/router if you are going to do routing with it.
Just wondering if youāve ran into any instance of xcp-ng not being able to create more than 9 VLANS. Iām not aware of the actual number (8,9,10), however I believe there is a limitation to how many xcp is able to create. I ran across the article the other week: https://github.com/xcp-ng/xcp/wiki/VLAN-Trunking-in-a-VM and wondered if you have ever tried this method?
As shared in my screenshots, I am using the āMultiple VIFsā approach. I donāt needs more that 7 and I have not any client situations that needed more than 7 either.
@LTS_Tom thank you for making this awesome video about vlan in xen orchestra.
I really feel as it was make for me lol.
I followed the instructions and set my ports to ātrunkā mode with no DHCP as all server get static ip assign to them.
Inside the VMs I set the interface ip to 10.10.12.20 with gateway of 10.10.12.1 but none of my VMs can ping each otherā¦
Iām pfsense, I created vlan10 on my lan interface. Do I need and firewall rule set for it to work? Do I need to delete the gre network I created?
Tom is correct if yo donāt need it, I wouldnāt bother. That being said if yo want to play with it I suggest you read up on OVS, which is what XCP-ng uses to create the tunnels. I have worked with OVS in the past with other hypervisors and it takes a bit of learning to get it working correctly.