From: Thomas E. <eck...@gm...> - 2004-07-16 17:52:47
|
Luke, On Thu, 15 Jul 2004, Luke Palmer wrote: > I'm trying to do some host faking to make flexlm licensed software work > on nodes. Say I have a flexlm license that refers to the servers foo > and bar. I want to make nodes think that foo and bar are the master, > which will then do NAT and send data to the real foo and bar. > > So, on nodes here is what I have done. nsswitch.conf looks like this: > > passwd: bproc > hosts: files bproc > > and /etc/hosts is this: > > 10.0.4.100 foo bar I tested with nearly the same setup regarding nsswitch.conf and hosts (my foo-host points to another cluster-node so there is no NATing) and ist works: nsswitch.conf: n-1 # bpsh 0 cat /etc/nsswitch.conf passwd: files bproc shadow: files group: files hosts: files bproc hosts: n-1 # bpsh 0 cat /etc/hosts 127.0.0.1 localhost 10.0.4.1 m-1 10.0.4.10 m0 10.0.4.11 m1 do the ping: n-1 # bpsh 0 ping -c 1 m1 PING m1 (10.0.4.11): 56 octets data 64 octets from 10.0.4.11: icmp_seq=0 ttl=64 time=0.1 ms --- m1 ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max = 0.1/0.1/0.1 ms (bproc-3.2.6) Do you have /etc/protcols with the needed entries on the nodes -- I see "unknown protocol icmp"-errors if it's missing -- but who knows ... > Unfortunately, I see the following: > > # bpsh 1 ping foo > ping: unknown host foo Thomas |