Skip to contentSkip to conversation

Destination routing and its implementations?

LARTC Artūras Šlajus 1 participant 1 message Jan 29, 2004

lore
Share & tools
lore
#0 lore raw

Hello everyone,

I was wondering how i should do destination routing. I now do

# ip rule add to x.x.x.x table some_table

for each address i need. I was thinking about fwmark option. The problem is that routing decision is made after PREROUTING and not POSTROUTING (name obviously sais that :)) and i need to use -o. In OUTPUT this marking can't be done.

I made this conclusion by studying this URL:
http://iptables-tutorial.frozentux.net/chunkyhtml/traversingoftables.html

Am I right?

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/