Re: [squid-users] maximum netowrk interfaces

From: Nicolás Ruiz <nicolas@dont-contact.us>
Date: Mon, 12 Mar 2007 18:49:59 -0400

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

William.Z.Holder@transport.qld.gov.au wrote:
> While this is not strictly a squid question,
>
> does anyone know the maximum number of virtual interfaces that can be
> created on a Linux box? I've got a proposal being shoved at me to create a
> virtual interface per section here at work and have individual squids
> listening to those interfaces (don't get me started on how bad that idea
> is).

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.

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

- --
A: Because it destroys the flow of conversation.
Q: Why is top posting dumb?
- --
Juan Nicolás Ruiz | Corporación Parque Tecnológico de Mérida
                     | Centro de Cálculo Cientifico ULA
nicolas@ula.ve | Avenida 4, Edif. Gral Masini, Ofic. B-32
+58-(0)274-252-4192 | Mérida - Edo. Mérida. Venezuela
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF9dkXmjsZS9ZBxv8RAnA7AJ4yoUWobDPZX5tnMK2wflbYkDj26ACbBE4u
IiIJaJonO46p4nhiRc8gzRE=
=WtWd
-----END PGP SIGNATURE-----
Received on Mon Mar 12 2007 - 16:52:15 MDT

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