Skip to contentSkip to conversation

Cannot re-enable 'auto' for IPv6 link local?

DISCUSSION Ben Greear 2 participants 3 messages Sep 24, 2013

Subsystems (2)
lore
Share & tools
lore

Ben Greear

author
#0 lore raw

At one time, I'm fairly certain this worked, but not having much luck in a hacked 3.9.11+ kernel:

The goal is to enable the link-local address to be auto-configured. At start of this, there is no /proc/sys/net/ipv6/config/eth30 dir because all IPv6 addrs were removed (I suppose).

# ./local/sbin/ip -6 addr add 2345::18 dev eth30
# echo 1 > /proc/sys/net/ipv6/conf/eth30/autoconf
# cat /proc/sys/net/ipv6/conf/eth30/autoconf
1
# ./local/sbin/ip -6 addr del 2345::18 dev eth30
# cat /proc/sys/net/ipv6/conf/eth30/autoconf
cat: /proc/sys/net/ipv6/conf/eth30/autoconf: No such file or directory

What is the proper way to turn on ipv6 auto configuration?

Thanks,
Ben

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com
#1 lore raw
Quoted 16 lines · Ben Greear

At one time, I'm fairly certain this worked, but not having much luck in a hacked 3.9.11+ kernel:

The goal is to enable the link-local address to be auto-configured. At start of this, there is no /proc/sys/net/ipv6/config/eth30 dir because all IPv6 addrs were removed (I suppose).

# ./local/sbin/ip -6 addr add 2345::18 dev eth30
# echo 1 > /proc/sys/net/ipv6/conf/eth30/autoconf
# cat /proc/sys/net/ipv6/conf/eth30/autoconf
1
# ./local/sbin/ip -6 addr del 2345::18 dev eth30
# cat /proc/sys/net/ipv6/conf/eth30/autoconf
cat: /proc/sys/net/ipv6/conf/eth30/autoconf: No such file or directory
Quoted 1 line

What is the proper way to turn on ipv6 auto configuration?

This issue is fixed by commit 876fd05ddbae03166e7037fca957b55bb3be6594 ("ipv6:
don't disable interface if last ipv6 address is removed").

Greetings,

Hannes

author
#2 lore raw
Quoted 17 lines · Hannes Frederic Sowa
Quoted 16 lines · Ben Greear

At one time, I'm fairly certain this worked, but not having much luck in a hacked 3.9.11+ kernel:

The goal is to enable the link-local address to be auto-configured. At start of this, there is no /proc/sys/net/ipv6/config/eth30 dir because all IPv6 addrs were removed (I suppose).

# ./local/sbin/ip -6 addr add 2345::18 dev eth30
# echo 1 > /proc/sys/net/ipv6/conf/eth30/autoconf
# cat /proc/sys/net/ipv6/conf/eth30/autoconf
1
# ./local/sbin/ip -6 addr del 2345::18 dev eth30
# cat /proc/sys/net/ipv6/conf/eth30/autoconf
cat: /proc/sys/net/ipv6/conf/eth30/autoconf: No such file or directory
Quoted 9 lines
Quoted 1 line

What is the proper way to turn on ipv6 auto configuration?

This issue is fixed by commit 876fd05ddbae03166e7037fca957b55bb3be6594 ("ipv6:
don't disable interface if last ipv6 address is removed").

Greetings,

Hannes

Thanks!

I'll add that to my 3.9 kernel.

A secondary problem in my case is that the NIC and/or fibre cable has issues and it had just lost link and I did not notice right away...

Thanks,
Ben

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com