Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 May 1996 02:44:43 +0100
From:      "Gary Palmer" <gpalmer@FreeBSD.ORG>
To:        "David A. Hauan" <dah@mail.imm.com>
Cc:        Dean Neumann <dneum@telelink.com>, questions@freefall.freebsd.org
Subject:   Re: ifconfig aliasing 
Message-ID:  <18032.832038283@palmer.demon.co.uk>
In-Reply-To: Your message of "Mon, 13 May 1996 18:12:18 PDT." <Pine.BSF.3.91.960513181022.618B-100000@homer.imm.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
"David A. Hauan" wrote in message ID
<Pine.BSF.3.91.960513181022.618B-100000@homer.imm.com>:
> On Mon, 13 May 1996, Dean Neumann wrote:
> 
> > 
> > what is the exact syntax of the "alias" option to ifconfig?
> 
> ifconfig ed0 alias <octet address> <netmask>

actually

ifconfig <interface> alias <ip address> netmask 0xffffffff

if the alias is going to be on the same subnet as the primary address,
or replace the netmask with the real netmask if it's going to be on a
different subnet.

Gary
--
Gary Palmer                                            FreeBSD Core Team Member
FreeBSD - Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info.



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