Skip to contentSkip to conversation

traffic id by iproute2 for iptables

LARTC Nic Ivy 1 participant 1 message Aug 24, 2002

lore
Share & tools
lore

Nic Ivy

author
#0 lore raw

I have several parallel public networks attached to a single network interface. Each public network requires iptables to do a different SNAT in the POSTROUTING table. I think iproute2 can do multipath routing over a single device, but can iptables recognize which network a packet is destined for?
I have explored using the 'realm' match in iptables 1.2.8 (cvs), but iproute2 apparently doesn't support realms in multipath routing statements. Can iproute2 mark packets another way such that iptables can recognize it?
Nic Ivy

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