Re: resend: multiple routing table roadmap (format fix)

2008-01-08 Thread Bruce M. Simpson
Julian Elischer wrote: Andre Oppermann wrote: People with the ultimate need for speed have to maintain their own trees anyway (Bluecoat, Juniper, Sandvine, Isilon,...) and can afford to cut some more corners anyway. We are trying to get away from that. We are trying to get more BACK from th

Re: resend: multiple routing table roadmap (format fix)

2008-01-08 Thread Bruce M. Simpson
Vadim Goncharov wrote: Compare it with a scheme where for EVERY forwarded packet, there is a need for DOUBLE lookup - after a routing one, do another in L2 table. ARP lookups will generally use a cheap hash once split. What's the problem? The PATRICIA lookups are more expensive, to be sure. Do

Re: resend: multiple routing table roadmap (format fix)

2008-01-08 Thread Julian Elischer
Andre Oppermann wrote: People with the ultimate need for speed have to maintain their own trees anyway (Bluecoat, Juniper, Sandvine, Isilon,...) and can afford to cut some more corners anyway. We are trying to get away from that. We are trying to get more BACK from those companies. ___

Re: resend: multiple routing table roadmap (format fix)

2008-01-08 Thread Andre Oppermann
Li, Qing wrote: To remove an ARP entry for host A.B.C.D in L2 table of form (A.B.C.D -> 00:01:02:03:04:05), it is enough to do a (usual speed) routing lookup for host A.B.C.D and modify a one pointer in it's rtentry to NULL or remove rtentry (if it's selected to be implemented as cloned). Thus

RE: resend: multiple routing table roadmap (format fix)

2008-01-08 Thread Li, Qing
> > Why a full walk, why such a dumb way? > Correct, we don't do a full walk. > > To remove an ARP entry for host A.B.C.D in L2 table of form > (A.B.C.D -> 00:01:02:03:04:05), it is enough to do a (usual speed) > routing lookup for host A.B.C.D and modify a one pointer in > it's rtentry

RE: resend: multiple routing table roadmap (format fix)

2008-01-08 Thread Li, Qing
> > Surely, routing table should contain a cached pointer to an > entry in L2 table (ARP in case of Ethernet), to not do double > lookups. But still separate those tables... > The routing table contains only the interface route, from this interface route the L2 table is accessed for on ne

Re: resend: multiple routing table roadmap (format fix)

2008-01-08 Thread Vadim Goncharov
07.01.08 @ 03:41 Andre Oppermann wrote: Vadim Goncharov wrote: 07.01.08 @ 00:10 Julian Elischer wrote: Is multicast and multipath routing the same? No. They are currently orthogonal. However it makes sense to merge the multicast and unicast forwarding code as currently MROUTING is limite

Re: resend: multiple routing table roadmap (format fix)

2008-01-06 Thread Andre Oppermann
Vadim Goncharov wrote: 07.01.08 @ 00:10 Julian Elischer wrote: Is multicast and multipath routing the same? No. They are currently orthogonal. However it makes sense to merge the multicast and unicast forwarding code as currently MROUTING is limited to a fan-out of 32 next-hops only. In m

Re: resend: multiple routing table roadmap (format fix)

2008-01-06 Thread Vadim Goncharov
07.01.08 @ 00:10 Julian Elischer wrote: Is multicast and multipath routing the same? No. They are currently orthogonal. However it makes sense to merge the multicast and unicast forwarding code as currently MROUTING is limited to a fan-out of 32 next-hops only. In multicast, next-hops ar

Re: resend: multiple routing table roadmap (format fix)

2008-01-06 Thread Julian Elischer
Bruce M. Simpson wrote: Vadim Goncharov wrote: Is multicast and multipath routing the same? No. They are currently orthogonal. However it makes sense to merge the multicast and unicast forwarding code as currently MROUTING is limited to a fan-out of 32 next-hops only. In multicast, next-ho

Re: resend: multiple routing table roadmap (format fix)

2008-01-06 Thread Julian Elischer
Mykola Dzham wrote: Julian Elischer wrote: setfib 3 /bin/sh now by default everythign you do uses table 3. or even setfib 3 jail {blah} and all the procs in the jail use table 3. You also need to do setfib 3 jexec xxx for extra processes you add to the jail afterwards. Is it possible to d

Re: resend: multiple routing table roadmap (format fix)

2008-01-06 Thread Bruce M. Simpson
Julian Elischer wrote: OK, but we should think about it in the future. In theory, routing socket's messages are easily extendable with FIB number in uint16_t, as message keeps it's length... I will do that with the advice of people who know that protocol better than I do. I'm afraid Linux

Re: resend: multiple routing table roadmap (format fix)

2008-01-06 Thread Bruce M. Simpson
Vadim Goncharov wrote: Is multicast and multipath routing the same? No. They are currently orthogonal. However it makes sense to merge the multicast and unicast forwarding code as currently MROUTING is limited to a fan-out of 32 next-hops only. In multicast, next-hops are normally just inte

