* IP routing with fwmark
@ 2006-10-10 20:12 Luke -Jr
0 siblings, 0 replies; only message in thread
From: Luke -Jr @ 2006-10-10 20:12 UTC (permalink / raw)
To: Linux Kernel Mailing List
Having trouble getting my routing rules to work. Basically, I just want to
lock a connection to use a single network interface. The common and only
method (compatible with IP forwarding) seems to be using CONNMARK to keep
track of the interface each connection is assigned to.
However, for some reason, it appears the Linux IP routing table is not
correctly processing the fwmark rules:
12: from all fwmark 0xa lookup inet_sbc
Both inet_sbc and main tables have a default route set. If I prepend "prohibit
default" into *either* of the tables (main or inet_sbc), the packet is
dropped. Since a packet only has a single route, this suggests that Linux is
doing two routing lookups, and only processing the fwmark rules in the first
one (which, if not an error, is ignored and overridden by the later lookup).
Any other possibilities, suggestions, ideas, or fixes? Or should I post more
details?
Thanks,
Luke-Jr (CC replies please)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-10-10 20:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-10 20:12 IP routing with fwmark Luke -Jr
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®