Linux - Neighbor policy
Welcome to the tutorial guide. The tutorial guide will provide a user with guidance and instructions on neighhbor policy.
Dev can either stand for a real interface, or for ‘all’ or ‘default’. Default also changes settings for interfaces yet to be created.
/proc/sys/net/ipv4/neigh/DEV/anycast_delay
Maximum for random delay of answers to neighbor solicitation messages in jiffies (1/100 sec). Not yet implemented (Linux does not have anycast support yet).
/proc/sys/net/ipv4/neigh/DEV/app_solicit
Determines the number of requests to send to the user level ARP daemon. Use 0 to turn off.
/proc/sys/net/ipv4/neigh/DEV/base_reachable_time
A base value used for computing the random reachable time value as specified in RFC2461.
/proc/sys/net/ipv4/neigh/DEV/delay_first_probe_time
Delay for the first time probe if the neighbor is reachable.
/proc/sys/net/ipv4/neigh/DEV/gc_stale_time
Determines how often to check for stale ARP entries. After an ARP entry is stale it will be resolved again (which is useful when an IP address migrates to another machine). When ucast_solicit is greater than 0 it first tries to send an ARP packet directly to the known host When that fails and mcast_solicit is greater than 0, an ARP request is broadcast.
/proc/sys/net/ipv4/neigh/DEV/locktime
An ARP/neighbor entry is only replaced with a new one if the old is at least locktime old. This prevents ARP cache thrashing.
/proc/sys/net/ipv4/neigh/DEV/mcast_solicit
Maximum number of retries for multicast solicitation.
/proc/sys/net/ipv4/neigh/DEV/proxy_delay
Maximum time (real time is random [0..proxytime]) before answering to an ARP request for which we have an proxy ARP entry. In some cases, this is used to prevent network flooding.
/proc/sys/net/ipv4/neigh/DEV/proxy_qlen
Maximum queue length of the delayed proxy arp timer.
/proc/sys/net/ipv4/neigh/DEV/retrans_time
The time, expressed in jiffies (1/100 sec), between retransmitted Neighbor Solicitation messages. Used for address resolution and to determine if a neighbor is unreachable.
/proc/sys/net/ipv4/neigh/DEV/ucast_solicit
Maximum number of retries for unicast solicitation.
/proc/sys/net/ipv4/neigh/DEV/unres_qlen
Maximum queue length for a pending arp request - the number of packets which are accepted from other layers while the ARP address is still resolved.
If you followed the tutorial guide then you would have learnt about neighbour policy.













