Hi!

> Setting autconf to "0" for switch parent interfaces and bridge ports is
> okay,

You get really strange problems, if it's not so.

> but unconditionally setting it to "1" is not so ideal - it
> overrules whatever has been set in sysctl.conf (unless conf.all.autoconf
> overrides conf.$iface.autoconf, but I doubt that).

It's not unconditionally, it's only enabled, if the interface "proto" is
"dhcp". So it's configured in uci and you not need to touch this file.
It's much more user friendly.


> Also it should only be done if IPv6 is actually available e.g.
> 
>  [ -d /proc/sys/net/ipv6 ] && sysctl ...

For this reason I do "> /dev/null 2> /dev/null". There is no side effect
if the IPv6 kernel module is not loaded. I think it's a little faster
and smaller, but I can as you say, too.

Alina


_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to