How to create a static NDP entry
-
At System Monitoring — NDP Table | pfSense Documentation (netgate.com) it is explained that an entry in the NDP table (the IPv6 equivalent of Ipv4 ARP) can be permanent, in particular it is stated that if a NDP entry has a value of "Permanent" in the Expiration field than that means that “A static entry either located on the firewall itself (e.g. interface address, VIP) or a static NDP entry.
While I am able to create a static ARP entry I cannot find a way to create a static NDP entry.
Can anybody tell me how to do it?
Thanks a lot
Regards
-
@evolve-0 you would do it with the ndp command pretty much exactly how you can do it with the arp command.
https://www.freebsd.org/cgi/man.cgi?query=ndp&sektion=8
Or the same place you set in for v4 in the dhcp server settings area, but would be in the dhvpv6 area
-
@johnpoz Thanks a lot.
I really appreciate it.
About creating the NDP entry from the GUI I don’t see the equivalent NDP flag "Create an ARP Table Static Entry for this Mac & IP Address pair" that’s shown on the page of the IPv4 DHCP mapping, does this mean that creating a static IPv6 mapping automatically creates a static NDP entry for the MAC address associated with the DUID/IPv6 address static mapping?
Thanks again
-
@evolve-0 my bad - doesn't seem that the dhcpv6 reservation allows for that in the gui.
You would need to use the ndp command directly then..
-
@johnpoz Ok, that is great anyway.
Really thank you.