Re: Nat through two DSL

2001-12-10 Thread void
On Fri, Dec 07, 2001 at 02:38:04PM -0600, Nick Rogness wrote: > > Damn it, fat fingered it...corrections to firewall: > > > ipfw add 500 divert natd1 ip from $NET to 0.0.0.0/1 out via $DSL_INT#1 > ipfw add 550 divert natd1 ip from 0.0.0.0/1 to any in via $DSL_INT#1 > ipfw add 560 fwd $

Re: Nat through two DSL

2001-12-07 Thread Terry Lambert
rick norman wrote: > > What would be nice would be to load balance on a per connection > basis, not a per packet basis, between the two modems. > Any ideas how to do this ? This whole thread is a bit odd, in that the DSL lines in question are going to go back to the same DSLAM, and therefore end

Re: Nat through two DSL

2001-12-07 Thread Nick Rogness
On Fri, 7 Dec 2001, Nick Rogness wrote: > On Fri, 7 Dec 2001, Lars Eggert wrote: > > > rick norman wrote: > > > > > What would be nice would be to load balance on a per connection > > > basis, not a per packet basis, between the two modems. > > > Any ideas how to do this ? > > > > > > Not wit

Re: Nat through two DSL

2001-12-07 Thread Nick Rogness
On Fri, 7 Dec 2001, Lars Eggert wrote: > rick norman wrote: > > > What would be nice would be to load balance on a per connection > > basis, not a per packet basis, between the two modems. > > Any ideas how to do this ? > > > Not with the current mechanisms in FreeBSD. You'd need a simple poli

Re: Nat through two DSL

2001-12-07 Thread Julian Elischer
If you were using PPPoE for the DSL, then you could possibly use multilink ppp. The trick would be to see if the ppp server at the other end can recognise multilink PPP when it's getting it's ppp off ATM/PPPoE.. On Fri, 7 Dec 2001, Lars Eggert wrote: > rick norman wrote: > > > What would be

Re: Nat through two DSL

2001-12-07 Thread Lars Eggert
Nick Rogness wrote: > On Fri, 7 Dec 2001, Lars Eggert wrote: >>What prevents you from picking one source address for packets going >>out both interfaces? Your return packets won't be striped then of >>course. (Which could make this scheme ineffective, assuming "client" >>machines receive much mo

Re: Nat through two DSL

2001-12-07 Thread Nick Rogness
On Fri, 7 Dec 2001, Lars Eggert wrote: > Nick Rogness wrote: > > > Load sharing is not possible on a per packet basis when running > > NAT on the outside interfaces. The source address for each packet > > will be different. > > > What prevents you from picking one source address

Re: Nat through two DSL

2001-12-07 Thread Lars Eggert
Nick Rogness wrote: > Load sharing is not possible on a per packet basis when running > NAT on the outside interfaces. The source address for each packet > will be different. What prevents you from picking one source address for packets going out both interfaces? Your retur

Re: Nat through two DSL

2001-12-07 Thread .
Lars Eggert writes: > Redundancy is a different issue from load-sharing. > > If you want to switch between a primary and a backup link there are a > number of ways to do this. It is interesting. I am using net with static routing in it (FreeBSD routers) and think now about redundancy. Point me p

Re: Nat through two DSL

2001-12-07 Thread Nick Rogness
On Fri, 7 Dec 2001, Lars Eggert wrote: > Steve Ames wrote: > > >>>I want to load share between two ADSL modems using a NAT/Firewall. > ... > > > >>>The ADSL are 500k links and I want to load share on session by session. > >>>Can I do NAT between an inside interface and two outside interfaces

Re: Nat through two DSL

2001-12-07 Thread Lars Eggert
rick norman wrote: > What would be nice would be to load balance on a per connection > basis, not a per packet basis, between the two modems. > Any ideas how to do this ? Not with the current mechanisms in FreeBSD. You'd need a simple policy routing engine (actually, policy forwarding). A prot

Re: Nat through two DSL

2001-12-07 Thread rick norman
What would be nice would be to load balance on a per connection basis, not a per packet basis, between the two modems. Any ideas how to do this ? Rick Steve Ames wrote: > On Fri, Dec 07, 2001 at 09:03:20AM -0800, Lars Eggert wrote: > > Anders Hagman wrote: > > > > >I want to load share between

Re: Nat through two DSL

2001-12-07 Thread Lars Eggert
Steve Ames wrote: >>>I want to load share between two ADSL modems using a NAT/Firewall. ... >>>The ADSL are 500k links and I want to load share on session by session. >>>Can I do NAT between an inside interface and two outside interfaces >>>acting in a round robin fashion? >>> >>This may not b

Re: Nat through two DSL

2001-12-07 Thread Steve Ames
On Fri, Dec 07, 2001 at 09:03:20AM -0800, Lars Eggert wrote: > Anders Hagman wrote: > > >I want to load share between two ADSL modems using a NAT/Firewall. > > > >Computer 1 \ > >\ /-- ADSL 1 > > \ / > >

Re: Nat through two DSL

2001-12-07 Thread Lars Eggert
Anders Hagman wrote: > I want to load share between two ADSL modems using a NAT/Firewall. > > Computer 1 \ > \ /-- ADSL 1 > \ / > Computer 2 -- Wireless LAN --- Firewall/NAT - > ./

Nat through two DSL

2001-12-07 Thread Anders Hagman
Hi I want to load share between two ADSL modems using a NAT/Firewall. Computer 1 \ \ /-- ADSL 1 \ / Computer 2 -- Wireless LAN --- Firewall/NAT - ./