From owner-freebsd-questions Wed May 31 5:33:33 2000 Delivered-To: freebsd-questions@freebsd.org Received: from sunny.pacific.net.au (sunny.pacific.net.au [210.23.129.40]) by hub.freebsd.org (Postfix) with ESMTP id 01CFF37B8CF for ; Wed, 31 May 2000 05:33:28 -0700 (PDT) (envelope-from david@burren.cx) Received: from wisma.pacific.net.au (wisma.pacific.net.au [210.23.129.72]) by sunny.pacific.net.au with ESMTP id WAA27300 for ; Wed, 31 May 2000 22:33:26 +1000 (EST) Received: from skua.burren.cx (ppp114.dyn148.pacific.net.au [210.23.148.114]) by wisma.pacific.net.au with ESMTP id WAA21292 for ; Wed, 31 May 2000 22:33:24 +1000 (EST) Received: (qmail 2683 invoked from network); 31 May 2000 12:30:16 -0000 Received: from localhost.local2 (HELO burren.cx) (127.0.0.1) by localhost.local2 with SMTP; 31 May 2000 12:30:16 -0000 Message-ID: <393505D8.D51368E1@burren.cx> Date: Wed, 31 May 2000 22:30:16 +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-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Here goes attempt 2. I sent this from work earlier in the day but have seen no sign of it yet. Please excuse me if this is a duplicate. 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-questions" in the body of the message