Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jan 2004 01:54:08 -0800 (PST)
From:      Chris Knipe <savage@savage.za.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Loading balancing with more than one ISP.
Message-ID:  <20040118095408.C91ED43D48@mx1.FreeBSD.org>
References:  <20040118130036.S98208-100000@prophet.alphaque.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> On Sunday 18 January 2004 06:10, Dinesh Nair wrote:
> > what i do today is i set the default route to the ISP i am more convinced
> > off, with static routes of certain large CIDR address blocks going out to
> > the other ISP. i decided on those large blocks after checking the global
> > route tables, AS PATH diagrams and experience of link quality. you can do
> > this by using tools such as the Looking Glass servers, RouteViews.Org and
> > even Netlantis.org for your situation. i'm not running routed,
> > zebra/bgpd/ospfd on this at all, since it's all static routes and i can't
> > find an ISP ospf/bgp router willing to exchange routes with me.
> 
> Same for me...
> Anyway, thanks for the explanation :)
> I really appreciated.
> 
> Antoine


Yes, here as well.  However, this brings (to me at least) a very big problem.

I route network A over gateway A, and network C over gateway B. (say, 2 x /12s)

I have a service set up, some.host IN A A.A.A.x (i.e. in network A and gateway
A).  Now, the moment some one from network B connects to the service I've setup
on network A, the FreeBSD Box will route the reply packets out on network B 
(because of the client's address) and hence, it follows a invalid networ path
and the connection fails.  The same will also happen when someone from Network A
tries to connect to a IP on Network B.... ex:

-- 192.168.1.0/24 --- | BSD ROUTER | --- 10.255.255.0/24 ---
                          - Some Service on here
                          - 192.168.1.0/24 routed to sis0
                          - 10.255.255.0/24 routed to sis1


The moment 192.168.1.x tries to connect to my IP address(es) from
10.255.255.0/25, the connection fails - and vica versa.

If I can manage to solve this, then I'll be a *VERY* happy chappy.  But other than
that, as mentioned previously, the ipfw fwd thing doesn't work for me either - it
forwards the packet to a port (won't really help forwarding ftp packets to port 21
of your router now, would it).  So yes, I'm also stuck with this - and the sad part
is I'll more than likely be adding a 3rd gateway to my network pretty soon....

Regards,
Chris.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040118095408.C91ED43D48>