From owner-freebsd-isp Thu Mar 27 20:17:56 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA17881 for isp-outgoing; Thu, 27 Mar 1997 20:17:56 -0800 (PST) Received: from panda.hilink.com.au (panda.hilink.com.au [203.2.144.5]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA17876 for ; Thu, 27 Mar 1997 20:17:52 -0800 (PST) Received: (from danny@localhost) by panda.hilink.com.au (8.8.5/8.7.3) id PAA04802; Fri, 28 Mar 1997 15:34:29 +1100 (EST) Date: Fri, 28 Mar 1997 15:34:28 +1100 (EST) From: "Daniel O'Callaghan" To: Sam Magee cc: freebsd-isp@freebsd.org Subject: Re: Adding secondary ip block In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Thu, 27 Mar 1997, Sam Magee wrote: > I've just added a secondary block of ip addresses from my ISP. > These addresses are for virtual web hosting, which I do now. > The router has been configured to handle it, but how do I > setup the new block as aliases? > > Currently, to setup an alias for my initial address block I use: > > ifconfig ed0 alias 207.86.2.xxx netmask 0xffffffff > route add 207.86.2.xxx 127.0.0.1 > > This has been working fine, but how are the routes to the new block > which is 209.48.24.xxx/26 handled? I'm sure this is in the handbook. If it isn't, it should be. ifconfig lo0 209.48.24.1 netmask 0xffffffff alias ; route add 209.48.24.1 \ 127.0.0.1 .... ifconfig lo0 209.48.24.62 netmask 0xffffffff alias ; route add 209.48.24.62 \ 127.0.0.1 On the router add a route to the FreeBSD box for the subnet. > I'm using 2.1.5 You should upgrade to 2.1.7.1 for lots of security reasons. Danny