Date: Wed, 11 Aug 1999 13:47:36 -0500 From: "Alejandro Ramirez" <ales@megared.net.mx> To: "Matthias Meyser" <Matthias.Meyser@harz.de>, <freebsd-questions@FreeBSD.ORG> Subject: RE: virtual ip's in rc.conf Message-ID: <039801bee429$fafe1460$fca3f9cf@megared.net.mx> References: <Pine.SOL.4.10.9908111411100.11496-100000@Stratus.CAM.ORG> <19990811203111.A2826@xenetserver.harz.de>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- From: Matthias Meyser <Matthias.Meyser@harz.de> To: <freebsd-questions@FreeBSD.ORG> Sent: Wednesday, August 11, 1999 1:31 PM Subject: Re: virtual ip's in rc.conf > 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" Shouldnt this be??? ifconfig_ed0_alias0="inet 192.168.0.2 netmask 255.255.255.255" ifconfig_ed0_alias1="inet 192.168.0.3 netmask 255.255.255.255" Ales 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?039801bee429$fafe1460$fca3f9cf>