I’m planning on implementing Device-Level Ring (DLR) with FreeRTOS+TCP-multi. A bit of background about DLR behaviour:
- Devices have 2 physical ethernet interface but both share the same IP and MAC Address
- With the above, These ports cannot be used as two interfaces connected to two different subnets
- Network Connection is ring network (as opposed to the usual star network)
- Reference Docs on DLR Basics -> Chapter 1 of DLR Reference
I need some guidance with how to implement the network interface layer. The IP stack only has a single IP, but should still knows which port the request came from in order to send the response to the same port.
I was thinking of having 2 NetworkInterfaces_t and 1 NetworkEndPoint_t which is linked to both interfaces. Is it possible to implement with the TCP stack?