* [LARTC] Howto deal with more than one isp.
@ 2003-09-23 14:18 Michael Gerner Andreasen
2003-09-23 22:58 ` Damion de Soto
2003-09-24 7:35 ` Michael Gerner Andreasen
0 siblings, 2 replies; 3+ messages in thread
From: Michael Gerner Andreasen @ 2003-09-23 14:18 UTC (permalink / raw)
To: lartc
[-- Attachment #1: Type: text/plain, Size: 1704 bytes --]
Hello everyone.
I have been lurking on this list for some time now, and it all look like this would be the right place to ask for some advice.
We are a few freinds haveing some adsl's and have a network going over air, from the 3 different buildings we live in, our goal was to use some software to splitout trafick so we all could enjoy some good bandwith all the time, so my question is, can i do this with 1 outside network card, and 1 lan only? on the same cables even?
Becours we have some bridges and routers that handel the air link, and we should also our self go over thoes lines, like we have router 1 - 3 on ip's 192.168.0.251 - 254
outside network card on 192.168.0.1, internal card at 192.168.100.1, servers at 192.168.100.10 - 99, and clients at 192.168.100.100 - 254
the box that will do the routing will proberly be an old 233mhz pentium w/96 or 128mb ram, this box will only do routing, shaping and some firewalling etc. and will run of a floppy, forwarding every thing to 192.168.100.2 that will be our gateway from the local lan with proxy on etc. and that will direct our connections localy and do firewalling to and redirect mails to mailservers and webservers we have some apache some iis.
the big question is how do i make trafick go from 192.168.0.1 or 192.168.100.1 to 0.0.0.0 etc. and what about our 6 different dns servers? we have 3 x 512/512 and 3 x 2 different dns servers.
Hope this helps, and no you should not need to know about diagram on the network, it is very simpen, 1 router in each appardment, 1 switch, som accesspoints and some bridges, thats it. it is 3 different lans bridget to gether via. airlink so to speak.
Michael Gerner Andreasen
[-- Attachment #2: Type: text/html, Size: 2777 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] Howto deal with more than one isp.
2003-09-23 14:18 [LARTC] Howto deal with more than one isp Michael Gerner Andreasen
@ 2003-09-23 22:58 ` Damion de Soto
2003-09-24 7:35 ` Michael Gerner Andreasen
1 sibling, 0 replies; 3+ messages in thread
From: Damion de Soto @ 2003-09-23 22:58 UTC (permalink / raw)
To: lartc
Michael Gerner Andreasen wrote:
>
> the big question is how do i make trafick go from 192.168.0.1 or
> 192.168.100.1 to 0.0.0.0 etc. and what about our 6 different dns
> servers? we have 3 x 512/512 and 3 x 2 different dns servers.
If i understand correctly, what you want, is the one PC doing the routing,
firewalling and traffic shaping. It has one interface (perhaps with multiple
addresses) that everyone uses as their default gateway.
It then has one or more another interface/s that it directs load balanced traffic out
across the links to the 3 ISPs.
You should be able to do this fairly easily with an equalized default route and
source based routing (for the return traffic).
Then just plug in the firewall and QoS on the interfaces in between.
Was that the answer you wanted? or did you want some specific examples?
For the DNS problem, you may want to run something like dnsmasq
(http://thekelleys.org.uk/dnsmasq/doc.html) on your router PC, and then add all the
dns servers to your resolve.conf and add appropriate host routes on the correct gateways.
regards
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Damion de Soto - Software Engineer email: damion@snapgear.com
SnapGear --- ph: +61 7 3435 2809
| Custom Embedded Solutions fax: +61 7 3891 3630
| and Security Appliances web: http://www.snapgear.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- Free Embedded Linux Distro at http://www.snapgear.org ---
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] Howto deal with more than one isp.
2003-09-23 14:18 [LARTC] Howto deal with more than one isp Michael Gerner Andreasen
2003-09-23 22:58 ` Damion de Soto
@ 2003-09-24 7:35 ` Michael Gerner Andreasen
1 sibling, 0 replies; 3+ messages in thread
From: Michael Gerner Andreasen @ 2003-09-24 7:35 UTC (permalink / raw)
To: lartc
> If i understand correctly, what you want, is the one PC doing the routing,
> firewalling and traffic shaping. It has one interface (perhaps with
multiple
> addresses) that everyone uses as their default gateway.
> It then has one or more another interface/s that it directs load balanced
traffic out
> across the links to the 3 ISPs.
>
> You should be able to do this fairly easily with an equalized default
route and
> source based routing (for the return traffic).
> Then just plug in the firewall and QoS on the interfaces in between.
>
> Was that the answer you wanted? or did you want some specific examples?
>
> For the DNS problem, you may want to run something like dnsmasq
> (http://thekelleys.org.uk/dnsmasq/doc.html) on your router PC, and then
add all the
> dns servers to your resolve.conf and add appropriate host routes on the
correct gateways.
>
> regards
>
Well it was close, 1 interface to talk to the 3 routers, the routers simply
forwards all trafik to em to the linux box doing all the funny stuff, and
another interface in the box, that sends the stuff to the proxy server
dirrectly, then the proxy sends out stuff on its second interface to the
same switch but just to the lan.
R=Router
S=Switch
C=Clints
A=Airlink equipment
G=Gateway
P=Proxy
R1 <-> S1 <-> A & C
R2 <-> S2 <-> A & C
R3 <-> S3 <-> A & C & G & P
Gateways external link to the switch.
Gateways internal link to proxys external link
Proxys internal link to S3
S3 <==> G <==> to P
S3 <==> P <==> to G
R1 connects to the switch in building 1, and that switch is connected to 4
clients and a bridge.
R2 connects to the switch in building 2, and that switch is connected to 4
clients and a bridge.
R3 connects to the switch in building 3, and that switch is connected to 4
clients, 4 servers and a Accesspoint that the bridge connects to.
Accesstimes across network smallere than 1ms except from airlink 1-3ms and
11Mbit but it aint bad at all.
hope it helps alittle.
btw. Gateway proberly will have 192.168.0.1 as ip but i dont know if i
should make virtuals on it or, i could live with just one, could i do
balancing on routes only? instead of interfaces? as you normaly have 3 nics
till 3 different isp's and then 1 or 2 to your lan or dmz, this is almost
the otherway around 3 isp's on 1 nic, then 1 nic to a proxy server and from
there to the switch and back to clients or the servers.
forgot to say that it does need to work for 3+ connections >=) as we plan on
adding 3 more with in a year if we ever get to solv this problem.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-09-24 7:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-23 14:18 [LARTC] Howto deal with more than one isp Michael Gerner Andreasen
2003-09-23 22:58 ` Damion de Soto
2003-09-24 7:35 ` Michael Gerner Andreasen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.