How VXLAN and RoCEv2 work together in a multi-tenant AI data centre
When I was studying for Cisco’s Data Center AI Infrastructure exam (300-640 DCAI), I spent time looking at how RoCEv2 carries traffic between GPU servers and what happens when the network gets congested. Now that I’ve started my CCIE Data Center studies, I wanted to bring VXLAN EVPN into the picture and work through a practical question: if two departments run different reasoning models, how can they share one GPU fabric and still keep their traffic separate?
Let’s say Network Operations has built an agent that investigates incidents, and Finance has built one that investigates invoice discrepancies. Each department has its own model running across two dedicated GPU servers. The switches and uplinks are shared. Now imagine both departments send to a GPU at 10.10.2.12. When the packets arrive at the far leaf, how does it know which server should receive each one?
To answer that, let’s follow one NetOps request from the engineer’s question all the way to the GPU on the other side of the fabric.
Where the agent stops and RoCEv2 starts
“Why did latency increase at the Leeds branch after last night’s change?” The NetOps agent sends the question to its model endpoint over HTTPS. The model asks for evidence, so the agent retrieves interface counters and the change record through its approved tools, then sends those results back to the model. Finance follows the same pattern with a different model and access to its own finance systems.
The interesting traffic for us starts behind the model endpoint. Assume the NetOps model, at the required context length and concurrency, needs more GPU memory than one allocated server can provide. We split its layers across N1 and N2 using pipeline parallelism. N1 runs the earlier layers and sends their intermediate output, called activations, to N2. N2 uses those values as input to the next layers. In this example the inference runtime uses NCCL and RDMA-capable Ethernet NICs for that transfer. Those activation packets are where RoCEv2 enters the story. vLLM guide to distributed inference

A smaller model could serve the same agent on one host. Even two full replicas could each answer independent requests. It’s the decision to split one inference across hosts that creates the inter-server traffic in our example.
What the infrastructure team actually builds
Give Finance two servers, F1 and F2, for its own distributed model. Put N1 and F1 on Leaf 1, and N2 and F2 on Leaf 2. The leaves connect through a spine. Both departments own their model deployments. The infrastructure team owns the fabric.

| Department | Leaf 1 server | Leaf 2 server | GPU routing table | Layer 3 VNI |
|---|---|---|---|---|
| Network Operations | N1, 10.10.1.11/24 | N2, 10.10.2.12/24 | NETOPS | 50001 |
| Finance | F1, 10.10.1.11/24 | F2, 10.10.2.12/24 | FINANCE | 50002 |
I’ve deliberately reused the IP addresses. An enterprise could allocate unique subnets, but the overlap makes the design question obvious. If two servers on Leaf 2 are both called 10.10.2.12, how does the network know which one should receive the packet?
Start with the server-facing attachment. In this design each departmental back-end port connects to a routed interface in its own virtual routing and forwarding instance, or VRF. N1’s gateway sits in NETOPS. F1’s gateway sits in FINANCE. The leaf can therefore choose the correct routing table before it looks up the destination IP.
First the leaves learn the routes
Before a single tensor crosses the fabric, Leaf 2 advertises its connected departmental prefixes using BGP EVPN Type 5 IP-prefix routes. A route distinguisher lets BGP represent both copies of the same prefix. Route targets control which VRFs import each advertisement. Leaf 1 imports the NetOps route into NETOPS and the Finance route into FINANCE. We configure no route leaking between the two back ends. Juniper GPU back-end EVPN control-plane design
Here’s the distinction I’d make on a whiteboard. EVPN distributes reachability. The VRF gives the leaf a routing table for each department. VXLAN carries the selected tenant context across the shared network. For this routed example we use a Layer 3 VNI, a VXLAN network identifier associated with the receiving IP VRF.
Now follow one RoCEv2 packet
- N1 sends an activation towards N2. The destination, 10.10.2.12, is on a different subnet. N1 sends the frame to its gateway on Leaf 1. Inside is the GPU-to-GPU IP packet, with UDP destination port 4791 for RoCEv2.
- Leaf 1 chooses NETOPS. The packet arrived on N1’s attachment. The NETOPS lookup for 10.10.2.12 resolves through Leaf 2’s VXLAN tunnel endpoint (VTEP). Leaf 1 performs the routed forwarding operation and wraps the resulting inner frame in VXLAN, using VNI 50001.
- The spine forwards to Leaf 2. The outer destination IP is Leaf 2’s VTEP address. The outer UDP destination port is 4789 for VXLAN. The spine needs underlay reachability to that VTEP. The two departments’ overlapping GPU addresses play no part in this lookup.
- Leaf 2 delivers the packet. It removes the outer headers, maps VNI 50001 to NETOPS, and forwards towards N2. N2’s RDMA NIC receives the RoCEv2 traffic. Send the equivalent packet from F1 and the VNI is 50002. Leaf 2 now delivers it to F2, even though the inner destination IP is identical. Juniper GPU back-end forwarding design

If you capture the server-facing link, look for UDP 4791. Move your capture to the leaf uplink and decode VXLAN. You should see outer UDP 4789, the departmental VNI and the inner RoCEv2 packet. This gives you a practical way to prove exactly where encapsulation starts and ends.
What happens when Finance gets busy
It’s month end. Finance submits a batch of invoice investigations while NetOps is waiting for an incident summary. Both transfers can land on the same 400 Gb/s uplink. The VRFs still keep the departments separate, but both sets of packets consume time on the same physical port. Queueing at that link can delay the handoff from one model stage to the next.
Before allocating bandwidth, I’d ask what each team actually needs. NetOps might care about how long an engineer waits for the first token. Finance might need its queue of investigations finished by 07:00. If both require a minimum share, check that the hardware can classify the tenants into independently scheduled queues or groups at the bottleneck. If both VNIs map to one RoCE queue, a scheduler operating on that queue has no separate departmental allocation to enforce. An equal-share policy is one design option. The workload measurements tell you whether it meets the requirement.
Three details matter when carrying RoCEv2 inside VXLAN:
- MTU. Size the underlay for the encapsulated frame, including the outer headers and any VLAN tags. Verify the largest intended transfer across the complete path. A small ping may work even when full-sized frames fail.
- QoS and congestion feedback. Check how the ingress VTEP maps the inner traffic class into the outer header, which class the spine queues, and how an outer ECN congestion mark propagates back to the RoCE endpoint. With DCQCN, the receiving NIC can send a congestion notification packet so the sender reduces its rate.
- Priority Flow Control. If the design uses PFC, a pause applies to a priority on a physical link. Two tenants sharing that priority can both feel its effects. Monitor pause duration and queue occupancy alongside congestion marks. Cisco guidance on RoCE across VXLAN fabrics
How I’d prove the design works
Prove the destination. Initiate a transfer from N1 to 10.10.2.12 and confirm receipt on N2. Repeat from F1 and confirm receipt on F2. Capture the uplink traffic and match the VNI to each transfer. With overlapping addresses, a successful ping on its own tells you very little about which server replied.
Prove the boundary. Advertise a temporary Finance-only test prefix. Verify it works from Finance, then check the NETOPS routing table and confirm there is no permitted path to that prefix. Separately test the model APIs and tool identities. A private GPU routing table controls network reachability. The application still needs to decide who can query the Finance model and who can read invoice data.
Prove the inference path and the user experience. Confirm the runtime selects the intended RDMA interfaces and that the corresponding NIC counters rise. Run each department’s workload alone, then run both together using the same prompt lengths, output lengths and concurrency as their baseline. Compare p95 time to first token, inter-token latency and batch completion time with fabric counters. Time the telemetry and finance tool calls separately. Otherwise a slow invoice query can look remarkably like a slow GPU network.
That’s the design I’d put in front of the two teams. Start by showing that NetOps and Finance can send to the same destination IP and reach two different GPU servers. Then run the month-end batch while an engineer investigates Leeds. The first demonstration shows how VXLAN and RoCEv2 work together to deliver network multi-tenancy. The second answers the question the engineer actually cares about: when Finance gets busy, how long do I wait for my answer?
Where this fits in my studies
The Cisco DCAI v1.0 blueprint covers inference in 1.1.c, network design against workload requirements in 2.1, and congestion control, RoCEv2 and QoS in 3.1.a–c. The CCIE Data Center v3.1 blueprint names VXLAN EVPN overlays in 3.1.b and RoCEv2 over IP in 5.2. The two departmental agents are my example of how those topics come together in an enterprise design.





Leave a Reply