Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Oct 1995 11:21:42 -0500 (CDT)
From:      Joe Greco <jgreco@brasil.moneng.mei.com>
To:        julian@ref.tfs.com (Julian Elischer)
Cc:        hackers@freefall.freebsd.org
Subject:   Re: freebsd and Solaris Ifaliasing
Message-ID:  <199510041621.LAA11627@brasil.moneng.mei.com>
In-Reply-To: <199510040015.RAA00329@ref.tfs.com> from "Julian Elischer" at Oct 3, 95 05:15:38 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> I have a need to alias a couple of interfaces which is ok on FreeBSD
> but I also have to do it under Solaris. (well I can do without it but
> it's going to be a pain)
> is this possible?
> does the BSD4.4 multiple addresses per interface work on solaris?
> I've heard it does but with a differnt syntax
> and can't find a reference anywhere..

Change your

ifconfig le0 whatever-you-had

to

ifconfig le0:0 whatever-you-had
ifconfig le0:1 some-new-alias
ifconfig le0:2 some-other-alias

(I haven't done this in forever, but I'm sure the syntax is right)..

... Joe

-------------------------------------------------------------------------------
Joe Greco - Systems Software Engineer, UNIX/Network Hacker, Etc.   414/362-3617
Marquette Electronics, Inc. - R&D - Milwaukee, WI                jgreco@mei.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510041621.LAA11627>