LWIP is not included in the STM32CubeN6 firmware. However, the Azure NetXDuo networking stack is supported for the N6 series. You can find examples of its implementation our Cube firmware STM32CubeN6.
If you specifically want to use LWIP, you can port it yourself, and there is also a ported version available for this series on ST’s GitHub. Here is the link to the LWIP MCU Middleware.
Regarding support for LwIP on STM32N6, although it is no longer available in STM32CubeMX—having been replaced by NetXDuo—it is still supported and can be manually integrated into your project. A dedicated GitHub repository (first link) provides implementations for classic core middleware such as LwIP. There, you can find a ready-to-use example for the NUCLEO-N657X0-Q board, which you can adapt for the STM32N6570-Disco. Additionally, a modified implementation is available in the second repository for your convenience.
Thank you for the recommendations. The issue is that LwIP example is only using the memory of the bootloader.... I changed the Linkerscript so that it will use the bigger RAM, but I integrated Wolfssl and it can not allocate memory, if I do this: