From owner-freebsd-hackers Fri May 23 10:49:18 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id KAA04552 for hackers-outgoing; Fri, 23 May 1997 10:49:18 -0700 (PDT) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA04544 for ; Fri, 23 May 1997 10:49:15 -0700 (PDT) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id KAA06403; Fri, 23 May 1997 10:48:43 -0700 (PDT) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma006401; Fri May 23 10:48:41 1997 Received: (from archie@localhost) by bubba.whistle.com (8.8.5/8.6.12) id KAA06394; Fri, 23 May 1997 10:48:41 -0700 (PDT) From: Archie Cobbs Message-Id: <199705231748.KAA06394@bubba.whistle.com> Subject: Re: rtinit: wrong ifa In-Reply-To: <199705230404.FAA02511@awfulhak.demon.co.uk> from Brian Somers at "May 23, 97 05:04:44 am" To: brian@awfulhak.org (Brian Somers) Date: Fri, 23 May 1997 10:48:41 -0700 (PDT) Cc: freebsd-hackers@freebsd.org X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > I have a fairly recent RELENG_2_2 kernel. Suppose I want to number > > interfaces "lo1" and "ed0" like this: > > > > lo1: flags=8049 mtu 16384 > > inet 207.76.205.82 netmask 0xffffffff > > ed0: flags=8843 mtu 1500 > > inet 207.76.205.82 netmask 0xffffff00 broadcast 207.76.205.255 > > ether 00:60:61:01:03:ec > > You're much better off setting up an alias on lo0 instead of config'ing > another lo. You can do it with a GENERIC kernel (rc.conf even has an > example of this) and it dodges the rtinit error that you're seeing. ... > > rtinit: wrong ifa (0xf083b700) was (0xf07e7580) > > 'cos someone added it about a year ago to warn against conflicting > interfaces. If you use a lo0 alias, this message doesn't appear. Hmm.. on my system, I get the rtinit() message even when doing this... I.e.: $ ifconfig lo0 207.76.205.81 netmask 0xffffffff alias /kernel: rtinit: wrong ifa (0xf0847080) was (0xf0819700) -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com