Hi @sebastianwelzel,
Thanks for your patience.
There is a documentation you could start to review about this topic: S32E2 Ethernet Switch and Controller (NETC) Complex Reference Manual (it supports S32Z2 and S32E2, you could find it at the S32E2 product page), also at the RTDs you could see the example Netc_Eth_Ip_ExternalLoopback_S32Z2XX_R52. This example is not external of the hardware the name is for how the structure is applied as following:

To complement this, you should review the application note S32ZE2 NETC Configuration.
Let me know if you have more questions.