From owner-freebsd-questions Tue Mar 16 9: 8:59 1999 Delivered-To: freebsd-questions@freebsd.org Received: from idea.co.uk (ultra2.idea.co.uk [194.36.20.11]) by hub.freebsd.org (Postfix) with ESMTP id 40A6915392 for ; Tue, 16 Mar 1999 09:08:22 -0800 (PST) (envelope-from kiril@idea.co.uk) Received: from loki.idea.co.uk (loki.idea.co.uk [194.36.20.54]) by idea.co.uk (8.9.2/8.9.2) with SMTP id RAA10486 for ; Tue, 16 Mar 1999 17:04:48 GMT From: Kiril Mitev Organization: IDEA ltd To: freebsd-questions@freebsd.org Subject: IP aliasing - shant , wont , no way ! Date: Tue, 16 Mar 1999 16:46:36 +0000 X-Mailer: KMail [version 1.0.17] Content-Type: text/plain MIME-Version: 1.0 Message-Id: <99031617075801.09234@loki.idea.co.uk> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG or is it me :-) ? here is ifconfig command 1: ifconfig tl0 and here is the output: tl0: flags=8802 mtu 1500 ether 00:80:5f:ed:4a:5d media: autoselect (10baseT/UTP ) supported media: 10baseT/UTP autoselect .......ETC ifconfig command 2: ifconfig tl0 inet 194.36.20.10 netmask 0xffffff00 broadcast 194.36.20.255 followed by "ifconfig tl0" gives : tl0: flags=8843 mtu 1500 inet 194.36.20.10 netmask 0xffffff00 broadcast 194.36.20.255 ether 00:80:5f:ed:4a:5d ......... ETC so far so good...now, ifconfig command 3: ifconfig tl0 alias 194.36.20.201 produces ifconfig: ioctl (SIOCAIFADDR): File exists OK, fine, this is obviously NOT the way to do it, so clean out the settings, and confirm with "ifconfig tl0": tl0: flags=8802 mtu 1500 ether 00:80:5f:ed:4a:5d media: autoselect (10baseT/UTP ) .. BLAH BLAH BLAH ifconfig command 4: ifconfig tl0 inet 194.36.20.10 netmask 0xffffff00 broadcast 194.36.20.255 alias 194.36.20.201 check with "ifconfig tl0" tl0: flags=8843 mtu 1500 inet 194.36.20.10 netmask 0xffffff00 broadcast 194.36.20.201 HUH??-------------------------^^^^^^^^^^^^^^^^^^^^^^^ ether 00:80:5f:ed:4a:5d media: autoselect (10baseT/UTP ) another clean-out, followed by ifconfig command 5: ifconfig tl0 inet 194.36.20.10 alias 194.36.20.201 netmask 0xffffff00 broadcast 194.36.20.255 (basically, move 'alias' up front), check again: tl0: flags=8843 mtu 1500 inet 194.36.20.10 netmask 0xffffff00 broadcast 194.36.20.255 ether 00:80:5f:ed:4a:5d .. ETC is it me, the man page, ifconfig, or the weather in Timbuktoo ????? any and all pointers appreciated.... P.S. # uname -a FreeBSD MYHOST 3.0-RELEASE FreeBSD 3.0-RELEASE TIA... -- Kiril To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message