*BSD News Article 67301


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!metro!metro!asstdc.scgt.oz.au!nsw.news.telstra.net!act.news.telstra.net!vic.news.telstra.net!news.mira.net.au!inquo!in-news.erinet.com!imci5!imci4!newsfeed.internetmci.com!in1.uu.net!nctuccca.edu.tw!voyager.iii.org.tw!news
From: Louis@oneway.com.tw (Serge)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Multiple IP address : what's the limit ?
Date: Mon, 29 Apr 1996 00:49:55 GMT
Organization: SEEDNET InterNetNews News System
Lines: 10
Message-ID: <318411c0.3244904@news.seed.net.tw>
References: <317E4080.41C6@marben.be> <4lmub0$f8q@tribune.concentric.net> <4lonk8$2qd@uriah.heep.sax.de> <4lu9g3$fsg@mirage.nlink.com.br> <3182DFA6.1CBD7BAE@lambert.org>
NNTP-Posting-Host: 203.70.47.6
X-Newsreader: Forte Agent .99d/32.182

:] I am trying to configure my FreeBSD system  as an apache server
:] with multi-homed hosts.
:] What do i have to do to have FreeBSD working with various IP
:] addresses on a single interface?

ifconfig {interface} alias {ip.add.ress.here} netmask 255.255.255.255

For example, ifconfig ed0 alias 203.70.158.2 netmask 255.255.255.255

It works fine for me.