From owner-freebsd-net Tue Feb 2 17:33:37 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA16296 for freebsd-net-outgoing; Tue, 2 Feb 1999 17:33:37 -0800 (PST) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from granite.sentex.net (granite.sentex.ca [199.212.134.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA16287 for ; Tue, 2 Feb 1999 17:33:34 -0800 (PST) (envelope-from mike@sentex.net) Received: from ospf-wat.sentex.net (ospf-wat.sentex.net [209.167.248.81]) by granite.sentex.net (8.8.8/8.6.9) with SMTP id UAA17060; Tue, 2 Feb 1999 20:33:19 -0500 (EST) From: mike@sentex.net (Mike Tancsa) To: myke@ees.com (Mike Holling) Cc: freebsd-net@FreeBSD.ORG Subject: Re: Problems with routes learned by ICMP redirect? Date: Wed, 03 Feb 1999 01:40:02 GMT Message-ID: <36b7a77a.194410006@mail.sentex.net> References: In-Reply-To: X-Mailer: Forte Agent .99e/32.227 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 2 Feb 1999 18:21:16 -0500, in sentex.lists.freebsd.misc you wrote: >These are regular dialup users that can come in on any of the dialup boxes >with their static IP. There are no routing daemons running, so I'm >assuming these routes are learned via ICMP redirects (not knowing how to >find out how a route was learned). The ICMP redirects are most likly being sent by your router. You would have a much more efficient network if you ran gated on the FreeBSD box since OSPF is already on the network. As to how the routes are being learned, icmpinfo can be helpful in this case... Also, ipfw can be helpfuly as well #define ICMP_REDIRECT 5 /* shorter route, codes: */ #define ICMP_REDIRECT_NET 0 /* for network */ #define ICMP_REDIRECT_HOST 1 /* for host */ #define ICMP_REDIRECT_TOSNET 2 /* for tos and net */ #define ICMP_REDIRECT_TOSHOST 3 /* for tos and host */ ipfw add 500 allow log icmp from any to any icmptype 5 and it will log to kern all icmp redirects so you can see who is sending the redirects... Most likely the router since thats where you are sending things to by default. But go for gated and ospf... It will be a better network in the short term and long term. gdc dump will give you a nice view of what everything is configured for-- rightly or wrongly. ---Mike Mike Tancsa (mdtancsa@sentex.net) Sentex Communications Corp, Waterloo, Ontario, Canada To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message