Re: same interface Route Cache

2001-03-19 Thread Michael C . Wu
On Sun, Mar 18, 2001 at 07:42:10PM -0800, Julian Elischer scribbled: | Wes Peters wrote: | > It struck me last night that if you want to load-balance between two ISPs, | > you could simply pick a bit in the address and use it to select one or the Buy a Layer >4 switch for your home DSL+cable mode

Re: same interface Route Cache

2001-03-18 Thread Julian Elischer
Wes Peters wrote: > > > It struck me last night that if you want to load-balance between two ISPs, > you could simply pick a bit in the address and use it to select one or the > other. If you pick your bit appropriately -- I'd go for something in the > second byte -- you might luck out and get

Re: same interface Route Cache

2001-03-18 Thread Wes Peters
Nick Rogness wrote: > > On Sat, 17 Mar 2001, Wes Peters wrote: > > > > > > > > > > > > > Packet 1 comes in through ISP #2 network. It comes into your > > > > internal network to machine 1. Machine 1 replies to the > > > > packet...but where does it go? It will exit through i

Re: same interface Route Cache

2001-03-17 Thread Julian Elischer
Nick Rogness wrote: > > On Sat, 17 Mar 2001, Julian Elischer wrote: > > > Alex Pilosov wrote: > > > > > > On Sat, 17 Mar 2001, Nick Rogness wrote: > > > > > > > There is no way to tell your packet to go back out to ISP #2. That is the > > > > point I'm trying to get across. Unless your running

Re: same interface Route Cache

2001-03-17 Thread Julian Elischer
Nick Rogness wrote: > > > > > > The final step is to select to which divert rule the packets eventually get > > sent. > > Each divert rule goes to a different natd, each of which is attached to a > > different outgoing interface. > > I am going to look at what you suggested this afterno

Re: same interface Route Cache

2001-03-17 Thread Nick Rogness
On Sat, 17 Mar 2001, Wes Peters wrote: > > > > > > > > > Packet 1 comes in through ISP #2 network. It comes into your > > > internal network to machine 1. Machine 1 replies to the > > > packet...but where does it go? It will exit through interface > > > to ISP #1 becaus

Re: same interface Route Cache

2001-03-17 Thread Wes Peters
Alex Pilosov wrote: > > On Sat, 17 Mar 2001, Garrett Wollman wrote: > > > That's the way Internet routing is supposed to work. If your routing > > table says a packet supposed to go one way, and it really needs to go > > another way, that's *user error* -- if you misconfigure your routing, > >

Re: same interface Route Cache

2001-03-17 Thread Wes Peters
Nick Rogness wrote: > > On Sat, 17 Mar 2001, Nick Rogness wrote: > > More clarification. > > > > > > I completely fail to see that you have actually stated a problem yet. > > > > > > What exactly is the problem you think you're trying to solve here? > > > > > > > Consider the following.

Re: same interface Route Cache

2001-03-17 Thread Wes Peters
Alex Pilosov wrote: > > On Sat, 17 Mar 2001, Nick Rogness wrote: > > > There is no way to tell your packet to go back out to ISP #2. That is the > > point I'm trying to get across. Unless your running a routing > > daemon. But is that really practical with cable modems, dsl, etc?...I > > don'

Re: same interface Route Cache

2001-03-17 Thread Wes Peters
Nick Rogness wrote: > > On Sat, 17 Mar 2001, Wes Peters wrote: > > [Wes, if you get this, for some reason I can't send to your > domain.] > > You are not understanding what I am trying to say. Once again I'll try to > clarify. > > > > For dual-homed hos

Re: same interface Route Cache

2001-03-17 Thread Alex Pilosov
On Sat, 17 Mar 2001, Garrett Wollman wrote: > That's the way Internet routing is supposed to work. If your routing > table says a packet supposed to go one way, and it really needs to go > another way, that's *user error* -- if you misconfigure your routing, > FreeBSD will do what you ask it to;

Re: same interface Route Cache

2001-03-17 Thread Nick Rogness
On Sat, 17 Mar 2001, Julian Elischer wrote: > Alex Pilosov wrote: > > > > On Sat, 17 Mar 2001, Nick Rogness wrote: > > > > > There is no way to tell your packet to go back out to ISP #2. That is the > > > point I'm trying to get across. Unless your running a routing > > > daemon. But is that

Re: same interface Route Cache

2001-03-17 Thread Nick Rogness
On Sat, 17 Mar 2001, Garrett Wollman wrote: > < said: > > > Packet 1 comes in through ISP #2 network. It comes into your > > internal network to machine 1. Machine 1 replies to the > > packet...but where does it go? It will exit through interface > > to ISP #1 because of the

Re: same interface Route Cache

2001-03-17 Thread Garrett Wollman
< said: > Packet 1 comes in through ISP #2 network. It comes into your > internal network to machine 1. Machine 1 replies to the > packet...but where does it go? It will exit through interface > to ISP #1 because of the default gateway. It came in ISP #2 and > l

Re: same interface Route Cache

2001-03-17 Thread Nick Rogness
On Sat, 17 Mar 2001, Alex Pilosov wrote: > On Sat, 17 Mar 2001, Nick Rogness wrote: > > > > b) route-cache means fast lookup of destination gateway. Lookup of > > > destination gateway may be slow (see d), and it makes sense to keep track > > > of a TCP connection and 'fast-switch' (cisco lingo)

