AndreBL/ip6neigh

Share hostname via Network Discovery Protocol

Opened this issue · 2 comments

bam80 commented

Hi,
do you think it's somehow possible (or if not - feasible), to share the hostname in NDP's Neighbor Advertisement (NA) packets?
Without leveraging mDNS things.

It looks most elegant approach to me for IPv6 networks.
If you agree, maybe it worth to make RFC or somehow upstream that idea?
I would love to hear your thoughts, thanks.

NDP is part of ICMPv6 protocol. Hostname are not currently in the Neighbour Advertisement packets, as I am sure are aware.

It would be a long haul to get a RFC created which would support this feature, and then have all of the IPv6 stacks implement the new RFC. As a conservative guess, I would say you are talking at least 5 years.

There may be other things that could be done which didn't require all of that administrative/development work. I'll give it some thought.

bam80 commented

Thank you for the feedback, Craig.

As you maybe aware already, for now the local hostnames are transferred via DHCP client, so we could look how it's done there and try to transpose that approach to the NDP implementation.
I didn't look at the DHCP side but can assume it must be pretty simple.