From owner-freebsd-hackers Mon Dec 4 14:58:09 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA08827 for hackers-outgoing; Mon, 4 Dec 1995 14:58:09 -0800 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id OAA08808 for ; Mon, 4 Dec 1995 14:57:57 -0800 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id XAA15197; Mon, 4 Dec 1995 23:56:06 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id XAA00722; Mon, 4 Dec 1995 23:56:04 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id UAA08979; Mon, 4 Dec 1995 20:29:27 +0100 From: J Wunsch Message-Id: <199512041929.UAA08979@uriah.heep.sax.de> Subject: Re: *** HELP! ifconfig aliases!? *** To: mitayai@dreaming.org (Will Mitayai Keeso Rowe) Date: Mon, 4 Dec 1995 20:29:27 +0100 (MET) Cc: freebsd-hackers@freebsd.org (FreeBSD hackers) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: from "Will Mitayai Keeso Rowe" at Dec 4, 95 07:14:39 am X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 856 Sender: owner-hackers@freebsd.org Precedence: bulk As Will Mitayai Keeso Rowe wrote: > > ifconfig tun0 alias 198.96.119.1 netmask 0xffffffff > > and got: > > ifconfig: ioctl (SIOCAIFADDR): Destination address required > > so, after checking out the man page, i determined that it should be: > > ifconfig tun0 198.96.119.1 198.96.119.129 netmask 0xffffffff alias > > but that still gave me the error: > > ifconfig: ioctl (SIOCAIFADDR): File exists > > any ideas? Seems that you cannot alias a ``pointopoint'' interface. (Actually, i don't see how it should work: the local and the remote address of a pointopoint link must match the configuration of the remote peer -- how would you arrange this if one side has more than one address?) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)