Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!news.nd.edu!feeder.chicago.cic.net!chi-news.cic.net!news.bright.net!usenet.eel.ufl.edu!news.mathworks.com!www.nntp.primenet.com!nntp.primenet.com!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail From: brian@anorak.coverform.lan (Brian Somers) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Alias IP to a Network Card Date: 30 Oct 1996 15:36:53 -0000 Organization: Coverform Ltd. Lines: 36 Sender: brian@awfulhak.demon.co.uk Message-ID: <557sml$2pf@anorak.coverform.lan> References: <3273DD7D.4CE7@sheltonlink.com> <32755D6C.167E@dpcsys.com> Reply-To: brian@awfulhak.demon.co.uk NNTP-Posting-Host: anorak.coverform.lan X-NNTP-Posting-Host: awfulhak.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Newsreader: knews 0.9.8 In article <32755D6C.167E@dpcsys.com>, Dan Busarow <dan@dpcsys.com> writes: : Butch Evans wrote: >> >> I am trying to set up an alias for my webserver (Apache 1.1.1) under >> FreeBSD 2.1. I have read the FAQ, and it said use >> >> ifconfig_<interface> "inet <ip> netmask 0xffffffff alias" >> >> This just killed my main IP...I have tried several of the other : : Did you make an extra entry in network_interfaces ? : e.g. network_interfaces="lo0 ed1 ed1 ed1" This won't work, not unless "working" means doing the same thing three times :( If you want it to happen at boot up time, stick something in /etc/start_if.??? where ??? is your interface (ed1 or whatever). For example, in /etc/sysconfig: network_interfaces="lo0 ed0" ifconfig_lo0="inet 127.0.0.1" ifconfig_ed0="up" and in /etc/start_if.ed0: ifconfig ed0 inet 10.0.0.1 netmask 0xffffff00 ifconfig ed0 inet 1.2.3.4 netmask 0xffffffff alias ifconfig ed0 inet 5.6.7.8 netmask 0xffffffff alias -- Brian <brian@awfulhak.demon.co.uk> <http://www.awfulhak.demon.co.uk/> Don't _EVER_ lose your sense of humour.... .