Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
18 years ago

LWIP Static IP Address

Has anyone else had problems using the static IP address. Such as setting use_dhcp flag in the get_ip_addr() function to 0?

I find that I have to set the netif->flags |= NETIF_FLAG_UP in order to get it to work.

I have found that it probably was supposed to be in the alt_lwip_dev.c file in the lwip_devices_init() function that this should properly happen.

Any comments or experiences would be appreciated!

Thanks,

Chris F.