Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for IPv6 neighbors #40

Open
Giga-Pudding opened this issue Dec 14, 2023 · 1 comment
Open

Add support for IPv6 neighbors #40

Giga-Pudding opened this issue Dec 14, 2023 · 1 comment

Comments

@Giga-Pudding
Copy link

Giga-Pudding commented Dec 14, 2023

In case of dynamic IPv6 prefixes, every host on the network obtains it's own Global Unicast Address. But there might be devices on the network, that are not able to run this script on their own. Especially IoT devices, like Webcams or other "Smart" stuff, which cannot be accessed. So, how about extending this scripts functionality to also update AAAA records of other devices (IPv6 neighbors) on the same network? I see two ways to achieve this:

The easy way is by providing the Interface Identifier (last 64 bit of the IPv6 address) to the script manually. If you could specify a list of Interface Identifier and corresponding AAAA records, the script would have all what's needed to update other devices AAAA records as well, because the network prefix (first 64 bit) are the same for all hosts in this network/vlan. This method works fine, where the Interface Identifier is generated using the MAC address (EUI-64).

However, there are some network configurations where random IPv6 addresses are assigned by the DHCPv6 server. In that case, Neighbor Discovery Protocol could be used for a lookup of the full IPv6 address, after the address has changed.

What do you think?

@thcrt
Copy link
Contributor

thcrt commented Dec 16, 2023

Somewhat related to #32.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants