Re: Fwd: Re: Loading balancing with more than one ISP.

2004-01-20 Thread Antoine Jacoutot
> > On Monday 19 January 2004 17:22, Tillman Hodgson wrote: > > > You've pretty much wore out the "play with the config files" route. > > > Let's try getting some data by finding out what is actually happening > > > so we can figure out what's wrong. Can you post what the traffic on the > > > other

Re: Loading balancing with more than one ISP.

2004-01-19 Thread Tillman Hodgson
On Mon, Jan 19, 2004 at 05:04:50PM +0100, Antoine Jacoutot wrote: > On Monday 19 January 2004 16:21, Tillman Hodgson wrote: > > When you tcpdump both external interfaces, do the packets on > > the interface that the 1921.68.0.0/24 network is supposed to use look > > like you would expect? > > Nope

Re: Loading balancing with more than one ISP.

2004-01-19 Thread Antoine Jacoutot
On Monday 19 January 2004 16:21, Tillman Hodgson wrote: > When you tcpdump both external interfaces, do the packets on > the interface that the 1921.68.0.0/24 network is supposed to use look > like you would expect? Nope... there's nothing on the external interfaces from the 192.168.0.0/24 networ

Re: Re: Loading balancing with more than one ISP.

2004-01-19 Thread Tillman Hodgson
On Mon, Jan 19, 2004 at 09:25:01AM +0100, Antoine Jacoutot wrote: > Now, it does NOT work... > 192.168.1.0 --> Internet works with no problem (tun0 being the default route > on the FreeBSD gateway) > 192.168.0.0 --> Internet doesn't work :( When you tcpdump both external interfaces, do the packet

Re: Loading balancing with more than one ISP.

2004-01-19 Thread Chris Knipe
> On Sun, 18 Jan 2004, Chris Knipe wrote: > > > 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 (b

Re: Re: Loading balancing with more than one ISP.

2004-01-19 Thread Antoine Jacoutot
On Sunday 18 January 2004 10:36, Antoine Jacoutot wrote: > ipfw add fwd netconnexion1_gw ip from DMZ/netmask to any > ipfw add fwd netconnexion2_gw ip from LAN/netmask to any Allright people. So I'm still trying to make my setup working (using IPFILTER). Thanks for the help you gave, I finally end

Re: Loading balancing with more than one ISP.

2004-01-18 Thread Dinesh Nair
On Sun, 18 Jan 2004, Chris Knipe wrote: > 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 th

Re: Loading balancing with more than one ISP.

2004-01-18 Thread Antoine Jacoutot
On Sunday 18 January 2004 10:54, Chris Knipe wrote: > 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 (bec

Re: Loading balancing with more than one ISP.

2004-01-18 Thread Chris Knipe
> 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 ta

Re: Loading balancing with more than one ISP.

2004-01-18 Thread Antoine Jacoutot
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 P

Re: Loading balancing with more than one ISP.

2004-01-18 Thread Antoine Jacoutot
On Sunday 18 January 2004 06:15, Dinesh Nair wrote: > you can do this with IPFW's fwd rulesets. > > ipfw add fwd netconnexion1_gw ip from DMZ/netmask to any > ipfw add fwd netconnexion2_gw ip from LAN/netmask to any Well, somehow, this never worked for me yet :( But well, I'll try again on monday

Re: Loading balancing with more than one ISP.

2004-01-17 Thread Dinesh Nair
On Wed, 14 Jan 2004, Antoine Jacoutot wrote: > What I'm hoping to do is find a way to route all paquets coming: > - from DMZ to internet, using NET connexion1 > - from LAN to internet, using NET connection2 > > To be more understandable, something like this: > route add from DMZ defaut em0 > rout

Re: Loading balancing with more than one ISP.

2004-01-17 Thread Dinesh Nair
On Wed, 14 Jan 2004, Antoine Jacoutot wrote: > I have one ethernet <--> router and one ethernet <--> dsl modem > connections to connect to my ISPs. As you said, you're not sure about > routed... Actually, I did not find anyone who actually make this i've got exactly the same setup as you do, and

Re: Loading balancing with more than one ISP.

2004-01-16 Thread budsz
On Thu, Jan 15, 2004 at 04:41:47PM +0100, Dirk Meyer wrote: >Antoine Jacoutot schrieb:, > >> What I'm hoping to do is find a way to route all paquets coming: >> - from DMZ to internet, using NET connexion1 >> - from LAN to internet, using NET connection2 >> >> To be more understandable, something

Re: Loading balancing with more than one ISP.

2004-01-15 Thread Tillman Hodgson
On Thu, Jan 15, 2004 at 05:10:01PM +0100, Antoine Jacoutot wrote: > On Thursday 15 January 2004 16:41, Dirk Meyer wrote: > > Thats easy on your router: > > #!/bin/sh > > gateway1="10.10.10.1" > > gateway2="10.10.10.2" > > dmz="10.10.20.0/24" > > lan="10.10.30.0/24" > > ipfw add fwd ${gateway2} ip f

Re: Loading balancing with more than one ISP.

2004-01-15 Thread Antoine Jacoutot
On Thursday 15 January 2004 16:41, Dirk Meyer wrote: > Thats easy on your router: > #!/bin/sh > gateway1="10.10.10.1" > gateway2="10.10.10.2" > dmz="10.10.20.0/24" > lan="10.10.30.0/24" > ipfw add fwd ${gateway2} ip from ${dmz} to any > ipfw add fwd ${gateway1} ip from ${lan} to any Thanks... but

Re: Loading balancing with more than one ISP.

2004-01-14 Thread Antoine Jacoutot
On Wednesday 14 January 2004 21:42, Tillman Hodgson wrote: > If you're using IPFilter, you might be interested in the HOWTO: > > http://www.obfuscation.org/ipf/ipf-howto.html > > The section on the "to" keyword is unfortunately very brief. Yes I already checked this and as you said, it was poor

Re: Loading balancing with more than one ISP.

2004-01-14 Thread Tillman Hodgson
On Wed, Jan 14, 2004 at 08:10:19PM +0100, Antoine Jacoutot wrote: > On Wednesday 14 January 2004 19:50, Tillman Hodgson wrote: > > On FreeBSD, source-based routing is done with the IPFW 'fwd' command (or > > the IPFilter 'pass out quick on to ' syntax) rather that > > using the `route` command. I'

Re: Loading balancing with more than one ISP.

2004-01-14 Thread Antoine Jacoutot
On Wednesday 14 January 2004 19:50, Tillman Hodgson wrote: > On FreeBSD, source-based routing is done with the IPFW 'fwd' command (or > the IPFilter 'pass out quick on to ' syntax) rather that > using the `route` command. I'm doing that myself (with IPFilter) and it > works well. It's confusing to

Re: Loading balancing with more than one ISP.

2004-01-14 Thread Tillman Hodgson
On Wed, Jan 14, 2004 at 06:27:30PM +0100, Antoine Jacoutot wrote: > On Wednesday 14 January 2004 17:30, Tillman Hodgson wrote: > > I'm a heavy Zebra (migrating to Quagga) user. Using dynamic routing is > > very handy, but it won't solve the problem of balancing load across two > > connections. > >

Re: Loading balancing with more than one ISP.

2004-01-14 Thread Antoine Jacoutot
On Wednesday 14 January 2004 17:30, Tillman Hodgson wrote: > I'm a heavy Zebra (migrating to Quagga) user. Using dynamic routing is > very handy, but it won't solve the problem of balancing load across two > connections. Thanks for the feedback :) > So you can't round-robin between two default ga

Re: Loading balancing with more than one ISP.

2004-01-14 Thread Antoine Jacoutot
On Wednesday 14 January 2004 17:00, Ruben de Groot wrote: > I'm not entirely sure (never used it myself), but I think you can use > routed(8), depending on the way you connect to your ISPs. I have one ethernet <--> router and one ethernet <--> dsl modem connections to connect to my ISPs. As you s

Re: Loading balancing with more than one ISP.

2004-01-14 Thread Tillman Hodgson
On Wed, Jan 14, 2004 at 02:46:28PM -, Simon Gray wrote: > > I've been looking for answers on this for a while but I found nothing nor > > no-one who could tell me if and how it is possible. > > Let the list know if you find anything interesting. > > Easiest way I would of thought would be to u

Re: Loading balancing with more than one ISP.

2004-01-14 Thread Ruben de Groot
On Wed, Jan 14, 2004 at 04:01:28PM +0100, Antoine Jacoutot typed: > On Wednesday 14 January 2004 15:46, Simon Gray wrote: > > Easiest way I would of thought would be to use BGP or OSPF under Zebra > > (/usr/ports/net/zebra)(www.zebra.org) > > > > I'm no expert, but the majority if ISPs tend to use

Re: Loading balancing with more than one ISP.

2004-01-14 Thread Antoine Jacoutot
On Wednesday 14 January 2004 15:46, Simon Gray wrote: > Easiest way I would of thought would be to use BGP or OSPF under Zebra > (/usr/ports/net/zebra)(www.zebra.org) > > I'm no expert, but the majority if ISPs tend to use BGP and/or OSPF. Yes, but one said that for BGP you had to work directly it

Re: Loading balancing with more than one ISP.

2004-01-14 Thread Simon Gray
> I've been looking for answers on this for a while but I found nothing nor > no-one who could tell me if and how it is possible. > Let the list know if you find anything interesting. Easiest way I would of thought would be to use BGP or OSPF under Zebra (/usr/ports/net/zebra)(www.zebra.org) I'm

Re: Loading balancing with more than one ISP.

2004-01-14 Thread Antoine Jacoutot
On Wednesday 14 January 2004 14:42, budsz wrote: > 1. With FreeBSD can do like this?, example with "route(8)"? > 2. Does FreeBSD support more than 1 as "defaut gateway" in routing table?? > 3. I found some options in /etc/default/rc.conf like "static_routes=", >if I use "static_routes=" _WITHOU