home *** CD-ROM | disk | FTP | other *** search
- 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
- From: roger@GW1.AGS.BNL.GOV (Roger A. Katz)
- Newsgroups: comp.sys.apollo
- Subject: tcp/ip node addressing problem
- Message-ID: <9208132010.AA01863@gw1.ags.bnl.gov>
- Date: 13 Aug 92 20:10:58 GMT
- Sender: daemon@ucbvax.BERKELEY.EDU
- Organization: The Internet
- Lines: 86
-
- Sorry if this is a repeat....Having mailing problems too!...:)
- Situation.
-
- I have two ATR networks. There are two nodes which have
- two ring cards and act as the bridge/gateway. Both networks are
- using DDS network protocols. One network is also using IP and works
- fine (class 'C' network : 192.33.128). I am setting up IP on the
- second network (also a class 'C' network : 192.153.161). The nodes
- on the second network were originally on the first network, and
- therefore once had other IP addresses.
-
- Step 1.
-
- I have set up the tcp_admin node for the new network on one
- of the bridges. It has a new /etc/hosts file with all the new IP
- addresses.
-
- My nmconfig is set to use host_ascii.
-
- I kill all tcp related processes on the bridge.
-
- I run /etc/sys_sh /etc/rc.local on the bridge
-
- It starts fine. It's /etc/ifconfigs look good.
-
- Step 2.
-
- On a node in the new network, i change its /etc/tcp_admin
- link to point to the bridge node i just started.
-
- I kill all tcp related processes.
-
- I run /etc/sys_sh /etc/rc.local.
-
- Everything starts.
-
- But!!!
-
- /etc/ifconfig net0 returns its old, previous network ip number!!!!!!
-
- What's going on????
-
- % /etc/sys_sh /etc/rc.local
- ? -> % /etc/ifconfig net0
- dr0: flags=43<UP,BROADCAST,RUNNING>
- inet 192.33.128.38 netmask ffffff00 broadcast 192.33.128.255
-
- % hostname
- acn30d05
- % grep `hostname` /etc/hosts
- 192.153.161.38 acn30d05.ags.bnl.gov acn30d05 11fff
- % nmconfig -l
- hosts type hostent_ascii
- networks type netent_ascii
- protocols type protoent_ascii
- services type servent_ascii
- % arp `hostname`
- ? -> acn30d05 (192.33.128.38) -- no entry
- % arp 11fff
- acn35d02 (192.153.161.38) -- no entry
- % hostname 11fff
- % arp `hostname`
- ? -> acn30d05 (192.33.128.38) -- no entry
- % arp acn30d05
- acn35d02 (192.153.161.38) -- no entry
- % /etc/ifconfig net0 acn30d05
- % /etc/ifconfig net0
- dr0: flags=43<UP,BROADCAST,RUNNING>
- inet 192.153.161.38 netmask ff000000 broadcast 192.153.161.255
-
-
- Is there something special about hostname to IP address resolution
- for the 'current host' name? How can I get rid of the old IP address?
-
- Thanks in advance.
-
- Roger
-
- ----------------------------------------------------------------------
-
- Email: roger@gw1.ags.bnl.gov Roger A. Katz
- AGS Software Controls Group
- Brookhaven National Laboratory
- Upton, N.Y. 11973-5000
- (516) 282-2732
- fax (516) 282-5954
-