Re: ip address limit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 13 Aug 2000, Andi Kleen wrote:

> > The number of IP addresses on one interface in kernel 2.2.x is only
> > limited by physical memory as far as I can tell. In a test I was able to
> > assign over 7000 numbers to one eth - worked without problems, only
> > ifconfig took nearly 10 minutes to get me a list (old 233mhz machine
> > with suse 6.4 and suse kernel 2.2.14)
> 
> The 10 minutes were probably caused by the name resolver in ifconfig.
> Try ifconfig -n 

I've been using "ifconfig -n >ifc", and there have been no lookups in the
nameserver-logs (my local nameserver runs with full query logging)

My thought is that it comes from ifconfig grouping and sorting the
interfaces (lo, eth0, eth0:XXXX, cipcb0) - "ip addr" takes about 5 seconds
for the same.

ares:~ # ifconfig --version
net-tools 1.54
ifconfig 1.39 (1999-03-18)

c'ya
sven

ps:
the addresses werde added via
for y in `seq 0 63` ; do for x in `seq 1 254` ; do echo $y $x ; ifconfig
eth0:$[ ( $y * 256 ) + $x ] 10.0.$y.$x broadcast 10.0.$y.255 netmask
255.255.255.0 up ; done ; done

-- 
The Internet treats censorship as a routing problem, and routes around it.
(John Gilmore on http://www.cygnus.com/~gnu/)

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux