-
Notifications
You must be signed in to change notification settings - Fork 15
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
Bogus hostname 14.LL created when dhcp config has multiple MAC addresses #15
Comments
This does appear to be a parsing error by ip6neigh. But I am curious, what is the use case for a host having 2 MAC addresses, but only 1 IP address? I would think this would thrash your ARP cache, or at a minimum set you up for a duplicate IP address on your network. |
In my use case, I was using it when I have several NICs (two 1G ports and two 10G ports) on a machine, and I want to be able to troubleshoot things by moving the cable around. I have one name + ip for the 1G pair, and a different name + ip for the 10G pair. |
I found another case where I end up having to have two MAC address entries on one host: |
Isn't this the same use case, or are both the MACs active at the same time? |
That's actually the same machine and same NIC twice… it seems like depending on OS, sometimes it sends a dhcp-client-id (the I have a couple of hosts where I've done that to make sure the reservation works. It seems like |
I have some dhcp configs with multiple mac addresses, and it results in a bogus hostname record of
14.LL.home
(wherehome
) is the configured domain.From
/etc/config/dhcp
:In
/tmp/ip6neigh.cache
, I see this:<mac1> <mac2> 14 server10g
So,
14
is picked up as the name.The text was updated successfully, but these errors were encountered: