sysctl: cannot stat /proc/sys/net/ipv4/ipv4_forward: No such file or directory

问题:

[root@monitor01 network-scripts]# sysctl -p 
sysctl: cannot stat /proc/sys/net/ipv4/ipv4_forward: No such file or directory

加载驱动

[root@monitor01 network-scripts]# modprobe ip_tables

[root@monitor01 network-scripts]# ll /proc/sys/net/ipv4/ip_forward

你可能感兴趣的:(sysctl: cannot stat /proc/sys/net/ipv4/ipv4_forward: No such file or directory)