Date: Fri, 29 Aug 2003 15:17:32 -0500 From: Charlie Root <root@energistic.com> To: "Lapinski, Michael (Research)" <lapinski@crd.ge.com> Cc: 'Thomas Dwyer' <tom@dwyers.ca> Subject: Re: Multi-Homed Routing Message-ID: <20030829201732.GA10482@energistic.com> In-Reply-To: <E4AAC34FE3CF564D8AE89EB8AC333FD709165308@xmb03crdge.crd.ge.com> References: <E4AAC34FE3CF564D8AE89EB8AC333FD709165308@xmb03crdge.crd.ge.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 29, 2003 at 03:18:41PM -0400, Lapinski, Michael (Research) wrote: > Are you using a fbsd box as a router? > > if no, you need to configure BGP on your border router. True that. > if yes, yuck, routers route, server's serve. =) True but an OS is neither a router nor a server. Its just an OS. The use you put it to defines if the box is a router or a server (or both). > I have recently added a 2nd Internet source (for redundancy) and I want to > know how to make FreeBSD choose a primary outbound internet source, and > chose the other if the primary is down? You'll need to be running a routing protocol. Your standard routing table probably isn't going to serve you very well. If aren't able to exchange protocol with your upstreams (usually with BGP) then you'll have to get clever with DNS tricks and route manipulation. Are you getting IP space from both providers? Are all services setup to listen on both subnets? Does your DNS point to both subnets? If one subnet goes down does DNS stop pointing to the bad subnet (only half a cure because the now bad subnet IPs are probably cached out there on the net somewhere anyway). The common situation is to advertise via a dynamic routing protocol such as BGP4 your IP space to both of your upstreams. This isn't really possible if your upstreams are DSL, cable or small-time wireless providers. > Am I correct to assume that FreeBSD will automatically return incoming > requests back through the interface that it arrived on? Ummm... no. I don't think you are. FBSD will likely send that packet back out whichever interface is labeled 'default' or, in the case of dynamic protocols, whichever route has the lowest metric back to the destination. -Steve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030829201732.GA10482>