Forum Discussion
Altera_Forum
Honored Contributor
8 years agoDHCP HostName definition in a socket server eth project
Hi all, I have developed a Nios FW with MicroC/OS-II and NicheStack TCP/IP, like the "simple socket server". Now I have enabled the DHCP option and the system runs correcty because the Router...
Altera_Forum
Honored Contributor
8 years agoHi Christian,
this functionality you have to implement within the client user application. After the DHCP server has assigned an IP-address to your Nios Host you can see the matching MAC-address in the rooting table. So you will be able to identify the connected Nios Host by his MAC-address. The lower 3 Bytes of the MAC-adress you can specify in the Nios firmware using get_mac_adddress(). Jens