Forum Discussion
Altera_Forum
Honored Contributor
16 years agoHere's another option to add to the list. Interniche does appear to support "Option 81: FQDN" (fully qualified domain name) on the discovery packet.
The support is "slightly" broken, however. For quite some time now, I've been wondering why my Altera board IP addresses appear as "che" on my networks...at home and at work. I found the reason yesterday. Here's the snippet of code that "sets" this in DHCP servers/DNS systems that support it (taken from dhcpclnt.c):/* DC_DOMAINNAME - domain name to be used for this DHCP Client.
* Used for option 81 in the DHCP Request.
* Proper value for this macro must be defined in dhcpclnt.h or ipport.h
* If it is not defined, then the following value will be used.
*/# ifndef DC_DOMAINNAME# define DC_DOMAINNAME "iniche"# endif Later on in the same file, the string "iniche" is pulled in as the text for option code 81 in the discovery packet. The only trouble is that somewhere along the way 3 characters always get stripped off the front of this string...which explains "why che?" Any easy workaround would be to place 3 dummy characters in front of the FQDN that you actually want....like so: "xxxiniche" Best Regards, - slacker