Results 1 to 5 of 5

Thread: ndp command is not available

  1. #1
    Join Date
    Oct 2021
    Beans
    6

    ndp command is not available

    No neighbour discovery protocol commands for ip6 make it.
    The equivalent to 'ndp' command, netstat -f inet6 -rn yields an error


    root@scorcher:/etc/gnome# netstat -f inet6
    netstat: feature `AF BLUETOOTH' not supported.
    Please recompile `net-tools' with newer kernel source or full configuration.

    so what's the method to dump the ip6 neighbor cache?

    Please advise

  2. #2
    Join Date
    Dec 2014
    Beans
    2,585

    Re: ndp command is not available

    I think your Google-fu has failed you, young grasshopper

    Searching for 'ipv6 ndp tools linux' has 'ndisc6' as one of the first hits. It's in the repositories and it's description makes me think it's what you're looking for.

    netstat is definitely the wrong tool for this (much too high level ... it's concerned with existing connections, mainly) and the option -f is short for --rfcomm (radio frequency communications ? that would explain the error you get ...). You probably meant 'netstat --protocol=inet6' or 'netstat -A inet6' or 'netstat -6' ...

    Holger

  3. #3
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: ndp command is not available

    Doesn't ip neigh do something similar? I don't use IPv6 (have it disabled on all my systems), but for ipv4, it seems to show the arp table. Is that what you seek?

    The ip manpage has a few other options too.

  4. #4
    Join Date
    Nov 2007
    Location
    London, England
    Beans
    7,702

    Re: ndp command is not available

    Yes, ip neighbor or just ip n for short shows the content of both the IPv4 and IPv6 neighbour caches.

    @Holger_Gehrke: Ooh, thanks. I didn't know of that package.
    Last edited by The Cog; October 2nd, 2021 at 09:29 AM.

  5. #5
    Join Date
    Oct 2021
    Beans
    6

    Re: ndp command is not available

    Thank you all for your insights.
    @Holger_Gerke my arms hurt from lifting that red hot vase.. What say you, holding a pint of Dortmunder Union to it might help?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •