*BSD News Article 55595


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!news.kei.com!newsfeed.internetmci.com!btnet!demon!kiss.demon.co.uk
From: phil@zipmail.co.uk (Phil Taylor)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Multiple IP addresses with ifconfig alias
Date: Tue, 28 Nov 1995 12:45:21 GMT
Organization: Lan Systems
Lines: 19
Message-ID: <817563011.22823@kiss.demon.co.uk>
References: <49cknd$fpd@eplet.mira.net.au>
Reply-To: phil@zipmail.co.uk
NNTP-Posting-Host: kiss.demon.co.uk
X-NNTP-Posting-Host: kiss.demon.co.uk
X-Newsreader: Forte Free Agent 1.0.82

robseco@wizard.teksupport.net.au (Rob Secombe) wrote:

>Hi,

>I am running FreeBSD 2.0 with a NE2000 compatible NIC (ed1) and I am 
>trying to add multiple IPs in order to run multple web servers with 
>multiple domains, but it doesn't seem to work. The command I have tried 
>is of the form "ifconfig ed1 inet xxx.xxx.xxx.xxx alias". It doesn't 
>complain when I enter the command but I get no response when trying to 
>ping the alias address.

try 'netmask 0xffffffff' at the end of the ifconfig line !!

Cheers

Phil