Skip to contentSkip to conversation

New: Not all IPs are shown by "ip addr show"

Bugme-new Andrew Morton 1 participant 1 message Aug 10, 2007 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]/

#1 lore raw
Quoted 17 lines · On Fri, 10 Aug 2007 05:58:25 -0700 (PDT) [email protected] wrote:

http://bugzilla.kernel.org/show_bug.cgi?id=8876

           Summary: Not all IPs are shown by "ip addr show"
           Product: Networking
           Version: 2.5
     KernelVersion: >=2.6.22 (2.6.23.x too)
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: high
          Priority: P1
         Component: IPV4
        AssignedTo: [email protected]
        ReportedBy: [email protected]
Quoted 1 line

Most recent kernel where this bug did not occur: 2.6.21.x

a regression.

Quoted 17 lines

Distribution: no matter
Hardware Environment: generic i686
Software Environment: GNU
Problem Description:
Not all ips are shown by "ip addr show" command when IPs number assigned to an interface is more than 60-80 (in fact it depends on broadcast/label etc presence on each address).

Steps to reproduce:
It's terribly simple to reproduce:

# for i in $(seq 1 100); do ip ad add 10.0.$i.1/24 dev eth10 ; done
# ip addr show

this will _not_ show all IPs.
Looks like the problem is in netlink/ipv4 message processing.