How it works
VLANs are defined logically first and only materialize on the network when they’re actually needed:- You create a VLAN (via the API or dashboard).
- You attach servers to it.
- Once two or more servers are attached, Rackdog allocates a real VLAN on the switch and connects the servers to it.
- The servers can now reach each other over their private interfaces.
Lifecycle behavior
- Server removal. Deleting a server automatically detaches it from any VLAN.
- Down to one server. The VLAN stays allocated internally, but there’s no connectivity until another server joins.
- Down to zero servers. The underlying network is cleaned up. The VLAN still exists from your perspective and can be reused when you attach servers again.
Creating a VLAN
VLANs are managed through the API today: create the VLAN, attach servers, and manage membership there. Dashboard support is on the way. Not every server supports VLAN networking. Use the API to list VLAN-capable servers before attaching.Private networking
VLAN traffic flows over each server’s secondary network interface. The primary interface handles public networking and is not used for VLAN traffic.IP configuration
Rackdog does not hand out IP addresses inside your VLAN. You pick the subnet and configure addresses on each server yourself.Example (Ubuntu / Netplan)
Server 1:Things to know
- VLANs operate at Layer 2 only. There’s no routing by default.
- IP addressing, subnet design, and any routing between VLANs are your responsibility. If you need to connect multiple VLANs, use a dedicated server as the router.
A typical workflow
- Create a VLAN via the API.
- Attach two or more servers.
- Configure private IPs on each server.
- Verify with a ping between them.
Good habits
- Attach at least two servers so the VLAN actually activates.
- Use consistent subnetting across servers in the same VLAN.
- Keep private addressing organized, for example by environment or service.
