Routing b/w 2 ethernet cards.

Routing b/w 2 ethernet cards.

am 30.03.2004 19:14:40 von Anupam

Hi all,

I've 2 ethernet interfaces. I want the following scenario.

I want to control applications to use specific eth interfaces. Say, when
I use my IMAP e-mail client, I want it to use eth0, eth1 otherwise.

Can I set iptables rules deciding which remote port I want to connect to
using a particular NIC. If yes, I'd need an example. Otherwise let me
know some other way to do such thing.

Thanks and regards,
Anupam.

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs