From owner-freebsd-questions Tue Sep 30 03:33:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id DAA18367 for questions-outgoing; Tue, 30 Sep 1997 03:33:58 -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 DAA18360 for ; Tue, 30 Sep 1997 03:33:50 -0700 (PDT) Received: from vortex.pluriproj.pt ([195.23.69.137]) by jupiter.leirianet.pt (8.7.6/8.7.3) with SMTP id LAA10739; Tue, 30 Sep 1997 11:31:08 +0100 From: jm@pluriproj.pt (Jose Monteiro) To: Doug White Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ifconfig alias Date: Tue, 30 Sep 1997 10:31:52 GMT Organization: Pluriproj Lda. Reply-To: Jose Monteiro Message-ID: <3432d05f.6802656@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 DAA18362 Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk No dia Tue, 23 Sep 1997 22:44:35 -0700 (PDT), escreveu o seguinte: >> How do I use the alias operand in ifconfig? > >ifconfig netmask 255.255.255.255 alias It works perfectly if i do it on the command line, but when i try to set it up in rc.conf doing: 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. What am I doing wrong? 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 | *-----------------------------------------------------------*