From owner-freebsd-net Thu Oct 26 22:50:21 2000 Delivered-To: freebsd-net@freebsd.org Received: from rapidnet.com (rapidnet.com [205.164.216.1]) by hub.freebsd.org (Postfix) with ESMTP id 0E65F37B479 for ; Thu, 26 Oct 2000 22:50:19 -0700 (PDT) Received: from localhost (nick@localhost) by rapidnet.com (8.9.3/8.9.3) with ESMTP id XAA17033; Thu, 26 Oct 2000 23:50:02 -0600 (MDT) Date: Thu, 26 Oct 2000 23:50:02 -0600 (MDT) From: Nick Rogness To: Bakul Shah Cc: "Richard A. Steenbergen" , "Ron 'The InSaNe One' Rosson" , freebsd-net@FreeBSD.ORG Subject: Re: Multihomed Routing In-Reply-To: <200010270447.e9R4lht14585@bacardi.torrentnet.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 27 Oct 2000, Bakul Shah wrote: > > Sure that will work. However, consider the following: > > > > > > > > Network1 (2000 IP's) > > | > > | > > |---Router1 > > | > > machine1---| > > | > > |---Router2 (default gateway) > > > > What happens to Router2 when machine1 is trying to access the IP's > > on Router1's network? Router2 gets clogged down sending ICMP > > redirects for Router1 back to machine1. The problem grows > > exponetially[spelling] when you add more machines to the same > > network machine1 is on. > > Unless I am missing something the redirect traffic won't > grow exponentially. Machine1 will get one redirect per > destination D and will switch its route to D to go via > Router1. From then on it won't bother Router2 for D. So the > total number of redirects is [exponentially was a figure of speech] ;-) Until the routing table on the machine gets flushed. > > SUM(H[i]) for i = 1..number of servers, > where H[i] == number of hosts server i talks to. You are assuming that the network that machine1 lies on has only 1 machine on it. What happens when you add 2 more machines to that network? Now, router1 has to handle redirects for all of those machines as well. 1 machine = 200 redirects 2 machines = 400 redirects (200 for machine1 & 200 for machine2) 3 machines = 600 redirects . . . > > So yes, there is some extra traffic but assuming your local > network is far faster than your external connections this > shouldn't be a problem (unless you send only a single packet > to each destination). > This IS a problem. Traffic analysis on that router1 will show a good load on the router just handling those requests. What if machine1 was a web server and the 2000 IP's you have on Network1 are dialing clients trying to reach that web server? What happens when you add more dial equipment to Network1?...more redirects. You fill up the routing table on your machines with host routes when it can be accomplished with a subnet route. In that case it would pay to run a routing protocol. But yes, sometimes it is not significant traffic, but in my example there is a good reason to run routing protocols on your machines. It just scales better. However, you do have a great point. Nick Rogness - Drive defensively. Buy a tank. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message