How to set "sname" (server_name) in DHCP response

Hi all,

I need to set the “sname” parameter in the DHCP response to embedded targets as described in rfc2131. It’s supposed to be a 64 byte null terminated string containing information the targets need to bootstrap themselves.

I can set the boot-file-name (RFC calls this “file”) and see it on the target. I can also set the next-server (RFC “siaddr”) and use it. I’ve tried playing with other option 66 / tftp_server_name (RFC 2132), but this would require a considerable amount of work to fully implement on the embedded targets.

Would it be possible to leverage metarouter to run something like OpenWRT + dnsmasq?

I have no problem setting “sname” with dnsmasq on Linux servers.

  • Kyle