From owner-freebsd-questions Wed May 31 4:38:42 2000 Delivered-To: freebsd-questions@freebsd.org Received: from thehousleys.net (frenchknot.ne.mediaone.net [24.147.224.201]) by hub.freebsd.org (Postfix) with ESMTP id EA91637B542; Wed, 31 May 2000 04:38:37 -0700 (PDT) (envelope-from jim@thehousleys.net) Received: from thehousleys.net (baby.int.thehousleys.net. [192.168.0.24]) by thehousleys.net (8.9.3/8.9.3) with ESMTP id HAA69870; Wed, 31 May 2000 07:38:18 -0400 (EDT) (envelope-from jim@thehousleys.net) Message-ID: <3934F9AA.10AB77C6@thehousleys.net> Date: Wed, 31 May 2000 07:38:18 -0400 From: James Housley Organization: The Housleys dot Net X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 4.0-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Howard Leadmon Cc: freebsd-questions@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: Re: NIS with multiple subnets/vhosts, any ideas?? References: <200005310547.BAA37874@account.abs.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Howard Leadmon wrote: > > Hello All, > > I setup a couple machines using NIS, and just ran into the following > problem I am not quite sure how to work around. > > Here is my config: > > MACHINE A: > > ifconfig_de0="inet 207.114.198.11 netmask 255.255.255.0" > defaultrouter="207.114.198.250" > # -- Add Vhosts -- # > ifconfig_de0_alias1="inet 206.88.228.13 netmask 0xffffffff" > ifconfig_de0_alias1="inet 206.88.228.14 netmask 0xffffffff" > ifconfig_de0_alias1="inet 206.88.228.15 netmask 0xffffffff" > ifconfig_de0_alias2="inet 199.29.143.73 netmask 0xffffffff" > Is that a typo ..alias1, ..alias1, ..alias1, ..alias2 ? It should read: ifconfig_de0_alias1="inet 206.88.228.13 netmask 0xffffffff" ifconfig_de0_alias2="inet 206.88.228.14 netmask 0xffffffff" ifconfig_de0_alias3="inet 206.88.228.15 netmask 0xffffffff" ifconfig_de0_alias4="inet 199.29.143.73 netmask 0xffffffff" because the script is basically for $x=0 to $n use alias$x next $x Only the first alias1 and then alias2 are being used, as I read the script. Jim -- "Eagles may soar, but weasels don't get sucked into jet engines" -- Anon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message