Use a static IP address only

IAM:Got STATIC IPv4 address 10.0.0.5 on interface eth0
IAM:Got AUTOIP IPv4 address 169.254.199.71 on interface eth0:0

How can I disable AUTOIP? The unit should only have the static IP address 10.0.0.5.

Message was edited by: compie

I’m already using this setting:

#define APP_ENABLE_AUTO_IP APP_ON_NO_INTERFACE

but it’s not working…

Have you tried:

#define APP_USE_STATIC_IP TRUE

Yes I have.
But the unit still gets a 169.254.x.x address.

“gets”? You are using a static IP, there are the defaults set by APP_IP_ADDRESS, APP_IP_SUBNET_MASK, and APP_IP_GATEWAY. You can then use customizeSaveIPParameters() to change it programatically. (Don’t forget to reboot after changing it with customizeSaveIPParameters().)