Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Apr 1998 16:04:24 -0600
From:      Jim King <jim.king@mail.sstar.com>
To:        freebsd-stable@FreeBSD.ORG
Subject:   ifconfig alias oddness
Message-ID:  <3.0.5.32.19980401160424.00916680@mail.sstar.com>

next in thread | raw e-mail | index | archive | help
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?



***************************************************************************
* All opinions expressed herein fully  |                                  *
* represent the views of my dogs:      |             Jim King             *
* Shortstop:  "Bark!"                  |     jim.king@mail.sstar.com      *
* Bunny:  "Bark!"                      |  http://www.sstar.com/jim_king/  *
***************************************************************************


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?3.0.5.32.19980401160424.00916680>