Network routing and Multiple ADSL lines

Paul freebsd at caspersworld.co.uk
Mon Aug 7 01:54:41 BST 2006


This is a multi-part message in MIME format.

------=NEOMAIL_ATT_0.709536634459258
Content-Type: text/plain; charset=iso-8859-1

Hi,

(Sorry, let me try again, looks like the last email did not work 
correctly)

Im still fairly new to FreeBSD, but have managed to get by untill now

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 attached to 
this network (using windows and BSD) and it used for general internet 
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 backups) 
for a friend (Well thats what I want). There is also a single windows 
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.

I have attached a txt file with what the network looks like
    
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 no 
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 friend), to 
be able to connect to it internally from the 192.168.0.0/24 network, 
and externally using the IP from the first ADSL line
I would also like to be able to connect to it externally using the IP 
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, but 
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, but 
I really want the transfer to happen as soon as possible and there is 
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

------=NEOMAIL_ATT_0.709536634459258
Content-Type: text/plain;
	name="Network_Layout.txt"
Content-Transfer-Encoding: base64

ICAgICBfX19fX19fX19fX19fXw0KQURTTHxIb21lIG5ldHdvcmsgIHwNCi0tLS18MTkyLjE2OC4w
LjEvMjR8LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tDQogICAgfF9fX19fX19fX19fX19ffCAgICAgfCAgICAgICAgICAgICAg
ICB8ICAgICAgICAgICAgICAgIHwgICAgICAgICAgICAgICAgfA0KICAgICAgICAgICAgICAgICAg
IF9fX19fX3xfX19fX19fICAgX19fX19ffF9fX19fX18gICBfX19fX198X19fX19fXyAgIF9fX19f
X3xfX19fX19fDQogICAgICAgICAgICAgICAgICB8MTkyLjE2OC4wLjEwICB8IHwxOTIuMTY4LjAu
MTEgIHwgfDE5Mi4xNjguMC4xMDEgfCB8MTkyLjE2OC4wLjEwMiB8ICAgZXRjIHVwIHRvIDE5Mi4x
NjguMC4xMDcNCiAgICAgICAgICAgICAgICAgIHxGcmVlQlNEIFNlcnZlcnwgfFdpbmRvd3MgU2Vy
dmVyfCB8RnJlZUJTRCBDbGllbnR8IHxXaW5kb3dzICAgICAgIHwNCiAgICAgICAgICAgICAgICAg
IHwxMC4wLjIwMC4xMCAgIHwgfDEwLjAuMjAwLjExICAgfCB8RGVza3RvcCAgICAgICB8IHxEZXNr
dG9wICAgICAgIHwNCiAgICAgICAgICAgICAgICAgIHxfX19fX19fX19fX19fX3wgfF9fX19fX19f
X19fX19ffCB8X19fX19fX19fX19fX198IHxfX19fX19fX19fX19fX3wNCiAgICAgX19fX19fX19f
X19fX18gICAgICB8ICAgICAgICAgICAgICAgfCANCkFEU0x8U2VydmVyIE5ldHdvcmt8ICAgICB8
ICAgICAgICAgICAgICAgfA0KLS0tLXwxMC4wLjIwMC4xLzI0IHwtLS0tLS0tLS0tLS0tLS0tLS0t
LS0NCiAgICB8X19fX19fX19fX19fX198DQogICA=

------=NEOMAIL_ATT_0.709536634459258--




More information about the Ukfreebsd mailing list