Re: 2 adsl connections load balancing with natd/ipfw

From: Martin Jessa (freebsd_at_yazzy.org)
Date: 05/26/04

  • Next message: mj2-owner_at_lists.ncsu.edu: "Rejection of Majordomo Request "post""
    Date: Wed, 26 May 2004 17:09:20 +0200
    To: freebsd-isp@freebsd.org
    
    

    Even though I love BSD, I'd rather get a cheap box like: http://www.infosmart.com.tw/p-ndr3024.htm and get it done in a metter of minutes.
    It's cheaper than a PC and time you use on similar BSD solution...

    On Wed, 26 May 2004 09:58:37 -0400
    Don Bowman <don@sandvine.com> wrote:

    > From: Eric Anderson [mailto:anderson@centtech.com]
    > > Emre Bastuz wrote:
    > > [..snip..]
    > >
    > > >So far I did not find any tutorial or howto or whatever to
    > > achieve my goal with
    > > >FreeBSD. I assume right now there is no satisfying way to
    > > use your two lines
    > > >with BSD except with dedicated hardware.
    > > >
    > > >
    > >
    > > Isn't it possible to use ipnat on a FreeBSD box, and use the load
    > > distribution/reverse nat stuff in it to spread the requests
    > > out between
    > > the two connections? It's not perfect, but it's something.
    > >
    > > Basically, I think you'd set up a FreeBSD box as 'the router', so
    > > clients would point to it's interface for their gateway (or
    > > however you
    > > want to set it up), then the FreeBSD box would distribute requests
    > > between the two 'real' router IP's. I'm not certain this
    > > will work, but
    > > just a thought..
    > >
    >
    > Run two natd. Use ipfw 'probability' to pick one, and make the
    > rule keep state so that the session sticks to the natd it has
    > chosen. The only problem i have found is that each tcp session
    > may then pick a different natd, couldn't figure out how to
    > stick it to the source ip. It does work tho. No bgp, isp intervention,
    > etc, reqired. The freebsd box running the natd will only use
    > one of the two connections for its default route, but the hosts
    > behind it using it as a gateway will use both.
    >
    > --don
    > _______________________________________________
    > freebsd-isp@freebsd.org mailing list
    > http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
    _______________________________________________
    freebsd-isp@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"


  • Next message: mj2-owner_at_lists.ncsu.edu: "Rejection of Majordomo Request "post""

    Relevant Pages

    • RE: 2 adsl connections load balancing with natd/ipfw
      ... > Isn't it possible to use ipnat on a FreeBSD box, ... Run two natd. ... The only problem i have found is that each tcp session ... It does work tho. ...
      (freebsd-isp)
    • Re: I am a newbie
      ... > of best friend uses it and he says you can really get into it deeper ... welcome to FreeBSD! ... > it mean to be a purist and like BSD so much because of this belief? ... one of their goals) is to provide ...
      (freebsd-questions)
    • Re: Help?
      ... patience to get into major software conflicts or bugs. ... BSD project team working with manufactures and touting their ... you will be unsuccessful with FreeBSD: ... You're coming from a Windows world ...
      (freebsd-questions)
    • Re: BSD derivatives
      ... What is your association with Open BSD? ... on the work of the FreeBSD Project, with an eye to being, maybe, more "user ... If you are familiar with Linux, search at Google with the string "BSD Linux ... Both are computer operating systems with several similarities, enough that if you can "drive" one, you can probably ...
      (freebsd-questions)
    • RE: What version of FBSD does Yahoo run?
      ... > host of specific customizations that they have applied to FreeBSD, ... There's a time that the beta code must be run on production systems. ... The terms BSD and SYSV were branding, not technical, terms. ... the i386 arm the non-Intel arm (NetBSD) and the commercial ...
      (freebsd-questions)