disable as router, use correct gateway

From: Dan Kirkpatrick <dkirk_at_suhep.phy.syr.edu>
Date: Thu, 12 Aug 1999 13:14:45 -0400

I have /etc/routes setup as: default 128.230.72.1
and when doing a traceroute to outside, the first hop is 128.230.27.100

Why? Shouldn't it be using what is in /etc/routes? I have tried a reboot and
in /etc/rc.config I have router="no" routed="no" gated="yes"

I'm assuming gated needs to be yes since it must use a gateway.
There is no /etc/gateways and /etc/networks only has: loop 127 loopback

netstat -r returned:
Destination Gateway Flags Refs Use Interface
Netmasks:
Inet 0.0.0.0
Inet 255.0.0.0
Inet 255.255.0.0
Inet 255.255.255.0

Route Tree for Protocol Family 2:
default 128.230.27.100 UG 0 45 tu0
<snip>
univ 128.230.27.33 U 3 119635 tu0
<snip>
128.230.72 128.230.72.159 U 1 122967 tu1
<snip>

it should be set to do no more routing and use default gateway of
128.230.72.1 as in /etc/routes

I've tried changing settings with the route add/delete command and it keeps
reverting back.

(We use to use this machine as a router... it shoudnt be anymore).
Thanks,
Dan

--------------------------------------------------------------------------
Dan Kirkpatrick dkirk_at_phy.syr.edu
Computer Systems Manager
Department of Physics
Syracuse University, Syracuse, NY
http://www.phy.syr.edu/~dkirk Fax: (315) 443-9103
--------------------------------------------------------------------------
Received on Thu Aug 12 1999 - 17:20:51 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:39 NZDT