*BSD News Article 50440


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!oleane!tank.news.pipex.net!pipex!in2.uu.net!newshost.marcam.com!Empire.Net!news.net99.net!berry.elite.net!almond.elite.net!not-for-mail
From: nate@elite.net (Nate Lawson)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: multiple IP addresses per interface
Date: 30 Aug 1995 23:50:53 -0700
Organization: Elite Networking (Merced, CA)
Lines: 17
Message-ID: <423m4d$43d@almond.elite.net>
NNTP-Posting-Host: nate@elite.net

I have been trying to use the 'alias' option of ifconfig to allow our 
ethernet interface "ed0" to respond to multiple IP's.  I've never done it 
on FreeBSD before, but I understand that the Solaris syntax is as follows:

ifconfig ed0 1.2.3.4
ifconfig ed0 1.2.3.5 alias

ifconfig ed0    1.2.3.4
ifconfig ed0:0  1.2.3.4
ifconfig ed0:1  1.2.3.5

I've tried this and various combinations, but to no avail.  Perhaps I don't
have aliasing enabled in the kernel or some other option.  This is on 
FreeBSD 2.0.5-R.

Thanks for any help,
Nate <nate@elite.net>