Forum Discussion
Altera_Forum
Honored Contributor
16 years agoHow do Nios-II handle IP address change during the TCP/IP connection?
Dear all, I have problem with changing IP address in the FPGA board. Here is my case, let say I have a FPGA board which is connected to PC. The PC sends a command to the FPGA that asks th...
Altera_Forum
Honored Contributor
15 years agoHi mcr42! Thank you for your reply :)
I thought that we used netmain_init() to apply new IP address that we just assigned. Otherwise, the ethernet card would not notice the new ip address, am I correct? Well, I will try not to call netmain_init() after assign a new IP address, and see what happen. Maybe netmain_init() is the reason for my three times problems (fyi, on that time I tried to do static --> static --> static ip address assignment). I just read your DHCP configuration code today, I will also try it and inform you about the results. Thanks! :)