NIS on private network

Tim Cutts tjrc at sanger.ac.uk
Mon Jun 4 10:18:54 CEST 2007


Steffen Grunewald wrote:
> Hi,
> 
> this might be a semi-OT question, feel free to flame me off-list...
> 
> I've got to setup NIS on a compute cluster. The NIS master server has two
> network interfaces, eth0 is public and eth1 private. Of course, NIS should
> be delivered only to the private network (/etc/ypserv.securenets).
> Apparently there is no way to force ypbind to use the private network if
> I use the broadcast option (command-line or /etc/yp.conf): requests will
> be sent out only via eth0 (not even loopback!) and will get stuck. Same 
> for other head nodes - for obvious reasons, the compute nodes are fine.
> 
> Of course one solution would be to specify ypserver entries in /etc/yp.conf
> (instead of broadcast),

which is what we do.  Mainly to avoid broadcast storms when booting a
thousand nodes at a time, though.  :-)

 but: can this be done in a more general fashion?
> (this is where FAI enters the stage: I'm hesitant to add yet another class)

Not that I know of.  I don't think the Linux NIS stuff allows you to
bind to specific interfaces (other than the case of binding only to
localhost)

Tim





-- 
The Wellcome Trust Sanger Institute is operated by Genome Research 
Limited, a charity registered in England with number 1021457 and a 
company registered in England with number 2742969, whose registered 
office is 215 Euston Road, London, NW1 2BE.



More information about the linux-fai mailing list