From owner-freebsd-hackers Tue May 16 12:15:08 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id MAA18056 for hackers-outgoing; Tue, 16 May 1995 12:15:08 -0700 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id MAA18050 for ; Tue, 16 May 1995 12:15:05 -0700 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.11/8.6.9) id MAA08933; Tue, 16 May 1995 12:14:36 -0700 From: "Rodney W. Grimes" Message-Id: <199505161914.MAA08933@gndrsh.aac.dev.com> Subject: Re: alias ( secondary IP ) for Ethernet Ifaces in FreeBSD To: erich@rrnet.com (Eric L. Hernes) Date: Tue, 16 May 1995 12:14:36 -0700 (PDT) Cc: rashid@haven.ios.com, hackers@FreeBSD.org In-Reply-To: from "Eric L. Hernes" at May 16, 95 09:13:40 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 831 Sender: hackers-owner@FreeBSD.org Precedence: bulk > > > > On Mon, 15 May 1995, Rashid Karimov. wrote: > > > For example , I have ep0 iface and I want to assign the > > secondary( alias) IP address to it . > > What command should be issued ? > > > > ifconfig ep0 alias 199.199.199.22 > > should be > ifconfig ep0 199.199.199.22 alias > > while we're on the subject is there an ``official'' place in /etc/rc* > that these should go??? Can the alias appear on the same command as the ifconfig that brings the interface up? If so the place to do this is /etc/sysconfig, ifconfig_ep0="blah blah". If not I'll have to enhance the current handling of ifconfig in /etc/netstart and /etc/sysconfig to deal with it. -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD