Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Feb 1997 21:18:57 -0800
From:      "Jordan K. Hubbard" <jkh@time.cdrom.com>
To:        Brandon Gillespie <brandon@cold.org>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: Which way is 'correct'? (was: Re: Aliases) 
Message-ID:  <29551.856243137@time.cdrom.com>
In-Reply-To: Your message of "Mon, 17 Feb 1997 22:06:51 MST." <Pine.NEB.3.95.970217220512.14077A-100000@cold.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Erm.. Previous to 2.2 I'd say this worked fine.  But after my upgrade to
> 2.2 (actually, just a clean install) doing just the ifconfig no longer
> worked... Actually, it would work at first, but then it wouldn't work.

Must be pilot error - I brought up a 2.2 system from scratch just
a few days ago and it's now serving about 20 virtual IPs using the
/etc/sysconfig hooks for it.  Works great.  The code in netstart
is only doing this:

        # Check to see if aliases need to be added
        alias=0
        while :
        do
                eval ifconfig_args=\$ifconfig_${ifn}_alias${alias}
                if [ -n "${ifconfig_args}" ]; then
                        ifconfig ${ifn} ${ifconfig_args} alias
                        alias=`expr ${alias} + 1`
                else
                        break;
                fi
        done

No arp anywhere.  Works perfectly for me.

					Jordan



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