Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Aug 1999 20:31:11 +0200
From:      Matthias Meyser <Matthias.Meyser@harz.de>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: virtual ip's in rc.conf
Message-ID:  <19990811203111.A2826@xenetserver.harz.de>
In-Reply-To: <Pine.SOL.4.10.9908111411100.11496-100000@Stratus.CAM.ORG>; from Marc Tardif on Wed, Aug 11, 1999 at 02:18:24PM -0400
References:  <Pine.SOL.4.10.9908111411100.11496-100000@Stratus.CAM.ORG>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi MArc
On Wed, Aug 11, 1999 at 02:18:24PM -0400, Marc Tardif wrote:
> Is there a way to set virtual ip's directly in the rc.conf file instead of
> having to type "ifconfig ed0 alias 192.168.0.2 netmask 0xffffffff". This
> is what I have:
> ifconfig_ed0="inet 192.168.0.1 netmask 255.255.255.0"
> ifconfig_ed0="alias 192.168.0.2 netmask 255.255.255.0"
> I looked all over the handbook and all over the mailing list but couldn't
> find anything. If anyone could help, I'd appreciate.

Try it this way :)

ifconfig_ed0="inet 192.168.0.1 netmask 255.255.255.0"
ifconfig_ed0_alias0="inet 192.168.0.2 netmask 255.255.255.0"
ifconfig_ed0_alias1="inet 192.168.0.3 netmask 255.255.255.0"
...

CU
   matthias

-- 
\\   //      N   N EEE TTT Matthias Meyser, Meyser@harz.de
 \\ //  eee  NN  N E    T  Gesellschaft fuer Informations- und 
  \X/  e   e N N N EE   T  Kommunikationssysteme mbH
 // \\ e ee  N  NN E    T  38678 Clausthal-Zellerfeld, Burgstaetter Strasse 6
//   \\ eeee N   N EEE  T  Telefon: +49-5323-94018 Fax: +49-5323-94011


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990811203111.A2826>