Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 May 2000 01:47:55 -0400 (EDT)
From:      Howard Leadmon <howardl@account.abs.net>
To:        freebsd-questions@freebsd.org, freebsd-stable@freebsd.org
Subject:   NIS with multiple subnets/vhosts, any ideas??
Message-ID:  <200005310547.BAA37874@account.abs.net>

next in thread | raw e-mail | index | archive | help

   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"

========


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.

Anyone have any ideas how to fix this, is there some way to tell yp to only
use the primary interface for requests?  Or if I am doing something wrong
here please let me know as I am somewhat new to NIS..


---
Howard Leadmon - howardl@abs.net - http://www.abs.net
ABSnet Internet Services - Phone: 410-361-8160 - FAX: 410-361-8162



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005310547.BAA37874>