DLR instances on ESXi hosts have access to all information needed to perform L3 routing.
Networks are directly connected (learned from the interfaces’ configuration)
Next hops for each subnet (looked up in routing table)
MAC address to insert into egress frames to reach the next hops (ARP table)
This information is delivered to the instances distributed across multiple ESXi hosts.