Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 19 Feb 2002 13:06:10 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 19 Feb 2002 13:06:03 -0500 Received: from ip68-9-58-254.ri.ri.cox.net ([68.9.58.254]:62762 "EHLO Booterz.killerlabs.com") by vger.kernel.org with ESMTP id ; Tue, 19 Feb 2002 13:05:45 -0500 Message-ID: <3C729381.6050105@blue-labs.org> Date: Tue, 19 Feb 2002 13:03:45 -0500 From: David Ford User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8+) Gecko/20020217 X-Accept-Language: en-us MIME-Version: 1.0 To: Jim Roland CC: linux-kernel@vger.kernel.org Subject: Re: Kernel ethernet alias limit In-Reply-To: <000701c1b929$33a47c60$ab9eef0c@jimws> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms060404050901090308010707" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org This is a cryptographically signed message in MIME format. --------------ms060404050901090308010707 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit You don't need dummy ethN:N interfaces. Use the iproute2 tools, 'ip' specifically. ip link set eth0 down ip address flush eth0 ip address add 1.2.3.4/24 brd + dev eth0 ip address add 1.2.3.5/25 brd + dev eth0 ip address add ....to your heart's content ip link set eth0 up ip route add default via 2.3.8.9 via 5.4.3.2 dev eth0 See the scripts on http://blue-labs.org/ for some examples. David Jim Roland wrote: >I seem to remember back in either Kernel 2.0 or 2.2 there was a limit of 256 >aliases within the ethX aliasing (eg, eth0, then eth0:0 thru eth0:255). > >Has the limit on this been expanded with Kernel 2.4, is it stable and/or >advised? I have a need to bind more than 256 addresses to a single >interface. Without installing additional network cards. > >Thanks, >Jim Roland, RHCE > > >- >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/ > --------------ms060404050901090308010707 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJUTCC Aw4wggJ3oAMCAQICAwZepDANBgkqhkiG9w0BAQIFADCBkjELMAkGA1UEBhMCWkExFTATBgNV BAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMQ8wDQYDVQQKEwZUaGF3dGUx HTAbBgNVBAsTFENlcnRpZmljYXRlIFNlcnZpY2VzMSgwJgYDVQQDEx9QZXJzb25hbCBGcmVl bWFpbCBSU0EgMjAwMC44LjMwMB4XDTAxMTIyMjA4MzkyMFoXDTAyMTIyMjA4MzkyMFowSjEf MB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEnMCUGCSqGSIb3DQEJARYYZGF2aWQr Y2VydEBibHVlLWxhYnMub3JnMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsoCV YNGPjureulr7FgVUurk6LiiozxKNqk7YgdbsUZoZ80KCKIjveE7ukwKi6A980uA9lJxXWqcU RVu/SHCt/G/DXXu4WXrcQR8mflKbISnGAVPKKN4LiZZEbFZ/RxZgUQ/2OzOGt00oHuQ1TvWX NPxKYxwUhVLh4tw9XlNDK7qQHdanp5mzuZdpuMgq1pilDdhYa5i/L87f7aF0SoDKlCBvnhSw LNe2BV6NBXNhhgJE6dz6qD9B8cgsSZWccHFjFF4lO23hMl/DlFK0GMa7DcWfz891+0dI39w2 KO7wg8FUVnzrZHoDAsPZ2vI2O3eowLiGQR5LWq9Ppa02jPjbKwIDAQABozUwMzAjBgNVHREE HDAagRhkYXZpZCtjZXJ0QGJsdWUtbGFicy5vcmcwDAYDVR0TAQH/BAIwADANBgkqhki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Yjmkp+dgN/Dr0epsWUwjBnd+YGZ591Bopi7jV1OJeJQqTx01ZhhSQQ3Qn2Q6KOdRQ49lamnS GOadGVqsagJJA4AjR4X3C3gECs34SJZavsIzyz66jzJM1saj1kQ4hGmq//ka7HIu6Tu86oDu tTYnthvKXRIo31J9u3w7BKvngjVhl1WXLab0wAxvvnKOSB6O7f0q07d2I9k+2GEsvjRPtlRv toptUg9miJ8AAAAAAAA= --------------ms060404050901090308010707-- - 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/