RTOS NetX MultiHome support

2025-05-06T14:12:56.1966667+00:00

I am starting to work on NetX on top of ThreadX. In our application running on an ARM M7 chip, we need two IP addresses for the same network interface. We plan on using one for the internal network on our board and the other as a public facing IP address. Does NetX allow this?

Azure RTOS
Azure RTOS
An Azure embedded development suite including a small but powerful operating system for resource-constrained devices.
339 questions
{count} votes

1 answer

Sort by: Most helpful
  1. VSawhney 400 Reputation points Microsoft External Staff Moderator
    2025-05-07T03:16:47.0133333+00:00

    Hello SUBRAMANIAM Sivakumar-Knorr-Bremse,

    It sounds like you're diving into some multi-homing work with NetX on ThreadX, using an ARM M7 chip. To answer your question, NetX does support multi-homing, which means you can assign multiple IP addresses to the same network interface.

    Here’s what you can consider:

    1. IP Address Configuration: Ensure that you configure both your internal and public IP addresses correctly on the network interface. The setup should allow both addresses to be reachable based on your routing and subnetting.
    2. Routing Tables: To manage packets to be routed correctly, you might need to adjust your routing tables to ensure traffic is sent and received over the appropriate interface for each IP.
    3. WS-Discovery Considerations: Since you're working on a device that may leverage WS-Discovery, keep in mind some best practices regarding message IDs and resolving addresses to avoid confusion with the multiple interfaces.
    4. No Multiple Default Gateways: It’s important to avoid having multiple default gateways for your interfaces, as this can create connectivity problems. If necessary, add specific static routes for different networks.

    If you're aiming to implement something more specific or facing issues, could you provide a bit more detail on:

    • What specific functionality you're looking for with the two IPs?
    • Are you encountering any errors or challenges in your current setup?
    • What version of NetX are you using?

    Hope this helps! Let me know if you need further details.

    Thank you!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.