Skip to contentSkip to conversation

No interfaces under /proc/sys/net/ipv4/conf/

DISCUSSION Hasso Tepper 1 participant 3 messages Jun 21, 2006 – Jun 22, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

After upgrade to 2.6.16.20 from 2.6.11 I discovered that no dynamic interfaces (vlans, tunnels) appear under /proc/sys/net/ipv4/conf/. /proc/sys/net/ipv6/conf/ is OK.

Bug? Or feature?

with my best wishes,

Signature · 1 line
Hasso Tepper
#1 lore raw
Quoted 3 lines · Hasso Tepper

After upgrade to 2.6.16.20 from 2.6.11 I discovered that no dynamic interfaces (vlans, tunnels) appear under /proc/sys/net/ipv4/conf/. /proc/sys/net/ipv6/conf/ is OK.

OK, realised out that it's feature. Entries in /proc/sys/net/*/conf/ are not created if interface doesn't have at least one ipv4/ipv6 address.

I can think of workarounds for most of problems (although it breaks a hell lot of software here), but how I suppose to configure ipv6 settings for interfaces which have to obtain global ipv6 address via autoconf so that it will work even if cable is not plugged in? I did via /etc/sysctl.conf, but now ... machine boots with no link => no link-local address => no /proc/sys/net/ipv6/conf/<interfce> => configuration fails.

regards,

Signature · 1 line
Hasso Tepper
#2 lore raw

Hasso Tepper:

Quoted 7 lines

I can think of workarounds for most of problems (although it breaks a hell lot of software here), but how I suppose to configure ipv6 settings for interfaces which have to obtain global ipv6 address via autoconf so that it will work even if cable is not plugged in? I did via /etc/sysctl.conf, but now ... machine boots with no link => no link-local address => no /proc/sys/net/ipv6/conf/<interfce> => configuration fails.

Just realized (via practical experience) that same question applies to interfaces configured via dhcp.

regards,

Signature · 1 line
Hasso Tepper