• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

How to create a static NDP entry

Scheduled Pinned Locked Moved General pfSense Questions
5 Posts 2 Posters 766 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E
    Evolve 0
    last edited by Dec 9, 2022, 10:20 AM

    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

    J 1 Reply Last reply Dec 9, 2022, 2:29 PM Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator @Evolve 0
      last edited by johnpoz Dec 9, 2022, 2:30 PM Dec 9, 2022, 2:29 PM

      @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

      dhcpv6.jpg

      dhcpv6a.jpg

      An intelligent man is sometimes forced to be drunk to spend time with his fools
      If you get confused: Listen to the Music Play
      Please don't Chat/PM me for help, unless mod related
      SG-4860 24.11 | Lab VMs 2.7.2, 24.11

      E 1 Reply Last reply Dec 9, 2022, 2:45 PM Reply Quote 1
      • E
        Evolve 0 @johnpoz
        last edited by Dec 9, 2022, 2:45 PM

        @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

        J 1 Reply Last reply Dec 9, 2022, 3:07 PM Reply Quote 0
        • J
          johnpoz LAYER 8 Global Moderator @Evolve 0
          last edited by Dec 9, 2022, 3:07 PM

          @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..

          ndp.jpg

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.7.2, 24.11

          E 1 Reply Last reply Dec 9, 2022, 3:10 PM Reply Quote 1
          • E
            Evolve 0 @johnpoz
            last edited by Dec 9, 2022, 3:10 PM

            @johnpoz Ok, that is great anyway.

            Really thank you.

            1 Reply Last reply Reply Quote 0
            4 out of 5
            • First post
              4/5
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
              This community forum collects and processes your personal information.
              consent.not_received