On 6/3/26 2:50 PM, Nicolas Dichtel wrote:
Le 01/06/2026 à 16:32, Fernando Fernandez Mancera a écrit :
quoted
Currently, modifying IPv4 interface configuration parameters requires
interacting with sysctl (/proc/sys/net/ipv4/conf/*). While
ip-netconf exists for monitoring these values, there has been no native
way to set them directly through iproute2.
This patch introduces the support for that via 'inet' at the 'ip link
set'. It uses IFLA_INET_CONF netlink attribute to set the parameter.
Example to enable forwarding on an interface:
ip link set dev enp8s0 inet forwarding on
Signed-off-by: Fernando Fernandez Mancera <redacted>
Reviewed-by: Nicolas Dichtel <redacted>
Do you plan to add the ipv6 part also?
Yes, it is cooking but I want to get merged IPv4 first.
Thanks!