Deleting routed is one way to do it, but you simply need to make sure it
isn't started.  Unless I'm mistaken, stock RH5 does not start routed by
default.  Routed only supports RIP;  for OSPF gated is the only choice I'm
aware of short of buying a router. 

The IP protocol type for OSPF is 89, which is neither the more common TCP
or UDP subtypes.  You can suppress the message you're getting by putting 
a line in /etc/protocols like the following:

ospf    89      OSPF            # Open Shortest Path First routing protocol

``: source gateway not on same net'' comes from the redirect() routine, 
which is supposed to change ``the routing tables in response to a redirect
message or indication from the kernel''.  One thing that could provoke 
such a message would be an ICMP redirect packet telling you to route 
packets through a router not directly accessible from your box.  I'm not 
sure what else it might be; I'd want to see the full log message and a 
(now-misnamed) tcpdump of the session.

Good luck,

        - Stephen

> Hi!  I really appreciate your time on this.
> 
> I have joined a local internet peering group hence the need for OSPF,
> apparently the resulting routing table is huge and no way to do it via
> static routes.  The people upstream from me use BSD and configured their
> ospf on their Cisco router (which I don't have) hence they are not much
> help to me on RH5 (though they are keen to help where they can). 
> 
> I have a suggested gated.conf from them which I am starting to understand,
> it's more the RH5 issues that I need to deal with right now.  One entry in
> the log that bothers me is "task_get_proto: getprotobyname("ospf") failed,
> using proto 89"
> 
> From there it appears to start installing routes but then starts repeating
> over and over about a source gateway not being on the same net.  I have
> sent a copy of the log to the ISP for a perusal.
> 
> It's also issues like getting confirmation that I should remove routed etc
> that would help me here.
> 
> From what I know once I get this running I can basically forget about it
> and let it all go about it's work.
> 
> Willie


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to