The default IP address of MicroZed is 192.168.1.10, I know this could be changed by typing command: ifconfig eth0 ***.***.***.***. but I don't want this kind of configuration work every time i start my board!
I'm wondering is there any method to set my board a certain ip, say for example, 192.168.1.9? To make sure it won't go back to the 192.168.1.10 every time i restart it.
At first, I thought the ipaddr is set by U-boot.elf, so I rebuild it with modification in directory "/include/configs/zynq_common.h" where there is a Macro defination "CONFIG_IPADDR", however the change I made here is not helpful, after I loaded u-boot.elf into my board's SD card, and let my os ran again, the ifconfig still showed me "192.168.1.10"
What should I do? .>_<.