Home/Support/Support Forum/DIGI ConnectMe 9210 AUTOIP
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

DIGI ConnectMe 9210 AUTOIP

0 votes
I'm experiencing an issue with my module

I've configured the module to disable auto ip on all interfaces
appconf.h -> APP_ENABLE_AUTO_IP APP_ON_NO_INTERFACE

but the configuration seems to be ignored
the module is configured with static ip
IAM:AUTO-CONFIGURED IPv6 FE80::240:9DFF:FE7A:650A on eth0:3
IAM:STATIC IPv4 172.20.21.238 on eth0
Network IP configured.

but the module statrt printing this messages

IAM:AUTOIP IPv4 169.254.123.42 on eth0:0
IAM - AUTOIP IPv4 address 169.254.123.42 on interface eth0:0 is in conflict!
IAM - lost AUTOIP IPv4 address 169.254.123.42 on interface eth0:0


IAM:AUTOIP IPv4 169.254.35.37 on eth0:0
IAM - AUTOIP IPv4 address 169.254.35.37 on interface eth0:0 is in conflict!
IAM - lost AUTOIP IPv4 address 169.254.35.37 on interface eth0:0

IAM:AUTOIP IPv4 169.254.203.29 on eth0:0
IAM - AUTOIP IPv4 address 169.254.203.29 on interface eth0:0 is in conflict!
IAM - lost AUTOIP IPv4 address 169.254.203.29 on interface eth0:0

and so on ...

what's going on? ideas?
asked Apr 12, 2017 in NET+OS by gavello New to the Community (16 points)

Please log in or register to answer this question.

1 Answer

0 votes
what's your MAC address? I suspect you mac address got reset to defaults on couple of modules and now you have 2 modules with the same MAC on the network.
answered Apr 20, 2017 by LeonidM Veteran of the Digi Community (2,821 points)
It looks like the 2 modules have different mac addresses
but still I do not understand the AUTOIP messages that should be disabled

appconf.h -> APP_ENABLE_AUTO_IP APP_ON_NO_INTERFACE

// auto ip should be disabled
if ( NAGetEnableAutoIp() == TRUE ) {
  printf("AutoIP is used on at least one network interface\r\n");
}else {
  printf("AutoIP is disabled on all interfaces\r\n");
}

// AutoIP is disabled on all interfaces

can you explain the correct procedure to disable the AUTOIP on all interfaces? thanks
you doing it right, try to clean and rebuild your project after making changes to appconf.h
I've followed your suggestion but

IAM:AUTOIP IPv4 169.254.69.27 on eth0:0
still get printed on the console

---------------------CONSOLE-------------------------------
IAM:AUTO-CONFIGURED IPv6 FE80::240:9DFF:FEA2:BDB2 on eth0:3
IAM:STATIC IPv4 192.168.10.221 on eth0
Network IP configured.
[Root.c] AutoIP is disabled on all interfaces
[Root.c] Module Ip Configuration: Ip Address: 192.168.10.221 Mask: 255.255.255.0 Default Gateway: 192.168.10.254
IAM:AUTOIP IPv4 169.254.213.65 on eth0:0     [WHY!!!!]
------------------------------------------------------------

I've also tested loading IAM params

NaIamParamsInfo_t * iam_info;
iam_info = (NaIamParamsInfo_t *)malloc(sizeof *iam_info);
customizeIamGetConfig(iam_info);

looking into  iam_info->iamParams[j]

I have 2 interfaces enabled

[root.c] Interface eth0 auttoip enabled 0
[root.c] Interface eth0:0 auttoip enabled 1

so I really do not get it..

NAGetEnableAutoIp() return FALSE so according to documentation is disabled on all interfaces

more confusing is this happens on installed modules but not on development board with JTAG
...