eclipse-threadx / netxduo

Eclipse ThreadX - NetXDuo is an advanced, industrial-grade TCP/IP network stack designed specifically for deeply embedded real-time and IoT applications
https://github.com/eclipse-threadx/rtos-docs/blob/main/rtos-docs/netx-duo/index.md
MIT License
230 stars 131 forks source link

Can NETX DHCPv6 support simultaneous DHCPv6 Client & DHCPv6 Server on two interfaces? #266

Open 512114 opened 3 months ago

512114 commented 3 months ago

Hi all,

Case: We are trying to establish connections on two interfaces where one interface will work as a DHCPv6 Client and another as a DHCPv6 server. Both of them will be active simultaneously having separate LAN on a single device in a such way that a device will act as a Station for a third-party AP and parallelly device will act as an AP itself.

For the same, we are configuring the below array with a max index of two. NX_INTERFACE nx_ip_interface[NX_MAX_IP_INTERFACES]; But inside this, we can store IPv4 addresses for each interface but we cannot store IPv6 addresses.

Query: We want to know whether this above case is feasible or not, if yes then we want to know the initialization and reinitialization sequences for both of the interfaces. How should be the start and stop procedures for an individual interface without disturbing another interface?

Thanks, Prasad