Date: Mon, 4 Dec 1995 07:14:39 -0500 (EST) From: Will Mitayai Keeso Rowe <mitayai@dreaming.org> To: Greg Lehey <grog@lemis.de> Cc: joerg_wunsch@uriah.heep.sax.de, FreeBSD Hackers <hackers@FreeBSD.ORG> Subject: Re: *** HELP! ifconfig aliases!? *** Message-ID: <Pine.BSF.3.91.951204070808.18053A-100000@dreamlabs.dreaming.org> In-Reply-To: <199512040721.IAA09236@allegro.lemis.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 4 Dec 1995, Greg Lehey wrote: > Date: Mon, 4 Dec 1995 08:21:52 +0100 (MET) > From: Greg Lehey <grog@lemis.de> > To: joerg_wunsch@uriah.heep.sax.de > Cc: FreeBSD Hackers <hackers@FreeBSD.ORG> > Subject: Re: *** HELP! ifconfig aliases!? *** > > J Wunsch writes: > > > > As Ollivier Robert wrote: > > > > > > It seems that Robert Shady said: > > > > sites on it. Doing the standard "ifconfig ed0 alias a.b.c.d" didn't > > > > work, and neither did "ifconfig ed0 alias a.b.c.d netmask 255.255.255.0" > > > > > > Use netmask 0xffffffff for aliases. > > > > ...but only if they are in the same (sub)net as the primary address. > > OK, I'll bite: why? I thought aliases were just an alternative > address, and that they were subject to the same constraints as the > primary address. > > Greg > Hmm... i tried this myself in order to play with the multi-domain aspect of apache as: 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? -Mit ------------------------------------------------------------------------ Will Mitayai Keeso Rowe, mitayai@dreaming.org http://www.dreaming.org/~mitayai Toronto, Ontario, Canada
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.951204070808.18053A-100000>