From owner-freebsd-questions Sat Mar 8 20:51:33 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA25163 for questions-outgoing; Sat, 8 Mar 1997 20:51:33 -0800 (PST) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA25156 for ; Sat, 8 Mar 1997 20:51:30 -0800 (PST) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.5/8.6.12) with SMTP id UAA05048; Sat, 8 Mar 1997 20:51:18 -0800 (PST) Date: Sat, 8 Mar 1997 20:51:18 -0800 (PST) From: Doug White X-Sender: dwhite@localhost Reply-To: Doug White To: "Sean J. Schluntz" cc: questions@freebsd.org Subject: Re: ifconfig alias problem/question. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Fri, 7 Mar 1997, Sean J. Schluntz wrote: > I recently added a second IP address to my system for use with Apache for > another domain. > > ifconfig ep0 inet xxx.xxx.xxx.bbb alias Change this to 'ifconfig ep0 inet xxx.xxx.xxx.bbb netmask 255.255.255.255 alias' and it should work. Also see /etc/sysconfig -- for 2.1.6 (or 2.2?) and later there is a way to specify aliases in that file. This way your netstat isn't hosed with every upgrade. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major