freebsd at caspersworld.co.uk
Mon Aug 7 02:16:11 BST 2006
Thanks for the response, and I was kind of hoping that would have not
been the response.
As a side note, I have posted the thread again, but with a subject
(Network routing and Multiple ADSL lines) this time. Can all future
responses go to the thread with the subject, and not this one
> The problem is the default gateway. As far as I know only one
> gateway is supported, and allyour return packets are going that
> the packets arrive from your second DSL connection the response is
> out the first DSL connection, and NAT on that link causes the return
> packets to appear to come from the outside address of your first DSL
> connection, which is NOT the address the original packet was sent
> the originator out on the net discards the return packet.
> There are specific commercial solutions to this issue - see BigIP
> I would love to hear if anyone has hacked a solution to this into
> On Sun, 6 Aug 2006, Paul wrote:
> > Hi,
> > Im still fairly new to FreeBSD, but have managed to get by untill
> > I run BSD on a DEC alphaserver 4000, with 2 different network cards
> > (de0 and de1)
> > I have 2 ADSL lines coming in to my house, both on ADSL routers.
> > The first one is a 192.168.0.0/24 network. The gateway is on
> > 192.168.0.1, BSD is on de1 using 192.168.0.10 and is used as my
> > general home internet connecting. I have multiple computer
> > this network (using windows and BSD) and it used for general
> > use, listening to online radio and playing online games etc.
> > The second one is a 10.0.200.0/24 network. The gateway is on
> > 10.0.200.1, BSD is on de0 using 10.0.200.10 and is used as a DNS
> > server and file backup server (using rsync to provide offsite
> > for a friend (Well thats what I want). There is also a single
> > box on this network (this box also has a seperate network card,
> > sitting on the 192.168.0.0/24 network)
> > These networks are seperate networks, using seperate routers and
> > switches.
> > The networks looks something like
> > ______________
> > ADSL|Home network |
> > ----|192.168.0.1/24|-----------------------------------------------
> > ---------------
> > |______________| | |
> > | |
> > ______|_______ ______|_______ ______|_______
> > ______|_______
> > |192.168.0.10 | |192.168.0.11 | |192.168.0.101
> > |192.168.0.102 | etc up to 192.168.0.107
> > |FreeBSD Server| |Windows Server| |FreeBSD
> > |Windows |
> > |10.0.200.10 | |10.0.200.11 | |Desktop
> > |Desktop |
> > |______________| |______________|
> > |______________|
> > ______________ | |
> > ADSL|Server Network| | |
> > ----|10.0.200.1/24 |---------------------
> > |______________|
> > I currently have my default gateway on FreeBSD set to 192.168.0.1.
> > I can connect to the BSD box externally no problems using the IP
> > address from the first ADSL connection.
> > However, any external connection requests I have make on the IP
> > address from the second ADSL connection just times out
> > I have no problems with the Windows server
> > If I swap the default gateway to 10.0.200.1 then the problem gets
> > swapped over.
> > Am I right in thinking I have a routing issue somewhere?
> > I have tried a few different things including tring a few different
> > setups with ipfw and playing with the routing tables, but have had
> > luck
> > What I really want is for the alpha to have a default gateway of
> > 192.168.0.1 (I use it for personal tasks as well as for my
> > be able to connect to it internally from the 192.168.0.0/24
> > and externally using the IP from the first ADSL line
> > I would also like to be able to connect to it externally using the
> > address from the seconds ADSL line, so my friend can backup to it
> > using rsync and also use it as a DNS server
> > The reason why I want to use 2 ADSL line is that if I use all the
> > bandwidth on the home ADSL connection (playing games etc) there is
> > still a second ADSL connection purely for rsync and DNS requests.
> > Currently im getting about 10Gb a day being downloaded via rsync
> > At the moment, I have resorted to just using the first ADSL line,
> > I notice a big difference while I try to play online games, if an
> > rsync is taking place
> > I know that I could just limit the speed that rsync transfers at,
> > I really want the transfer to happen as soon as possible and there
> > a second ADSL line that is already being paid for
> > How do I go about trying to get my desired setup, or where should I
> > start to look?
> > Many Thanks
> > Paul
> > ------ FreeBSD UK Users' Group - Mailing List ------
> > http://listserver.uk.freebsd.org/mailman/listinfo/freebsd-users
> > !DSPAM:44d68f11917988389819605!
> ------ FreeBSD UK Users' Group - Mailing List ------
More information about the Ukfreebsd