From owner-freebsd-stable Tue May 30 23:48:52 2000 Delivered-To: freebsd-stable@freebsd.org Received: from redsheriff.com (eagle.imrworldwide.com [203.89.243.235]) by hub.freebsd.org (Postfix) with ESMTP id 5FF6237B792 for ; Tue, 30 May 2000 23:48:44 -0700 (PDT) (envelope-from davidb@redsheriff.com) Received: from skua.burren.cx (devfw.imrworldwide.com [203.89.243.232]) by redsheriff.com (8.9.3/8.9.3) with ESMTP id QAA76791 for ; Wed, 31 May 2000 16:48:41 +1000 (EST) (envelope-from davidb@redsheriff.com) Received: (qmail 2687 invoked from network); 31 May 2000 06:48:34 -0000 Received: from localhost.local2 (HELO redsheriff.com) (127.0.0.1) by localhost.local2 with SMTP; 31 May 2000 06:48:34 -0000 Message-ID: <3934B5C2.5EA1541D@redsheriff.com> Date: Wed, 31 May 2000 16:48:34 +1000 From: David Burren X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 4.0-RELEASE 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-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Howard Leadmon wrote: > 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" > > ======== > > If I only run on the primary interface, then all is fine, but if I enable > the aliases which are on different subnets then the trouble begins. If I > try and fire up sendmail, it just hangs and starts giving me RPC timeouts > on the console from yp, as it doesn't like that the aliases are in a different > subnet from the main ip range mounted on the machine. I can mount more from > the main subnet, but not from anything else. I need multiple subnets on > the machine, so thats the problem. Someone correct me if I'm wrong, but the way I've done this in the past has been to specify the "real" netmask for the first alias in each extra subnet, and 255.255.255.255 for all other aliases. Otherwise the machine has little chance of interacting normally with broadcast traffic on the extra subnets... __ David Burren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message