From owner-freebsd-net Wed Feb 14 13:27:48 2001 Delivered-To: freebsd-net@freebsd.org Received: from daemon.best.ca (cr262311-a.lngly1.bc.wave.home.com [24.113.173.186]) by hub.freebsd.org (Postfix) with ESMTP id A654537B401 for ; Wed, 14 Feb 2001 13:27:44 -0800 (PST) Received: by daemon.best.ca (Postfix, from userid 1000) id 6409FD7108; Wed, 14 Feb 2001 13:27:42 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by daemon.best.ca (Postfix) with ESMTP id A8DCDC9820; Wed, 14 Feb 2001 13:27:42 -0800 (PST) Date: Wed, 14 Feb 2001 13:27:42 -0800 (PST) From: Richard Furda To: Aaron Weiker Cc: "'Drew J. Weaver'" , "'net@freebsd.org'" Subject: RE: Adding IP aliases In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, On Wed, 14 Feb 2001, Aaron Weiker wrote: > Best place to look is check out the man of ifconfig > > This will give you the syntax for it. I then edited my /etc/rc.network and > put that command in there to create the alias when the server was rebooted. /etc/rc.network is not the place to add aliases. Please look at the examples in /etc/defaults/rc.conf ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias entry. these should be placed into /etc/rc.conf > Does anyone know of a FAQ or HOWTO for adding IP aliases to a > FreeBSD box? I can do it under linux and Im just wondering if there are any > differences or what-not. Rich To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message