LinuxCommandLibrary

ip-netconf

displays network configuration parameters for interfaces

TLDR

Show all network configuration
$ ip netconf
copy
Show config for specific interface
$ ip netconf show dev eth0
copy
Show only IPv4 configuration
$ ip -4 netconf
copy
Show only IPv6 configuration
$ ip -6 netconf
copy

SYNOPSIS

ip [OPTIONS] netconf { show [ dev NAME ] | help }

DESCRIPTION

ip netconf monitors and displays IPv4 and IPv6 network configuration parameters from /proc/sys/net/ipv[4|6]/conf/. It shows settings like forwarding status, RPF (Reverse Path Filtering) mode, MC forwarding, and proxy ARP/NDP status. If no interface is specified, the all entry is displayed.

PARAMETERS

show

Show network configuration (default if omitted)
dev NAME
Show configuration for specific interface
help
Display help information

OUTPUT FIELDS

forwarding

Whether IP forwarding is enabled
rp_filter
Reverse Path Filtering mode (0=off, 1=strict, 2=loose)
mc_forwarding
Whether multicast forwarding is enabled
proxy_neigh
Whether proxy neighbor (ARP/NDP) is enabled
ignore_routes_with_linkdown
Ignore routes when link is down

CAVEATS

Use -4 or -6 to filter by address family. Configuration can only be changed through sysctl or interface-specific tools, not through ip netconf directly.

SEE ALSO

ip(8), ip-link(8), ip-address(8), sysctl(8)

Copied to clipboard