Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Dec 1995 20:29:27 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        mitayai@dreaming.org (Will Mitayai Keeso Rowe)
Cc:        freebsd-hackers@freebsd.org (FreeBSD hackers)
Subject:   Re: *** HELP! ifconfig aliases!? ***
Message-ID:  <199512041929.UAA08979@uriah.heep.sax.de>
In-Reply-To: <Pine.BSF.3.91.951204070808.18053A-100000@dreamlabs.dreaming.org> from "Will Mitayai Keeso Rowe" at Dec 4, 95 07:14:39 am

next in thread | previous in thread | raw e-mail | index | archive | help
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. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512041929.UAA08979>