Overlay networks
An overlay network is a private network that spans every host. Traffic between VMs on different hosts is carried in Geneve tunnels over the hosts' own network, so your physical switches do not need to know about it and you can create as many overlay networks as you like.
Use an overlay network for application tiers, test environments and anything else that does not have to sit directly on your physical LAN. Overlay networks are also the only type on which security groups are enforced.
Before you start
- Every host that will run VMs on the network is registered as an OVN chassis. Check this on Networking → Hosts: each host should show OVN chassis connected (see Host networking). The Networking Wizard registers the hosts you give an uplink NIC; you can also register a single host from the Hosts tab.
- A subnet for the network that does not clash with the other networks your VMs need to reach, for example
198.51.100.0/24.
Create an overlay network
- Go to Networking → Virtual Networks and click New network.
- Choose Overlay Network and click Next.
- Enter a Network Name and, optionally, a Description. Click Next.
- Enter the Network CIDR and check the suggested Gateway. If the range overlaps a network that already exists, the wizard names that network under the field and again on the summary. You can still create it: two isolated overlays may use the same range. Pick another range if a VM or a router will connect to both networks.
- Leave MTU blank. Quantix then uses the smallest MTU that every registered host can carry through the tunnel — typically 1442 on hosts whose physical network uses 1500.
- Turn on DHCP Server if you want Quantix to hand out addresses on this network. Nothing else serves an overlay network unless you run it yourself, so this is usually what you want.
- Click Next, check the summary, and click Create Network.
To set a DHCP address pool, reserved addresses or a lease time, open the network afterwards and edit Subnet & DHCP (see Virtual networks).
Expected result: the network is listed with type Overlay and status READY. As soon as a VM on a host connects to it, that host appears under Realized on.
Reaching the outside world
An overlay network has no path to your physical network on its own: the network's router is disabled (see the network's Overview → Facts). VMs on the same overlay network reach each other on every host, but not your LAN or the internet.
To give them outside access, run a router or firewall VM with one network adapter on the overlay network — holding the address you entered as the Gateway — and another adapter on a VLAN or External network. Point the VMs' default route at that gateway (Quantix DHCP hands it out automatically).
To let remote users into an overlay network, use a VPN service.
Troubleshooting
| Symptom | What to do |
|---|---|
| A VM on this network does not start on one host | That host is probably not registered as an OVN chassis. Check Networking → Hosts for OVN chassis not connected, and click Register as OVN chassis in the host's expanded row. |
| VMs on different hosts cannot reach each other, but VMs on the same host can | Check that every host shows OVN chassis connected, and that the hosts can reach each other on their management network. |
| Large transfers stall while small ones work | The network's MTU is larger than some host's tunnel can carry — for example after adding a host whose physical network uses a smaller MTU. Edit Subnet & DHCP and set MTU to 0 so Quantix picks it. |
| VMs get no address | Turn on Serve DHCP on this network from OVN on the Subnet & DHCP tab, or configure static addresses in the guests. |

