uIP configuration

bones23 wrote on Wednesday, January 30, 2008:

I am using freeRTOS on the STR91x. I am trying to configure the uIP server provided with it. I have found where the IP address is configured but can not find where it configures its subnet or gateway addresses. Does anybody know where this is done?

rtel wrote on Wednesday, January 30, 2008:

I’m not sure if the current configuration is actually correct, it does not look right.  The original demo used DHCP, so UIP_FIXEDADDR is set to 0 in uipopt.h, so the netmask is not fixed.

There are some comments above the definition of UIP_FIXEDADDR regarding changing this.  Also you can look at some of the other uIP demos to see how the net mask should be set.

Regards.