From owner-freebsd-questions@FreeBSD.ORG Thu Feb 10 23:36:38 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4630C106566B for ; Thu, 10 Feb 2011 23:36:38 +0000 (UTC) (envelope-from universite@ukr.net) Received: from otrada.od.ua (universite-1-pt.tunnel.tserv24.sto1.ipv6.he.net [IPv6:2001:470:27:140::2]) by mx1.freebsd.org (Postfix) with ESMTP id ABF648FC12 for ; Thu, 10 Feb 2011 23:36:37 +0000 (UTC) Received: from [10.0.0.10] (phenom.otrada.od.ua [10.0.0.10]) (authenticated bits=0) by otrada.od.ua (8.14.4/8.14.4) with ESMTP id p1ANaWVb000161 for ; Fri, 11 Feb 2011 01:36:33 +0200 (EET) (envelope-from universite@ukr.net) X-Authentication-Warning: otrada.od.ua: Host phenom.otrada.od.ua [10.0.0.10] claimed to be [10.0.0.10] Message-ID: <4D547675.60506@ukr.net> Date: Fri, 11 Feb 2011 01:36:21 +0200 From: "Vladislav V. Prodan" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: FreeBSD Mailing List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED,AWL autolearn=failed version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mary-teresa.otrada.od.ua X-Virus-Scanned: clamav-milter 0.97 at mary-teresa.otrada.od.ua X-Virus-Status: Clean Subject: how to add a few hundred ip on one interface? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Feb 2011 23:36:38 -0000 only a shell script at startup? or there are other standard tools? Is there a limit on the number of IP on one interface? ## make aliases IP for i in 134 135 136 137 138 139 140 141 142 143 144 145 146 147 do ifconfig re0 xxx.xxx.yyy.$i/23 alias done for j in 134 135 136 137 138 139 140 141 142 143 144 145 146 147 do ifconfig re0 xxx.xxx.xxx.$i/23 alias done -- Vladislav V. Prodan VVP24-UANIC +38[067]4584408 +38[099]4060508 vlad11@jabber.ru