I used functions netif_set_ipaddr, netif_set_up, and dhcp_inform if I am setting a static IP address in my lwIP device and had DHCP compiled in but not started up.
If I already had a DHCP IP address and was changing to static IP, then I used dhcp_stop, netif_set_down, netif_set_addr and netif_set_up. That's not to say this is necessarily the correct procedure, but in testing this worked well for me. Bill >-----Original Message----- >I work on the EVK1100 with studio 2.6 and I use the program EVK1100 - >SERVICES - LWIP 1.3.2 >with DHCP exemple. > >I want my EVK1100 to be recognized by router then I need to use DHCP for >to fix IP address. >But if I manage to change my IP address without DHCP fonction, the >router does not >recognize my card. > >Fonctions of this program can achieve what I wishes? > >I work around DHCP_INFORM but is it a good way? > >Thanks for any help. > >Emmanuel. _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
