Re: [squid-users] maximum netowrk interfaces

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Tue, 13 Mar 2007 01:01:42 +0100

mån 2007-03-12 klockan 18:49 -0400 skrev Nicolás Ruiz:

> I just tested on debian with stock kernel 2.6.18:
>
> T=0; while [ $T -lt 255 ]; do echo $T; ifconfig eth0:${T} \
> 192.168.${T}.1 netmask 255.255.255.0 up; T=`expr $T + 1` ; done
>
> and set up 255 virtual interfaces with no problem.

Sidenote: The above does not create virtual interfaces, just labelled IP
addresses on the eth0 interface.

> Somewhat related, I haven't been able to create more than 7 GRE tunnels
> (in case you're using WCCP).

No apparent problem here.. Just created a couple of thousand wccpX gre
interfaces (all unused as I have no WCCP capable router).

Linux-2.6.19 Fedora Core 6.
ip tunnel add wccpX mode gre device eth0 remote X.X.X.X

Regards
Henrik

Received on Mon Mar 12 2007 - 18:01:47 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Mar 31 2007 - 13:00:02 MDT