home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / apollo / 3271 < prev    next >
Encoding:
Internet Message Format  |  1992-08-13  |  3.0 KB

  1. Path: sparky!uunet!olivea!sgigate!odin!mips!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!GW1.AGS.BNL.GOV!roger
  2. From: roger@GW1.AGS.BNL.GOV (Roger A. Katz)
  3. Newsgroups: comp.sys.apollo
  4. Subject: tcp/ip node addressing problem
  5. Message-ID: <9208132010.AA01863@gw1.ags.bnl.gov>
  6. Date: 13 Aug 92 20:10:58 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Organization: The Internet
  9. Lines: 86
  10.  
  11. Sorry if this is a repeat....Having mailing problems too!...:)
  12.     Situation.
  13.     
  14.     I have two ATR networks. There are two nodes which have 
  15. two ring cards and act as the bridge/gateway. Both networks are 
  16. using DDS network protocols. One network is also using IP and works 
  17. fine (class 'C' network : 192.33.128). I am setting up IP on the 
  18. second network (also a class 'C' network : 192.153.161). The nodes 
  19. on the second network were originally on the first network, and 
  20. therefore once had other IP addresses.
  21.     
  22.     Step 1.
  23.  
  24.     I have set up the tcp_admin node for the new network on one
  25. of the bridges.  It has a new /etc/hosts file with all the new IP
  26. addresses. 
  27.     
  28.     My nmconfig is set to use host_ascii.
  29.     
  30.     I kill all tcp related processes on the bridge.
  31.     
  32.     I run /etc/sys_sh /etc/rc.local on the bridge
  33.     
  34.     It starts fine.  It's /etc/ifconfigs look good.
  35.     
  36.     Step 2.
  37.     
  38.     On a node in the new network, i change its /etc/tcp_admin
  39.     link to point to the bridge node i just started.
  40.     
  41.     I kill all tcp related processes.
  42.     
  43.     I run /etc/sys_sh /etc/rc.local.
  44.     
  45.     Everything starts.
  46.     
  47.     But!!!
  48.     
  49.     /etc/ifconfig net0 returns its old, previous network ip number!!!!!!
  50.     
  51.     What's going on????
  52.     
  53.     % /etc/sys_sh /etc/rc.local
  54. ? ->    % /etc/ifconfig net0
  55.     dr0: flags=43<UP,BROADCAST,RUNNING>
  56.          inet 192.33.128.38 netmask ffffff00 broadcast 192.33.128.255
  57.  
  58.     % hostname
  59.     acn30d05
  60.     % grep `hostname` /etc/hosts
  61.     192.153.161.38   acn30d05.ags.bnl.gov acn30d05 11fff
  62.     % nmconfig -l
  63.     hosts type      hostent_ascii
  64.     networks type   netent_ascii
  65.     protocols type  protoent_ascii
  66.     services type   servent_ascii
  67.     % arp `hostname`
  68. ? ->    acn30d05 (192.33.128.38) -- no entry
  69.     % arp 11fff
  70.     acn35d02 (192.153.161.38) -- no entry
  71.     % hostname 11fff
  72.     % arp `hostname`
  73. ? ->    acn30d05 (192.33.128.38) -- no entry
  74.     % arp acn30d05
  75.     acn35d02 (192.153.161.38) -- no entry
  76.     % /etc/ifconfig net0 acn30d05
  77.     % /etc/ifconfig net0
  78.     dr0: flags=43<UP,BROADCAST,RUNNING>
  79.          inet 192.153.161.38 netmask ff000000 broadcast 192.153.161.255
  80.  
  81.     
  82.     Is there something special about hostname to IP address resolution
  83. for the 'current host' name? How can I get rid of the old IP address?
  84.                    
  85. Thanks in advance.
  86.  
  87. Roger
  88.  
  89. ----------------------------------------------------------------------
  90.  
  91. Email: roger@gw1.ags.bnl.gov                Roger A. Katz
  92.                                             AGS Software Controls Group
  93.                                             Brookhaven National Laboratory
  94.                                             Upton, N.Y. 11973-5000
  95.                                             (516) 282-2732
  96.                                         fax (516) 282-5954
  97.