Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 May 1999 07:25:24 -0700
From:      Graeme Tait <graeme@echidna.com>
To:        Rowan Crowe <rowan@sensation.net.au>, Roger Marquis <marquis@roble.com>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: ifconfig_if0_alias?
Message-ID:  <37456CD4.278E@echidna.com>
References:  <Pine.BSF.4.01.9905211338310.2432-100000@velvet.sensation.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Rowan Crowe wrote:
> 
> 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.


Provided the netmask is 255.255.255.255 .

See http://www.cypher.net/~black/ipalias.html which is listed under 
http://www.freebsd.org/tutorials/ .


-- 
Graeme Tait - Echidna



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?37456CD4.278E>