DASH icon indicating copy to clipboard operation
DASH copied to clipboard

question: private link overlay destination mac

Open mgheorghe opened this issue 1 year ago • 5 comments

for the private link , especially the on-prem scenario.

How does the OS on the VM/computer know the overlay destination MAC? For any destination IP without an IP in the neighbor/ARP table, an ARP will be sent.

Does the DPU allow the ARP to pass through ? And if not, does the Azure app get a static ARP table populated? does it get populated for with all 64,000 possibilities, or it gets selectively populated? when ?

mgheorghe avatar May 14 '25 17:05 mgheorghe

Hi Mircea, the MAC address is not learned by the OS, but programmed in the DASH pipeline as part of the outbound mapping table. From the VM point of view, the packet will go out using a fake MAC, which gets override inside the DASH pipeline and being forwarded to the PLS.

Here is the key attributes for setting this behavior:

Image

r12f avatar May 14 '25 18:05 r12f

so a linux pc, if it has to send traffic, will send an arp if there is no entry in the neighbor/arp table and if no entry gets populated in arp table, no traffic is being sent.

So how does the VM know to use that fake mac? Who programs in the neighbor table the fake mac ?

Is it part of the requirement the VM set dest overlay mac to a bogus value smart switch has to process that properly ?

mgheorghe avatar May 16 '25 21:05 mgheorghe

Kernel to initiate an ARP and the driver will initiate (and find MAC of the ToR) We could do an experiment to execute the node stack

KrisNey-MSFT avatar May 28 '25 16:05 KrisNey-MSFT

This w/be answered in Issue 678?

KrisNey-MSFT avatar Jun 02 '25 17:06 KrisNey-MSFT

yes, the VM will see all the ARP entries inside the VM. on Azure Host we have ARP responder that intercepts ARP packets from VM and replies to the VM. Those ARP packets are not going thru SmartSwitch. All ARP requests/responses are fully handled internally on Azure Host

Closing per Mircea

KrisNey-MSFT avatar Dec 04 '25 21:12 KrisNey-MSFT