Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!tut.cis.ohio-state.edu!ucbvax!PAN.SSEC.HONEYWELL.COM!thompson From: thompson@PAN.SSEC.HONEYWELL.COM (John Thompson) Newsgroups: comp.sys.apollo Subject: TCP/IP frustration Message-ID: <9102181504.AA03886@pan.ssec.honeywell.com> Date: 18 Feb 91 15:04:57 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 46 OK -- I've had it. I'm trying to reset TCP/IP services on a gateway (ether/ring, dn10k) in our network. The node USED to run name-server lookup (it is a secondary name- server for the net too), and have the same name for both of its addresses. The name->address lookup gave the ethernet address, since that was closer to the outside world. I want the node to NOT use name-server lookup (although it'll still offer named services). It will now have 2 different names, so that there's a 1:1 and onto correspondence between name and address. Why? (I just had to answer). Cadence, in their finite wisdom, decided to write their own gethostname routine. Thus, name-servers tend to confuse/break their license/data manager. Not only did they do that, but they also broke the routine! It 'sometimes' fails in the case where there are multiple addresses with the same name. It also doesn't recognize the full domain name, so thinks that 'bregor' and 'bregor.ssec.honeywell.com' are 2 different nodes. Now that we're putting data-files on the dn10k, it needs to have the data mgr running (provides file locking for brain-dead Sun workstations, and they insist on it on the wonderful Apollos too). This means that I have to break TCP/IP so that it will work. The problem is that the Apollos seem to keep some internal host information as long as they're up. Here's what I did: After making the necessary changes to /etc/rc.local, /etc/daemons/*, /etc/hosts, and /etc/named.data/*, I aborted all TCP services on the node. I then deleted the `node_data/systmp/tcp_data and my_inet_addr files. Then, I restarted TCP services (they start up fine). From any other node in the network, if I PING one of the 2 names, I get a response coming back from the correct address. However, if I'm on the node itself, and PING the ORIGINAL name, I get a response with the full domain name, AND from the original (now wrong) interface. SOMEWHERE in its kernel, the node is clinging tightly to the fact that 'bregor' is really bregor.ssec.honeywell.com and has an ethernet address (rather than a ring one). When I had to do this to our other gateway, I ended up rebooting the node to get it cleared out. Is there an easier way? (Is there any way?) I really don't want to reboot the node. -- jt -- John Thompson Honeywell, SSEC Plymouth, MN 55441 thompson@pan.ssec.honeywell.com Me? Represent Honeywell? You've GOT to be kidding!!!