SOLUTION
In three words: turn off routed.
In more detail: most colleagues pointed me to either routed
or my subnet mask. Hal Stern thought this looked like cmtgate
receiving bogus RIP packets. I turned off routed and added
this line to rc.local:
/usr/etc/route add default `cat /etc/defaultrouter` 1
and everything's peachy. This problem is likely the aftermath
of the crufty way netmasks were originally used here. I think
I've finally rooted out all the cruft.
As one colleague pointed out, 4.1.1_U1 does "know" about the
/etc/defaultrouter convention, but I have used it anyway
to mimic my other Suns running 4.1.3.
Thanks to:
"Derrick J. Brashear" <db74+@andrew.cmu.edu>
Jun Wu <jun@CURIE.SSCTR.BCM.TMC.EDU>
chris@New.Paramax.COM (Chris Hines)
poffen@San-Jose.ate.slb.com (Russ Poffenberger)
stern@sunrise.East.Sun.COM (Hal Stern - NE Area Systems Engineer)
Tom Conroy <trc@Synopsys.COM>
ORIGINAL POST:
I have a Sun 3/50 called "cmtgate" running 4.1.1_U1.
Very strange routing problems occur when I reboot cmtgate
(which is on a subnet all by itself):
-----------
A. Reboot "cmtgate".
B. [the "/etc/defaultrouter" file says "blazer"]
C. Immediately after boot, I login and say "netstat -r":
127.0.0.1 127.0.0.1
default blazer
192.159.15.240 cmtgate
192.159.15.64 blazer
192.159.15.128 blazer
...
... [several more lines, one for each of my subnets]
D. I say "ping blazer" and the response is "blazer is alive"
E. I wait two minutes
F. I say "ping blazer" and the response is "sendto: host is unreachable"
G. I say "netstat -r"; this hangs forever.
H. I become root and enter "route add default blazer 1"
I. Immediately after H, I say "ping blazer" and the reply is "blazer is alive"
J. I say "netstat -r" and the complete output is:
localhost localhost
default blazer
192.159.15.240 cmtgate
-----------
My questions:
1. Why do C and D work initially, then fail after a few minutes?
2. Why is H necessary if I have an /etc/defaultrouter file?
3. Why does C say "127.0.0.1" while J says "localhost"?
4. Why is C so long and J so short?
-------------------------------------------------------------------
David Mostardi Email: david@capmkt.com
Network & Systems Administrator Phone: (510) 540-6400
Capital Market Technology, Inc. FAX: (510) 540-5505
1995 University Ave. #390, Berkeley CA 94704
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:08:58 CDT