Re: same interface Route Cache

2001-03-17 Thread Alex Pilosov
On Sat, 17 Mar 2001, Julian Elischer wrote: > this will do what you want for OUTGOING packets. > incoming packets will probably all come in on one network. And to fix this, you play tricks with your DNS server :) A setup that I have at home: Domain with two listed nameservers (same machine, diff

Re: same interface Route Cache

2001-03-17 Thread Julian Elischer
Alex Pilosov wrote: > You don't need to know the interface. You must route based on the source > IP. I.E: > > ISP A ISP B > \ / > ra rb > \ / > your router > | > | > | > (local) > > (ra

Re: same interface Route Cache

2001-03-17 Thread Julian Elischer
Alex Pilosov wrote: > > On Sat, 17 Mar 2001, Nick Rogness wrote: > > > There is no way to tell your packet to go back out to ISP #2. That is the > > point I'm trying to get across. Unless your running a routing > > daemon. But is that really practical with cable modems, dsl, etc?...I > > don'

Re: same interface Route Cache

2001-03-17 Thread Julian Elischer
Nick Rogness wrote: > > On Sat, 17 Mar 2001, Nick Rogness wrote: > > There is no way to tell your packet to go back out to ISP #2. That is the > point I'm trying to get across. Unless your running a routing > daemon. But is that really practical with cable modems, dsl, etc?...I > don't think

Re: same interface Route Cache

2001-03-17 Thread Alex Pilosov
On Sat, 17 Mar 2001, Nick Rogness wrote: > > b) route-cache means fast lookup of destination gateway. Lookup of > > destination gateway may be slow (see d), and it makes sense to keep track > > of a TCP connection and 'fast-switch' (cisco lingo) the following packets, > > caching the following da

Re: same interface Route Cache

2001-03-17 Thread Nick Rogness
On Sat, 17 Mar 2001, Alex Pilosov wrote: > On Sat, 17 Mar 2001, Nick Rogness wrote: > > > There is no way to tell your packet to go back out to ISP #2. That is the > > point I'm trying to get across. Unless your running a routing > > daemon. But is that really practical with cable modems, dsl

Re: same interface Route Cache

2001-03-17 Thread Alex Pilosov
On Sat, 17 Mar 2001, Nick Rogness wrote: > There is no way to tell your packet to go back out to ISP #2. That is the > point I'm trying to get across. Unless your running a routing > daemon. But is that really practical with cable modems, dsl, etc?...I > don't think so. Is the clue really gon

Re: same interface Route Cache

2001-03-17 Thread Nick Rogness
On Sat, 17 Mar 2001, Nick Rogness wrote: More clarification. > > > I completely fail to see that you have actually stated a problem yet. > > > > What exactly is the problem you think you're trying to solve here? > > > > Consider the following. I have to restate this every damn couple

Re: same interface Route Cache

2001-03-17 Thread Nick Rogness
On Sat, 17 Mar 2001, Wes Peters wrote: [Wes, if you get this, for some reason I can't send to your domain.] You are not understanding what I am trying to say. Once again I'll try to clarify. > > For dual-homed hosts, this is a problem because your pa

Re: same interface Route Cache

2001-03-17 Thread Wes Peters
Nick Rogness wrote: > > On Fri, 16 Mar 2001, Jeroen Ruigrok/Asmodai wrote: > > > -On [20010310 04:00], Nick Rogness ([EMAIL PROTECTED]) wrote: > > > > > >Is anyone working on route caching functionality within FreeBSD? This > > >would eliminate a lot of problems with using FreeBSD as a router..

Re: same interface Route Cache

2001-03-16 Thread Garrett Wollman
< said: > Correct me if wrong, but if I recall BSD natively already held a route > cache, although it might not be the best route cache which we could come > up with. It does, but there is only a single route cached there. A better implementation might have a small hash table (e.g., 16 entries)

Re: same interface Route Cache

2001-03-16 Thread Nick Rogness
On Fri, 16 Mar 2001, Jeroen Ruigrok/Asmodai wrote: > -On [20010310 04:00], Nick Rogness ([EMAIL PROTECTED]) wrote: > > > >Is anyone working on route caching functionality within FreeBSD? This > >would eliminate a lot of problems with using FreeBSD as a router...which > >seems to be a common role

Re: same interface Route Cache

2001-03-16 Thread Jeroen Ruigrok/Asmodai
-On [20010310 04:00], Nick Rogness ([EMAIL PROTECTED]) wrote: > >Is anyone working on route caching functionality within FreeBSD? This >would eliminate a lot of problems with using FreeBSD as a router...which >seems to be a common role of which FreeBSD seems to fit. Especially for >machine that

same interface Route Cache

2001-03-09 Thread Nick Rogness
Is anyone working on route caching functionality within FreeBSD? This would eliminate a lot of problems with using FreeBSD as a router...which seems to be a common role of which FreeBSD seems to fit. Especially for machine that are dual-homed. It may be implemented nicely as a sysctl var or ma