Re: sysctl, argument parsing, possible bug

From: Cong Wang
Date: Tue Aug 01 2017 - 17:28:08 EST


On Tue, Aug 1, 2017 at 1:47 PM, Massimo Sala <massimo.sala.71@xxxxxxxxx> wrote:
> cat /proc/sys/net/ipv4/conf/eth0.100/forwarding
> 0
>
> sysctl net.ipv4.conf.eth0.100.forwarding
> error: "net.ipv4.conf.eth0.100.forwarding" is an unknown key
>

Use echo instead, sysctl doesn't understand eth0.100
is a netdev name, sigh.