Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Dec 1996 23:10:28 +1100 (EST)
From:      David Nugent <davidn@sdev.usn.blaze.net.au>
To:        Steve Reid <steve@edmweb.com>
Cc:        "Victor A. Sudakov" <victor@vas.tomsk.su>, freebsd-questions@freebsd.org
Subject:   Re: "talk" does not work. Please help.
Message-ID:  <Pine.BSF.3.95.961210230209.3413J-100000@sdev.usn.blaze.net.au>
In-Reply-To: <Pine.BSF.3.91.961209122642.1039A-100000@bitbucket.edmweb.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 9 Dec 1996, Steve Reid wrote:

>> 1. What does this "ifconfig: ioctl (SIOCAIFADDR): File exists" message mean?
>>    Is it an error?
>
>Not sure. I wouldn't worry about it too much. The "File exists" might seem
>especially confusing, unless you consider the similarity between sockets
>and files. *shrug*


I must admit that I've found this confusing too when working on
2.1.x machines, but this behaviour seems to be fixed in -current.

I spent half an hour only a couple of days ago on a 2.1.5 machine
to add alias to an ed1 driver which hung the machine /reliably/,
every time. We ended up putting the the aliases on the loopback,
which is where I first saw this behaviour with the SIOCAIFADDR
error. Later, I tried the same thing on my -current machine and
it worked fine, both on the ed driver and loopback - no hang, no
unnecessary error message either.


>> 2. How can I assign the 10.0.0.1 alias to lo0 automatically on
>>    startup? I do not like the idea of issuing this command
>>    manually after each reboot. Shall I put it into some kind of
>>    startup file?
>
>In /etc/sysconfig there are lines like this:
>
>network_interfaces="lo0"
>ifconfig_lo0="inet localhost"
>
>I guess you should add something like this: 
>
>ifconfig_lo0="inet 10.0.0.1 alias"

You can also set variables ifconfig_<interface>_alias<number> in
/etc/sysconfig, at least in -current. I'm not entirely sure if
that is available in 2.2's /etc/netstart. 


Regards,

David Nugent, Unique Computing Pty Ltd - Melbourne, Australia
Voice +61-3-9791-9547 Data/BBS +61-3-9792-3507 3:632/348@fidonet
davidn@blaze.net.au http://www.blaze.net.au/~davidn




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.961210230209.3413J-100000>