Date: Wed, 1 Apr 1998 16:21:04 -0600 (CST) From: "Matthew D. Fuller" <fullermd@futuresouth.com> To: Jim King <jim.king@mail.sstar.com> Cc: freebsd-stable@FreeBSD.ORG Subject: Re: ifconfig alias oddness Message-ID: <Pine.BSF.3.96.980401162018.10462K-100000@shell.futuresouth.com> In-Reply-To: <3.0.5.32.19980401160424.00916680@mail.sstar.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 1 Apr 1998, Jim King wrote: > I'm seeing this happen on a 2.2.6-RELEASE system and on a system built from > -stable as of noon today. > > I have de0 configured and working, at IP 206.112.106.11. If I try to add > an alias IP address like this: > > ifconfig de0 inet 206.112.106.55 alias > > I get the message "ifconfig: ioctl (SIOCAIFADDR): File exists". (There is > no other host using 206.112.106.55.) > > However, "ifconfig -a" shows the alias address (in addition to the original > address) on de0, and pinging the alias address from another host is > answered correctly by this host. > > However however, if from this host I try to ping 206.112.106.55 the ping > fails 100% of the time. A little investigation with tcpdump shows that it > sends an ARP who-is 206.112.106.55 but doesn't answer itself. > > The bogus "file exists" message doesn't bother me, but the odd ping-myself > behavior has me a bit worried. Is this a bug, or do I need to go read the > ifconfig man page again? Check your routing tables. If an entry exists for 206.112.106.55, delete it about 3 times in a row (to make sure) and ping yourself again. Are you running routed? That could be doing it... *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* | FreeBSD; the way computers were meant to be | * "The only reason I'm burning my candle at both ends, is * | that I haven't figured out how to light the middle yet."| * fullermd@futuresouth.com :-} MAtthew Fuller * | http://keystone.westminster.edu/~fullermd | *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980401162018.10462K-100000>