Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 May 1995 12:14:36 -0700 (PDT)
From:      "Rodney W. Grimes" <rgrimes@gndrsh.aac.dev.com>
To:        erich@rrnet.com (Eric L. Hernes)
Cc:        rashid@haven.ios.com, hackers@FreeBSD.org
Subject:   Re: alias ( secondary IP ) for Ethernet Ifaces in FreeBSD
Message-ID:  <199505161914.MAA08933@gndrsh.aac.dev.com>
In-Reply-To: <Pine.3.89.9505160929.A23998-0100000@rrnet.com> from "Eric L. Hernes" at May 16, 95 09:13:40 am

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 
> 
> 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



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