From owner-freebsd-questions Thu Oct 2 01:32:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA12810 for questions-outgoing; Thu, 2 Oct 1997 01:32:07 -0700 (PDT) Received: from jupiter.leirianet.pt (jupiter.leirianet.pt [195.23.69.129]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA12792 for ; Thu, 2 Oct 1997 01:32:00 -0700 (PDT) Received: from vortex.pluriproj.pt ([195.23.69.137]) by jupiter.leirianet.pt (8.7.6/8.7.3) with SMTP id JAA21097; Thu, 2 Oct 1997 09:30:18 +0100 From: jm@pluriproj.pt (Jose Monteiro) To: Dan Busarow Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ifconfig alias Date: Thu, 02 Oct 1997 08:31:00 GMT Organization: Pluriproj Lda. Reply-To: Jose Monteiro Message-ID: <34335abd.254404@mail.leirianet.pt> References: In-Reply-To: X-Mailer: Forte Agent 1.5/32.451 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id BAA12806 Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk No dia Tue, 30 Sep 1997 09:58:40 -0700 (PDT), escreveu o seguinte: >On Tue, 30 Sep 1997, Jose Monteiro wrote: >> ifconfig_ed0="inet A.B.C.138 netmask 255.255.255.224" >> ifconfig_ed0_alias0="inet A.B.C.139 netmask 255.255.255.255" >> ifconfig ed0_alias0="inet A.B.C.140 netmask 255.255.255.255" >> ifconfig ed0_alias0="inet A.B.C.141 netmask 255.255.255.255" >> >> Only the first and second IP alias (138, 139) go Up. The others stay >> down. > >Make the additional aliases alias1, alias2, etc... I did. I've changed ifconfig lines in my rc.conf to: ifconfig_ed0="inet A.B.C.138 netmask 255.255.255.224" ifconfig_ed0_alias0="inet A.B.C.139 netmask 255.255.255.255" ifconfig ed0_alias1="inet A.B.C.140 netmask 255.255.255.255" ifconfig ed0_alias2="inet A.B.C.141 netmask 255.255.255.255" But when i rebooted, the same thing happened: Only 138 and 139 wen Up. The others stayed down. So I had to do it manualy as always: # ifconfig ed0 inet A.B.C.140 netmask 255.255.255.255 alias # ifconfig ed0 inet A.B.C.141 netmask 255.255.255.255 alias Why can't I do this in rc.conf? Jose *--------------Jose Monteiro --------------* | Pluriproj - Redes e Sistemas de Comunicacoes Lda. | | Agente IP em Leiria http://www.pluriproj.pt | *.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·* | Tel: +351 44 8182063 Fax: +351 44 8182061 | | Finger me or search key servers for my PGP public key | *-----------------------------------------------------------*