* Kernel 2.6.33-2 - ip -6 addr list does not show any addresses
@ 2010-05-05 14:43 Samuel Suter
0 siblings, 0 replies; only message in thread
From: Samuel Suter @ 2010-05-05 14:43 UTC (permalink / raw)
To: netdev
Hello all
I am repeatedly hitting a problem on two of my servers running
kernel.org 2.6.33-2 on Debian 5.0 x86_64 using the Debian 5.0 stable
iproute package (iproute2-ss080725).
There is a clear discrepancy between the information returned by
'ifconfig' and 'ip addr' (or 'ip -6 addr'). This server has 26 physical
interfaces and ifconfig lists all of them with all their assigned
addresses, but 'ip addr' only lists my loopback and one of the interfaces.
The actual problem emerges when I try and flush all addresses and add
them again:
# ip -6 addr flush dev eth24
Nothing to flush.
# ip -6 addr add 2001:470:921b:7845::3d/64 dev eth24
RTNETLINK answers: File exists
# ifconfig eth24
eth24 Link encap:Ethernet HWaddr 00:22:19:c4:7a:1d
inet addr:10.7.24.61 Bcast:0.0.0.0 Mask:255.255.255.128
inet6 addr: 2001:470:921b:7845::77/64 Scope:Global
inet6 addr: 2001:470:921b:7845::66/64 Scope:Global
inet6 addr: 2001:470:921b:7845::55/64 Scope:Global
inet6 addr: 2001:470:921b:7845::44/64 Scope:Global
inet6 addr: 2001:470:921b:7845::76/64 Scope:Global
inet6 addr: 2001:470:921b:7845::67/64 Scope:Global
.
.
.
# ip -6 addr list dev eth24
#
This shows that 'ifconfig' knows about these addresses, but 'ip' does
not. All the IPv6 addresses show up in /proc/net/if_inet6.
# grep eth24 /proc/net/if_inet6 | wc -l
57
# ifconfig eth24 | grep inet6 | wc -l
57
This leaves me in a situation where I an unable to flush the IP
addresses on a device.
This problem seems to happen more often on a server running kernel.org
2.6.33-2 kernel as opposed to the Debian patched 2.6.26, though it did
happen with the debian kernel.
Regards
Samuel Suter
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-05-05 15:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-05 14:43 Kernel 2.6.33-2 - ip -6 addr list does not show any addresses Samuel Suter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox