All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] policy routing at its best
@ 2003-03-06 15:31 Tomas Bonnedahl
  2003-03-08  2:44 ` Martin A. Brown
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Tomas Bonnedahl @ 2003-03-06 15:31 UTC (permalink / raw)
  To: lartc

hello list (and martin) ;x

i have now composed my final(?) policy routing design.

the goals i had when beginning with this, for you that have not follow
mine and martins thread, was to 1) only let 192.168.1/24 to see all routes,
2) not route between defined networks, except to and from 192.168.1/24 and 3) not 
defined networks should only be able to reach 192.168.1/24.

this might sound simple. it wasnt for me.

the solution i came up with, after days and days of thinking (and patience) was
this:

two routing tables, one called "ALL" that, suprisingly, held routes to all networks defined
and a default route to internet. the other called "main", just for ease, that held one route to 
192.168.1/24 and had a default prohibit.

the one rule that exists just says "if src = 192.168.1/24 use table ALL". of course there is
an additional rule, the standard one that says "from all lookup main" with a number of 32766.

so, for you that doesnt understand my poor english, literally every network that passes, except
from 192.168.1/24, will use the main table that just holds the route to 192.168.1/24 and the 
prohibit one.


this so simple, something just has to be wrong. feel free to englighten me.


please flame.

best regards,
tomas bonnedahl
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-03-11 17:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-06 15:31 [LARTC] policy routing at its best Tomas Bonnedahl
2003-03-08  2:44 ` Martin A. Brown
2003-03-11 16:32 ` Tomas Bonnedahl
2003-03-11 17:07 ` Tomas Bonnedahl

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.