*BSD News Article 71005


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!news.mira.net.au!vic.news.telstra.net!act.news.telstra.net!psgrain!usenet.eel.ufl.edu!tank.news.pipex.net!pipex!oleane!jussieu.fr!math.ohio-state.edu!uwm.edu!vixen.cso.uiuc.edu!ux5.cso.uiuc.edu!igor
From: igor@students.uiuc.edu (Igor Vladim Roshchin)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Ifconfig aliases
Date: 14 Jun 1996 07:14:14 GMT
Organization: University of Illinois at Urbana
Lines: 18
Message-ID: <4pr3g6$jcb@vixen.cso.uiuc.edu>
References: <31c0b59e.1668024@news.intergate.bc.ca>
NNTP-Posting-Host: ux5.cso.uiuc.edu
X-Newsreader: TIN [version 1.2 PL2]

Jordon Randall (jordon@intergate.bc.ca) wrote:
: Can someone quickly tell me how to make an alias for a second internet
: address on a NIC that already has an internet address bound to it?

: I have these in my sysconfig already:
: ifconfig_ed1="inet 206.87.19.1 netmask 255.255.255.0"
: ifconfig_lo0="inet localhost"

: thanx.


If I am not missing anything, you can issue:

/sbin/ifconfig ed1 alias your.ip.number netmask 0xfffffff00 


IgoR
aka StR@komkon.org