Date: Fri, 28 Mar 1997 15:34:28 +1100 (EST) From: "Daniel O'Callaghan" <danny@panda.hilink.com.au> To: Sam Magee <webadmin@adsight.com> Cc: freebsd-isp@freebsd.org Subject: Re: Adding secondary ip block Message-ID: <Pine.BSF.3.91.970328153026.18394z-100000@panda.hilink.com.au> In-Reply-To: <Pine.BSF.3.91.970327143310.24868A-100000@adsight.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.970328153026.18394z-100000>