Re: resend: multiple routing table roadmap (format fix)

2008-01-06 Thread Mykola Dzham
Julian Elischer wrote: > > setfib 3 /bin/sh > > now by default everythign you do uses table 3. > or even > > setfib 3 jail {blah} > > and all the procs in the jail use table 3. You also need to do > setfib 3 jexec xxx > for extra processes you add to the jail afterwards. Is it possible to de

Re: resend: multiple routing table roadmap (format fix)

2008-01-05 Thread Julian Elischer
Vadim Goncharov wrote: 04.01.08 @ 00:52 Julian Elischer wrote: By the way, I might add that in the 6.x compat. version I may end up limiting the feature to 8 tables. This is because I need to store some stuff in an efficient way in the mbuf, and in a compatible manner this is easiest done by s

Re: resend: multiple routing table roadmap (format fix)

2008-01-05 Thread Vadim Goncharov
04.01.08 @ 00:52 Julian Elischer wrote: By the way, I might add that in the 6.x compat. version I may end up limiting the feature to 8 tables. This is because I need to store some stuff in an efficient way in the mbuf, and in a compatible manner this is easiest done by stealing the top 4 bits

Re: resend: multiple routing table roadmap (format fix)

2008-01-03 Thread Julian Elischer
Vadim Goncharov wrote: 28.12.07 @ 03:19 Julian Elischer wrote: By the way, I might add that in the 6.x compat. version I may end up limiting the feature to 8 tables. This is because I need to store some stuff in an efficient way in the mbuf, and in a compatible manner this is easiest done by s

Re: resend: multiple routing table roadmap (format fix)

2008-01-03 Thread Vadim Goncharov
28.12.07 @ 03:19 Julian Elischer wrote: By the way, I might add that in the 6.x compat. version I may end up limiting the feature to 8 tables. This is because I need to store some stuff in an efficient way in the mbuf, and in a compatible manner this is easiest done by stealing the top 4 bits

Re: resend: multiple routing table roadmap (format fix)

2007-12-28 Thread gnn
At Fri, 28 Dec 2007 20:40:30 +0100, Marko Zec wrote: > The thrust behind Julian's work seems to be providing multiple > forwarding tables for for purposes of traffic engineering / policy > based routing, with a single firewall instance used as a classifier. > vimage-style network stack virtuali

Re: resend: multiple routing table roadmap (format fix)

2007-12-28 Thread Marko Zec
On Friday 28 December 2007 14:49:15 [EMAIL PROTECTED] wrote: > At Wed, 26 Dec 2007 16:26:11 -0800, > > julian wrote: > > > > On thing where FreeBSD has been falling behind, and which by chance > > I have some time to work on is "policy based routing", which allows > > different packet streams to be

Re: resend: multiple routing table roadmap (format fix)

2007-12-28 Thread Julian Elischer
[EMAIL PROTECTED] wrote: At Wed, 26 Dec 2007 16:26:11 -0800, julian wrote: [...] How does this work with Marko Zec's virtual stack system? Best, George orthogonal ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/f

Re: resend: multiple routing table roadmap (format fix)

2007-12-28 Thread Ivo Vachkov
On Dec 27, 2007 11:19 PM, Julian Elischer <[EMAIL PROTECTED]> wrote: > > Ivo Vachkov wrote: > > On Dec 27, 2007 2:26 AM, Julian Elischer <[EMAIL PROTECTED]> wrote: > >> Resending as my mailer made a dog's breakfast of the first one > >> with all sorts of wierd line breaks... hopefully this will be

Re: resend: multiple routing table roadmap (format fix)

2007-12-28 Thread gnn
At Wed, 26 Dec 2007 16:26:11 -0800, julian wrote: > > Resending as my mailer made a dog's breakfast of the first one > with all sorts of wierd line breaks... hopefully this will be better. > (I haven't sent it yet so I'm hoping).. > > > --- > > > > On t

Re: resend: multiple routing table roadmap (format fix)

2007-12-27 Thread Julian Elischer
Ivo Vachkov wrote: On Dec 27, 2007 2:26 AM, Julian Elischer <[EMAIL PROTECTED]> wrote: Resending as my mailer made a dog's breakfast of the first one with all sorts of wierd line breaks... hopefully this will be better. (I haven't sent it yet so I'm hoping).. --

Re: resend: multiple routing table roadmap (format fix)

2007-12-26 Thread Ivo Vachkov
On Dec 27, 2007 2:26 AM, Julian Elischer <[EMAIL PROTECTED]> wrote: > Resending as my mailer made a dog's breakfast of the first one > with all sorts of wierd line breaks... hopefully this will be better. > (I haven't sent it yet so I'm hoping).. > > > --- >