Forum Discussion
Altera_Forum
Honored Contributor
14 years agoI think the first address of the last flash sector is only a signature, the MAC address is found where mac_addr_ptr is pointing.
The IP address is defined in simple_socket_server.h
/*
* The IP, gateway, and subnet mask address below are used as a last resort
* if no network settings can be found, and DHCP (if enabled) fails. You can
* edit these as a quick-and-dirty way of changing network settings if desired.
*
* Default IP addresses are set to all zeros so that DHCP server packets will
* penetrate secure routers. If DHCP will not be used, select valid static
* IP addresses here, for example:
* IP: 192.168.1.234
* Gateway: 192.168.1.1
* Subnet Mask: 255.255.255.0
*/# define IPADDR0 192# define IPADDR1 168# define IPADDR2 1# define IPADDR3 234