Date: Thu, 22 May 1997 16:31:20 -0700 (PDT) From: Archie Cobbs <archie@whistle.com> To: freebsd-hackers@freebsd.org Subject: rtinit: wrong ifa Message-ID: <199705222331.QAA09008@bubba.whistle.com>
next in thread | raw e-mail | index | archive | help
I have a fairly recent RELENG_2_2 kernel. Suppose I want to number interfaces "lo1" and "ed0" like this: lo1: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet 207.76.205.82 netmask 0xffffffff ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705222331.QAA09008>