Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 May 1999 13:43:54 +1000 (EST)
From:      Rowan Crowe <rowan@sensation.net.au>
To:        freebsd-isp@freebsd.org
Subject:   Re: ifconfig_if0_alias?
Message-ID:  <Pine.BSF.4.01.9905211338310.2432-100000@velvet.sensation.net.au>
In-Reply-To: <Pine.GSO.3.96.990520133018.22203A-100000@roble2.roble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 20 May 1999, Roger Marquis wrote:

> Another problem with FreeBSD aliases is routing.  For reasons which are
> not clear "ifconfig alias" doesn't automatically create a local route
> to the IP.  With FreeBSD 2.2.8 and earlier at least this must be done
> manually:
> 
>   for h in $aliases1; do
>   	route add 207.246.84.$h 127.0.0.1
>   done

???

I have a 14 ifconfig_lo0_aliasX entries in my rc.conf on a FreeBSD 2.2.5-R
machine, and there is no need to add an explicit route. I checked and none
of the /etc/rc.* files seem to add in a route to 127.0.0.1.

On a FreeBSD 2.2.2-R machine I have 16 'ifconfig lo0 alias' commands in
rc._local_ and again there's no need to add a route.

Cheers.


--
Rowan Crowe                              http://www.rowan.sensation.net.au/
Sensation Internet Services                    http://www.sensation.net.au/
Melbourne, Australia                                 Phone: +61-3-9388-9260



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.01.9905211338310.2432-100000>