All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Routing by interface as opposed to ip address?
@ 2005-05-06 16:53 Joe Devich
  2005-05-09 16:08 ` Krystian Antoni
  0 siblings, 1 reply; 2+ messages in thread
From: Joe Devich @ 2005-05-06 16:53 UTC (permalink / raw)
  To: lartc

Hello all,

Does anyone know of a methodology to build a route based on the inbound
and outbound interfaces as opposed to ip addresses? We are essentially
trying to forward packets from one interface to another without looking
at the ip address. Bridging (brctl, br2684ctl) will not work in this
case as the interfaces use different layer 2 encapsulation (e.g.,
atm0<=>eth0, or ppp0<=>eth0).

We could build a rule to match the incoming interface, then point to a
routing table with a default route set to the outbound interface. The
problem, with this approach is the limit of 255 routing tables in
iproute2. Presumably, it would consume 2 routing tables for each
"connection" (one forward, one reverse). We need more than 126
"connections" per box. 

Some commercial routers allow policy routing using only the interfaces
with ACL's, but it's not clear how this could be implemented in linux.
We use debian (2.4 kernel) distro with iproute2, iptables, etc. Any
suggestions would be most welcome.

Cheers,

Joe Devich

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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

end of thread, other threads:[~2005-05-09 16:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-06 16:53 [LARTC] Routing by interface as opposed to ip address? Joe Devich
2005-05-09 16:08 ` Krystian Antoni

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.