*BSD News Article 52331


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!news.mathworks.com!fu-berlin.de!zrz.TU-Berlin.DE!cs.tu-berlin.de!fauern!news.tu-chemnitz.de!irz401!uriah.heep!not-for-mail
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: ip aliasing
Date: 3 Oct 1995 16:24:11 +0100
Organization: Private FreeBSD site, Dresden.
Lines: 13
Message-ID: <44rkir$d3n@uriah.heep.sax.de>
References: <44pjfu$2o7@news.cerf.net>
NNTP-Posting-Host: uriah.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

In article <44pjfu$2o7@news.cerf.net>, Fred M  <fredm@starone.com> wrote:
>I want to have 3 different ip no on the same FBSD 2.05 
>System to use it with apachie httpd. 
>I used the alias option in my sysconfig but it did not work

This is a FAQ now.  Use "netmask 0xffffff00" (or whatever is
appropriate) for the first IP address, and "netmask 0xffffffff" for
all aliases that happen to be in the same (sub)net as the primary one.
-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)