Duplicate ip address

Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


Hello Filippo,

Thank you for reaching out with your network configuration issue on the Apalis iMX6D module. It seems like the unexpected secondary IP address and additional routes might be due to network management tools or configurations.

Here are some steps you can take to diagnose and resolve this issue:

  1. Disable ConnMan: If you prefer using systemd-networkd, ensure that connman is not running, as it might be managing your network settings. You can disable it with:

    systemctl stop connman.service
    systemctl disable connman.service
    
  2. Verify Systemd-Networkd Configuration: Double-check your /etc/systemd/network/wired.network file to ensure it’s correctly configured. Also, look for any other .network files that might be influencing the network settings.

  3. Check for DHCP Clients: Ensure no DHCP client is running that could be assigning additional IP addresses. You can check for running DHCP clients with:

    ps aux | grep dhclient
    ps aux | grep udhcpc
    

    If any are running, stop and disable them.

  4. Inspect ConnMan Cache: If connman was used previously, it might have cached configurations. Check /var/lib/connman for any saved configurations and remove them if necessary.

  5. Review Network Interfaces: Use ip addr show to list all network interfaces and their configurations. This can help identify any unexpected settings.

  6. Check Routing Table: Use ip route show to inspect the routing table. If there are routes you did not configure, they might be added by a network management tool or a script.

By following these steps, you should be able to identify and resolve the issue with the unexpected secondary IP address and routes. If the problem persists, consider reviewing any custom scripts or services that might be affecting network configurations.

I hope this helps! If you have any more questions, feel free to ask.

Best regards,
Toradex AI Assistant

Please, also check if these links can help you solve your problem:

https://community.nxp.com/t5/Layerscape/lx2160ardb-s-network-could-not-work-for-lsdk20-04/td-p/1082115.