The TCP/IP stack (smoltcp) uses a trick where it stores the MAC address of the incoming packets in its cache instead of using ARP. Since the device is a server only, it never spontaneously sends a packet to a new host, and all the packets it sends are using MAC addresses discovered using this scheme. So it will automatically send its replies to the MAC address of the gateway and you do not need to configure it.