Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Sep 1997 10:31:52 GMT
From:      jm@pluriproj.pt (Jose Monteiro)
To:        Doug White <dwhite@resnet.uoregon.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: ifconfig alias
Message-ID:  <3432d05f.6802656@mail.leirianet.pt>
In-Reply-To: <Pine.BSF.3.96.970923224403.11475F-100000@gdi.uoregon.edu>
References:  <Pine.BSF.3.96.970923224403.11475F-100000@gdi.uoregon.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
No dia Tue, 23 Sep 1997 22:44:35 -0700 (PDT), escreveu o seguinte:

>> How do I use the alias operand in ifconfig?
>
>ifconfig <interface> <IP of alias> 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 <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?3432d05f.6802656>