Skip to contentSkip to conversation

Multihoming : Dynamically decide interface, for sending packet

DISCUSSION nakulgoud 2 participants 2 messages Apr 22, 2013

lore
Share & tools
lore

nakulgoud

author
#0 lore raw

Hi,
I have a system with multiple interfaces. Based on some rule I want
to dynamically decide the interface from which packet should be routed. Please help me how should I do this?
Thanks in anticipation.

#1 lore raw
Quoted 5 lines · nakulgoud

Hi,
I have a system with multiple interfaces. Based on some rule I want
to dynamically decide the interface from which packet should be routed. Please help me how should I do this?
Thanks in anticipation.

Routing is not really an issue for iptables. You could however change the outgoing interface of a packet in the MANGLE table, this might be one solution to what you want. You should really be looking at policy based routing with the "ip" too though.

Signature · 1 line
Nikolai Lusan <[email protected]>