From owner-freebsd-net  Mon Dec 21 23:14:04 1998
Return-Path: <owner-freebsd-net@FreeBSD.ORG>
Received: (from majordom@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id XAA10643
          for freebsd-net-outgoing; Mon, 21 Dec 1998 23:14:04 -0800 (PST)
          (envelope-from owner-freebsd-net@FreeBSD.ORG)
Received: from summer.kumagai.nf (kenny42.zip.com.au [61.8.18.170])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA10594
          for <net@FreeBSD.ORG>; Mon, 21 Dec 1998 23:13:58 -0800 (PST)
          (envelope-from shigetoh@zip.com.au)
Received: from localhost (shigetoh@localhost)
	by summer.kumagai.nf (8.8.8/8.8.8) with SMTP id SAA00586;
	Tue, 22 Dec 1998 18:13:24 +1100 (EST)
	(envelope-from shigetoh@zip.com.au)
X-Authentication-Warning: summer.kumagai.nf: shigetoh owned process doing -bs
Date: Tue, 22 Dec 1998 18:13:23 +1100 (EST)
From: Shigetoh Kumagai <shigetoh@zip.com.au>
X-Sender: shigetoh@summer.kumagai.nf
To: Kurt Keller <Kurt@pinboard.com>
cc: net@FreeBSD.ORG
Subject: Re: IP aliases
In-Reply-To: <3.0.5.16.19981221225911.439f4d8a@pop.pbdhome.pinboard.com>
Message-ID: <Pine.BSF.3.95LJ1.1b3.981222180727.23635D-100000@summer.kumagai.nf>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by hub.freebsd.org id XAA10634
Sender: owner-freebsd-net@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org


Kurt,
Have you looked at /etc/rc.conf file? There is a sample setting for
network alias.

------> Sail OZ
Shigetoh Kumagai

On Mon, 21 Dec 1998, Kurt Keller wrote:

> On my FreeBSD 2.2.5 server I need to assign at least one more IP
> address to the ethernet card (only one, not even a slot free for an
> additional card). So I did
> 
>         ifconfig ed1 inet 192.168.0.8 alias
> 
> ifconfig -a shows the additional address together with the already
> assigned one (192.168.0.1) and from other stations, I can also access
> it. However, on the server itself no route is created (netstat -nr) for
> this new virtual interface, neither can the server access itself (ping,
> telnet or anything) on this virtual address. Both addresses, .1 and .8
> are on the same subnet.
> 
> Did I miss something or is this the way FreeBSD is supposed to behave?
> I often do this kind of stuff on Solaris because there are not enough
> sbus slots for the number of token ring interfaces required. On Solaris
> the new virtual interface gets a name of its own (tr0 for the physical
> interface, tr0:1, tr0:2, tr0:3 etc. for the added virtual ones) and
> also the route entries are created accordingly.
> 
> Kurt
> --
>  -------------------------------------------------------------------- 
> Ś Kurt@pinboard.com          http://www.pinboard.com/       business Ś
> Ś                            http://www.pinboard.com/kurt/  private  Ś
> Ś--------------------------------------------------------------------Ś
> Ś                    Unix and Internet Specialist                    Ś
>  -------------------------------------------------------------------- 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-net" in the body of the message
> 
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message