From owner-freebsd-questions Tue Sep 19 14:29:26 2000 Delivered-To: freebsd-questions@freebsd.org Received: from web9801.mail.yahoo.com (web9801.mail.yahoo.com [216.136.129.211]) by hub.freebsd.org (Postfix) with SMTP id 9855137B422 for ; Tue, 19 Sep 2000 14:29:24 -0700 (PDT) Message-ID: <20000919212924.89844.qmail@web9801.mail.yahoo.com> Received: from [212.186.101.179] by web9801.mail.yahoo.com; Tue, 19 Sep 2000 14:29:24 PDT Date: Tue, 19 Sep 2000 14:29:24 -0700 (PDT) From: max hajek Subject: routing depending on destination? To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hiya, I got the following situation: My network currently has internet connectivity via a cable modem using a freebsd box as combined gateway/firewall/nat. In about three weeks we will *also* have a leased line (2 MBit). As soon as this line is in place, I want to route traffic dynamically. For the leased line we'll have a 200 MB in/out limit for **international** traffic, everything on top of that costs extra, but no limit for national traffic. With the cable modem we have no download limit whatsoever and pay a fixed price. So, ideally, I'd like to create the following scenario: whenever a connection is established from inside our network to outside, the routing demon should check whether the destination is located in Austria (where we are located, too). if so, the traffic should be routed over the leased line, otherwise it should be routed over the cable modem. if one of both links fails, the other one should be used at any rate, of course. It occurs to me that there will be no way to tell with 100% accuracy whether an outbound connection is going to an Austrian site, but maybe there are some ways to estimate a probability. Now, being a newbie to routing, I wonder how I could accomplish that. Any pointers to good info on *) what routing demon I should use *) how I could configure it to act as descríbed above would be greatly appreciated, thxalot in advance, max hajek vienna, austria __________________________________________________ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message