Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

FAQ
It is currently Tue Oct 03, 2023 4:48 pm


Internet Protocol, Transport Control Protocol, Network protocols, Routing, Routers, IP aliases, Routes, Ethernet

Author Message
mandrei99
Post  Post subject: FreeBSD: How to list IPv6 neighbors  |  Posted: Mon Oct 06, 2014 10:00 am

Joined: Tue Aug 04, 2009 9:16 am
Posts: 250

Offline
 

FreeBSD: How to list IPv6 neighbors

FreeBSD uses ndp (Neighbor Discovery Protocol) utility to liste IPv6 information.

Quote from "man ndp":
Quote:
NDP(8) FreeBSD System Manager's Manual NDP(8)

NAME
ndp -- control/diagnose IPv6 neighbor discovery protocol

SYNOPSIS
ndp [-nt] hostname
ndp [-nt] -a | -c | -p
ndp [-nt] -r
ndp [-nt] -H | -P | -R
ndp [-nt] -A wait
ndp [-nt] -d hostname
ndp [-nt] -f filename
ndp [-nt] -i interface [expressions ...]
ndp [-nt] -I [interface | delete]
ndp [-nt] -s nodename etheraddr [temp] [proxy]

DESCRIPTION
The ndp utility manipulates the address mapping table used by the Neigh-
bor Discovery Protocol (NDP).

-a Dump the currently existing NDP entries. The following informa-
tion will be printed:

Neighbor IPv6 address of the neighbor.

Linklayer Address
Linklayer address of the neighbor. It could be
``(incomplete)'' when the address is not available.

Netif Network interface associated with the neighbor cache
entry.

Expire The time until expiry of the entry. The entry could
become ``permanent'', in which case it will never
expire.

S State of the neighbor cache entry, as a single letter:

N Nostate
W Waitdelete
I Incomplete
R Reachable
S Stale
D Delay
P Probe
? Unknown state (should never happen).

Flags Flags on the neighbor cache entry, in a single letter.
They are: Router, proxy neighbor advertisement (``p'').
The field could be followed by a decimal number, which
means the number of NS probes the node has sent during
the current state.



Code:
# ndp -a
Neighbor                             Linklayer Address  Netif Expire    S Flags
fe80::20c:29ff:fe2a:32ba%em1        00:0c:29:2a:32:ba   vmx1 permanent R
fe80::2e21:72ff:fec6:c188%em0       2c:21:72:c6:c1:88   vmx0 23h40m13s S R
fe80::20c:31ff:fe2a:32b0%em0        00:0c:29:2a:32:b0   vmx0 permanent R





Top
Display posts from previous:  Sort by  
E-mail friendPrint view

Topics related to - "FreeBSD: How to list IPv6 neighbors"
 Topics   Author   Replies   Views   Last post 
There are no new unread posts for this topic. Linux: How to list IPv6 neighbors

mandrei99

0

3812

Thu Oct 09, 2014 3:11 am

mandrei99 View the latest post

There are no new unread posts for this topic. IPv6 tunnel - Debian Linux and tunnelbroker.net - IPv6 in IPv4 (ip protocol 41)

mandrei99

0

5080

Sun Feb 01, 2015 4:17 am

mandrei99 View the latest post

There are no new unread posts for this topic. How to accept IPv6 Router Advertisements on interface in FreeBSD

mandrei99

0

3757

Wed Apr 29, 2015 3:54 am

mandrei99 View the latest post

There are no new unread posts for this topic. FreeBSD list interface multicast group membership

mandrei99

0

4618

Tue Dec 03, 2013 9:02 am

mandrei99 View the latest post

There are no new unread posts for this topic. FreeBSD list the outgoing interface for packets to a specific IP destination

mandrei99

0

2905

Mon Jul 22, 2013 10:12 am

mandrei99 View the latest post

There are no new unread posts for this topic. How to force NTP in Debian/Ubuntu to synchronize to IPv4 servers, not IPv6 (default \w both proto)

mandrei99

0

4054

Wed Jun 18, 2014 11:04 am

mandrei99 View the latest post

There are no new unread posts for this topic. KVM: List MAC address table and interface that learned them.

mandrei99

0

4525

Sun Feb 01, 2015 6:26 am

mandrei99 View the latest post

There are no new unread posts for this topic. Linux list the outgoing interface for packets to a specific IP destination

mandrei99

0

3251

Mon Jul 22, 2013 10:17 am

mandrei99 View the latest post

There are no new unread posts for this topic. FreeBSD PF supported icmp types

admin

0

3192

Fri Jan 28, 2011 9:15 am

admin View the latest post

There are no new unread posts for this topic. FreeBSD - multiple routing tables

mandrei99

0

10389

Wed Aug 28, 2013 8:40 am

mandrei99 View the latest post

 

Who is online
Users browsing this forum: No registered users and 0 guests
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to:  
cronNews News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]



phpBB SEO