* 2.4.x IP aliase max eth0:16 (16 aliases), where to change?
@ 2001-08-07 20:41 Noel Koethe
2001-08-07 20:48 ` Mike Fedyk
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Noel Koethe @ 2001-08-07 20:41 UTC (permalink / raw)
To: linux-kernel
Hello,
The maximum aliases I can configure with a 2.4.x kernel is 16, right?
Where I can change this? I want to use more aliases.
linux/Documentation/networking/alias.txt tells nothing about this limit
and how to change it.
Thank you.
--
Noel
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: 2.4.x IP aliase max eth0:16 (16 aliases), where to change?
2001-08-07 20:41 2.4.x IP aliase max eth0:16 (16 aliases), where to change? Noel Koethe
@ 2001-08-07 20:48 ` Mike Fedyk
2001-08-07 21:08 ` Justin Guyett
2001-08-07 23:14 ` J Sloan
2001-08-08 7:23 ` john slee
2 siblings, 1 reply; 7+ messages in thread
From: Mike Fedyk @ 2001-08-07 20:48 UTC (permalink / raw)
To: linux-kernel
On Tue, Aug 07, 2001 at 10:41:27PM +0200, Noel Koethe wrote:
> Hello,
>
> The maximum aliases I can configure with a 2.4.x kernel is 16, right?
>
> Where I can change this? I want to use more aliases.
> linux/Documentation/networking/alias.txt tells nothing about this limit
> and how to change it.
>
I would stop using the ifconfig aliases now, and start using the iproute
(ip) command that was introduced with the 2.2 kernels.
Someone correct me if I'm wrong, but I don't think you will have trouble
with more than 16 aliases then.
Mike
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.4.x IP aliase max eth0:16 (16 aliases), where to change?
2001-08-07 20:48 ` Mike Fedyk
@ 2001-08-07 21:08 ` Justin Guyett
0 siblings, 0 replies; 7+ messages in thread
From: Justin Guyett @ 2001-08-07 21:08 UTC (permalink / raw)
To: Mike Fedyk; +Cc: linux-kernel
On Tue, 7 Aug 2001, Mike Fedyk wrote:
> I would stop using the ifconfig aliases now, and start using the iproute
> (ip) command that was introduced with the 2.2 kernels.
Plus such aliases are much less ugly. Deleting one will never delete all
others, and maintenence doesn't rely on knowing the alias number of a
particular ip address.
however, afaict, ip provides no way to force link type, and some other
link-layer settings also seem to be missing.
justin
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.4.x IP aliase max eth0:16 (16 aliases), where to change?
2001-08-07 20:41 2.4.x IP aliase max eth0:16 (16 aliases), where to change? Noel Koethe
2001-08-07 20:48 ` Mike Fedyk
@ 2001-08-07 23:14 ` J Sloan
2001-08-08 1:21 ` Dan Podeanu
2001-08-08 7:23 ` john slee
2 siblings, 1 reply; 7+ messages in thread
From: J Sloan @ 2001-08-07 23:14 UTC (permalink / raw)
To: Noel Koethe; +Cc: linux-kernel
Noel Koethe wrote:
> Hello,
>
> The maximum aliases I can configure with a 2.4.x kernel is 16, right?
er... I would expect you could do thousands....
It's really a matter of how much RAM and CPU
you have -
> Where I can change this? I want to use more aliases.
> linux/Documentation/networking/alias.txt tells nothing about this limit
> and how to change it.
I haven't seen any such limit - heck, I had over 200
ethernet aliases on a 2.0.x slackware box back in 1996 -
cu
jjs
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.4.x IP aliase max eth0:16 (16 aliases), where to change?
2001-08-07 23:14 ` J Sloan
@ 2001-08-08 1:21 ` Dan Podeanu
0 siblings, 0 replies; 7+ messages in thread
From: Dan Podeanu @ 2001-08-08 1:21 UTC (permalink / raw)
To: J Sloan; +Cc: Noel Koethe, linux-kernel
> > The maximum aliases I can configure with a 2.4.x kernel is 16, right?
>
> er... I would expect you could do thousands....
Where did you come up with that '16' actually? Why not 3? 17? 100?
Right now I'm running with 2.4.6-ac5, eth0 and 20 aliases for it
(eth0:1..eth0:20). As expected, it didn't complain nor did anything
different for 17th, as opposed to 16th interface. Perhaps you're running
some old net tools/ifconfig, if you tested at all that is.
I have:
net-tools 1.59
ifconfig 1.40 (2000-05-21)
Cheers, Dan.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.4.x IP aliase max eth0:16 (16 aliases), where to change?
2001-08-07 20:41 2.4.x IP aliase max eth0:16 (16 aliases), where to change? Noel Koethe
2001-08-07 20:48 ` Mike Fedyk
2001-08-07 23:14 ` J Sloan
@ 2001-08-08 7:23 ` john slee
2001-08-08 7:44 ` David Lang
2 siblings, 1 reply; 7+ messages in thread
From: john slee @ 2001-08-08 7:23 UTC (permalink / raw)
To: Noel Koethe; +Cc: linux-kernel
On Tue, Aug 07, 2001 at 10:41:27PM +0200, Noel Koethe wrote:
> The maximum aliases I can configure with a 2.4.x kernel is 16, right?
$ /sbin/ifconfig -a | grep -c eth0:
55
and i'm an anti-twiddle person. i've certainly never seen any limit on
this here. i've heard of people with hundreds or even thousands of
aliases...
j.
--
"Bobby, jiggle Grandpa's rat so it looks alive, please" -- gary larson
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.4.x IP aliase max eth0:16 (16 aliases), where to change?
2001-08-08 7:23 ` john slee
@ 2001-08-08 7:44 ` David Lang
0 siblings, 0 replies; 7+ messages in thread
From: David Lang @ 2001-08-08 7:44 UTC (permalink / raw)
To: john slee; +Cc: Noel Koethe, linux-kernel
at least with previous versions it took a kernel source tweak to get more
then 255 aliases.
David Lang
On Wed, 8 Aug 2001, john slee wrote:
> Date: Wed, 8 Aug 2001 17:23:59 +1000
> From: john slee <indigoid@higherplane.net>
> To: Noel Koethe <noel@koethe.net>
> Cc: linux-kernel@vger.kernel.org
> Subject: Re: 2.4.x IP aliase max eth0:16 (16 aliases), where to change?
>
> On Tue, Aug 07, 2001 at 10:41:27PM +0200, Noel Koethe wrote:
> > The maximum aliases I can configure with a 2.4.x kernel is 16, right?
>
> $ /sbin/ifconfig -a | grep -c eth0:
> 55
>
> and i'm an anti-twiddle person. i've certainly never seen any limit on
> this here. i've heard of people with hundreds or even thousands of
> aliases...
>
> j.
>
> --
> "Bobby, jiggle Grandpa's rat so it looks alive, please" -- gary larson
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2001-08-08 9:02 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-07 20:41 2.4.x IP aliase max eth0:16 (16 aliases), where to change? Noel Koethe
2001-08-07 20:48 ` Mike Fedyk
2001-08-07 21:08 ` Justin Guyett
2001-08-07 23:14 ` J Sloan
2001-08-08 1:21 ` Dan Podeanu
2001-08-08 7:23 ` john slee
2001-08-08 7:44 ` David Lang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.