Date: Thu, 02 Oct 1997 08:31:00 GMT From: jm@pluriproj.pt (Jose Monteiro) To: Dan Busarow <dan@dpcsys.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ifconfig alias Message-ID: <34335abd.254404@mail.leirianet.pt> In-Reply-To: <Pine.UW2.3.95.970930095758.9140C-100000@cedb> References: <Pine.UW2.3.95.970930095758.9140C-100000@cedb>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <jm@pluriproj.pt>--------------* | 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 | *-----------------------------------------------------------*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34335abd.254404>