*BSD News Article 50305


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!aggedor.rmit.EDU.AU!goanna.cs.rmit.edu.au!munnari.oz.au!spool.mu.edu!usenet.eel.ufl.edu!news.mathworks.com!tank.news.pipex.net!pipex!in1.uu.net!nctuccca.edu.tw!news.cc.nctu.edu.tw!news.sinica!taob
From: taob@gate.sinica.edu.tw (Brian Tao)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: multiple IP addresses per interface
Date: 31 Aug 1995 09:45:54 GMT
Organization: Institute of Biomedical Sciences, Academia Sinica
Lines: 16
Message-ID: <4240ci$c8j@gate.sinica.edu.tw>
References: <423m4d$43d@almond.elite.net>
NNTP-Posting-Host: @140.109.40.248

In article <423m4d$43d@almond.elite.net>, Nate Lawson <nate@elite.net> wrote:
>
>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.

    Try something like this:

ifconfig ed0 inet 10.1.2.3 netmask 0xffffff00   <--- original
ifconfig ed0 inet 10.1.2.4 netmask 0xffffffff alias
ifconfig ed0 inet 10.1.2.5 netmask 0xffffffff alias
ifconfig ed0 inet 10.1.2.6 netmask 0xffffffff alias
[etc]
-- 
Brian ("Though this be madness, yet there is method in't") Tao
taob@gate.sinica.edu.tw <-- work ........ play --> taob@io.org