Skip to contentSkip to conversation

Maximum simultaneous interfaces ppp

DISCUSSION Julio Rodanes - KNET 3 participants 5 messages Mar 20, 2006 – Mar 22, 2006 PPP protocol drivers and compressors

lore
Share & tools
lore
#0 lore raw

Hi
How many interfaces ppp is possible create with ppp-2.4.2 and kernel 2.4.22 ? Is 100 interfaces ppp the max limit??

Thanks.

#1 lore raw
Quoted 2 lines · Julio Rodanes - KNET

How many interfaces ppp is possible create with ppp-2.4.2 and kernel 2.4.22 ? Is 100 interfaces ppp the max limit??

There is no hard limit, you can create as many as you like within the constraints of the amount of memory your machine has.

Paul.

#2 lore raw
In reply to Julio Rodanes - KNET
Quoted 6 lines · Paul Mackerras
Quoted 2 lines · Julio Rodanes - KNET

How many interfaces ppp is possible create with ppp-2.4.2 and kernel 2.4.22 ? Is 100 interfaces ppp the max limit??

There is no hard limit, you can create as many as you like within the constraints of the amount of memory your machine has.

Are you sure about that, Paul?

2.4.22 net/core/dev.c has a limit of 100 on dev_alloc_name(). 2.6.15 net/core/dev.c has a limit of 8*8*PAGE_SIZE.

Signature · 2 lines
James Cameron
http://ftp.hp.com.au/sigs/jc/
#3 lore raw
In reply to Julio Rodanes - KNET
Quoted 5 lines · James Cameron
Quoted 4 lines · Paul Mackerras
Quoted 2 lines · Julio Rodanes - KNET

How many interfaces ppp is possible create with ppp-2.4.2 and kernel 2.4.22 ? Is 100 interfaces ppp the max limit??

Quoted 7 lines
Quoted 2 lines

There is no hard limit, you can create as many as you like within the constraints of the amount of memory your machine has.

Are you sure about that, Paul?

2.4.22 net/core/dev.c has a limit of 100 on dev_alloc_name(). 2.6.15 net/core/dev.c has a limit of 8*8*PAGE_SIZE.

ppp_generic.c doesn't use dev_alloc_name, it uses its own allocator for unit numbers.

Paul.

#4 lore raw
In reply to Julio Rodanes - KNET
Quoted 2 lines · Paul Mackerras

ppp_generic.c doesn't use dev_alloc_name, it uses its own allocator for unit numbers.

Ah, I see, thanks. Cardmap, neat.

This is great, I can get rid of some old urban legends in the PPTP projects that claim that dev_alloc_name needs to be fixed. People still bring it up, so I'll begin denying the need.

I've certainly tested between 500 and 1000 interfaces on 2.6.15.

Signature · 2 lines
James Cameron
http://ftp.hp.com.au/sigs/jc/