Date: Fri, 28 Jul 2000 21:55:37 GMT From: mike@sentex.net (Mike Tancsa) To: bsd@info-logix.com ("Hank Wethington") Cc: questions@freebsd.org Subject: Re: Multi homed, 2 internet 1 Lan Message-ID: <3981feba.290983512@mail.sentex.net> In-Reply-To: <SEN.964516948.557506011@news.sentex.net> References: <SEN.964516948.557506011@news.sentex.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 25 Jul 2000 05:22:28 -0400, in sentex.lists.freebsd.questions you wrote: >1) how do I add it for bandwidth use? >2) How do I load balance between the 2? This is not a trivial thing to do.... You can control exit routing, but based on the source address of the packet that leaves your computer, you cannot control routing *back* to you. >3) Is it possible to have BSD look at both connections to see which one will >provide faster access? Not really. The main dynamic routing protocol on the internet (eBGP) is based mostly on reachability-- its reachable or not, and costs associated with paths are generally not dynamically done on bandwidth usage. You could hack up some scripts to adjust the routing for well known sites and their ping times, but latency aside, this is not always that effective. >4) How do I make my mailserver just use the DSL and not look at the cable. Use the smart host setting in sendmail to bop all your outbound mail to your DSL provider's smtp host, and make sure you route out your DSL connection to the DSL smarthost. Simiarly, add an MX record to point to your DSL IP address. >5) Can BSD automatically change to the other connection if one is down or >must I make the change myself? You would need to either run a dynamic routing protocol with your two upstreams, or write a little script to check connectivity and adjust the default route accordingly. > >This is all very confusing to me. I have researched the mailing list and >handbook, but I can find no references on how to set it up. Any help would >be appreciated. You need to read up on Internet routing and how it works. There is a lot more to it than what can be explained in a few paragraphs of mailing list text. Internet Routing Architectures, by Bassam Halabi is the book to get on BGP,but thats more than what you need. Look around on the net for some intro material on Internet routing. Apart from dynamic routing, other quick hacks you can do is round robin DNS. e.g. if you want 2/3rds of your web traffic coming across your DSL connection, a 3 A records for www.example.com, 2 of which your DSL IP address, one your cable address. You could probably do the same with squid if you had ICP peers on each of your upstreams. ---Mike Mike Tancsa (mdtancsa@sentex.net) Sentex Communications Corp, Waterloo, Ontario, Canada "Given enough time, 100 monkeys on 100 routers could setup a national IP network." (KDW2) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3981feba.290983512>