From owner-freebsd-hackers Thu May 22 16:31:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA16645 for hackers-outgoing; Thu, 22 May 1997 16:31:58 -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 QAA16640 for ; Thu, 22 May 1997 16:31:56 -0700 (PDT) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id QAA01123 for ; Thu, 22 May 1997 16:31:20 -0700 (PDT) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma001119; Thu May 22 16:31:20 1997 Received: (from archie@localhost) by bubba.whistle.com (8.8.5/8.6.12) id QAA09008 for freebsd-hackers@freebsd.org; Thu, 22 May 1997 16:31:20 -0700 (PDT) From: Archie Cobbs Message-Id: <199705222331.QAA09008@bubba.whistle.com> Subject: rtinit: wrong ifa To: freebsd-hackers@freebsd.org Date: Thu, 22 May 1997 16:31:20 -0700 (PDT) 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 Huh? You want to know why the heck I'm doing this?? OK... :-) The problem I'm trying to solve is that I want the address 207.76.205.82 to always exist on *some* interface, because I've got services binding to it explicitly (as opposed to INADDR_ANY) -- but the "ed0" interface may be going up or down. Remember that point to point interfaces gladly allow the local address to exist on another interface as well. This is the desired effect... Some questions.. Question #1: Should this be allowed? Question #2: Does FreeBSD allow this? It seems to work... Question #3: Why does the following message appear on the console after ifconfig'ing lo1? rtinit: wrong ifa (0xf083b700) was (0xf07e7580) Question #4: Is it anything to worry about? Thanks, -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com