*BSD News Article 49970


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!newshost.marcam.com!news.mathworks.com!gatech!howland.reston.ans.net!news.sprintlink.net!mv!mv.mv.com!shaman
From: shaman@mv.mv.com (Coranth Gryphon)
Subject: Re: multiple IP addresses per interface
Message-ID: <DE7G79.CwE@mv.mv.com>
Nntp-Posting-Host: mv.mv.com
Sender: usenet@mv.mv.com (System Administrator)
Organization: MV Communications, Inc.
Date: Fri, 1 Sep 1995 02:28:21 GMT
References: <423m4d$43d@almond.elite.net> <4240ci$c8j@gate.sinica.edu.tw>
Lines: 23

>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 alias 1.2.3.4 netmask 255.255.255.255

Works great here.

-coranth


--------------------------------------------------------+----------------------
Coranth Gryphon                                         | Reality exists on a
                                                        |   need-to-know basis.
E-Mail: gryphon@healer.com, shaman@mv.mv.com            |
Pager: (603) 599-0357       Phone: (603) 598-3440       | You do not currently
US-Mail: 11 Carver Street, Nashua, NH  03060-2518       |   need to know
Disclaimer: All these words are yours, except Europa... +----------------------