[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

NIS and double NIC issue



Hello,

Have double NIC and am trying to set up NIS. One of the NICs talks to the
outside world and has the hostname willy.domain.stuff, while the other
talks only to my local network, has IP 192.168.0.1 and hostname
internal_willy.domain.stuff associated.
I have edited /etc/ypserv.securenets (comment out '0.0.0.0 0.0.0.0', add
'255.255.255.0 192.168.0.0'), /etc/default/nis ('NISSERVER=master'),
/etc/networks ('localnet IP.AD.RE.SS' --> 'localnet 192.168.0.0').
Problem is, that upon '/usr/lib/yp/pinit -m', the hostlist building
process always includes 'willy' instead of 'internal_willy'. Where can I
change this behavior?

Additionally the necesary '/etc/init.d/nis start' and 'stop' has always
ypbind coming up (despite the /etc/default/nis editing - doesn't find a
ypserver (since running on it) and goes nt the background. How do I get
completely rid of it?

Thanks for enduring the newby, please help, Joh



Reply to: