NetFilter
[Top] [All Lists]

Re: Two NICs, same network...

To: netfilter@lists.netfilter.org
Subject: Re: Two NICs, same network...
From: Pascal Hambourg <pascal.mail@plouf.fr.eu.org>
Date: Fri, 01 Jun 2007 00:41:03 +0200
Delivered-to: sp-com-lists@consult.net
Delivered-to: netfilter-list1@securepoint.com
In-reply-to: <e53321d30705311516w353ffebbhcc0cacdde6d3fe67@mail.gmail.com>
List-archive: </pipermail/netfilter>
List-help: <mailto:netfilter-request@lists.netfilter.org?subject=help>
List-id: General discussion and user questions <netfilter.lists.netfilter.org>
List-post: <mailto:netfilter@lists.netfilter.org>
List-subscribe: <https://lists.netfilter.org/mailman/listinfo/netfilter>, <mailto:netfilter-request@lists.netfilter.org?subject=subscribe>
List-unsubscribe: <https://lists.netfilter.org/mailman/listinfo/netfilter>, <mailto:netfilter-request@lists.netfilter.org?subject=unsubscribe>
Organization: Plouf !
References: <e53321d30705081317w3d7e6f5bsb38161f155c883da@mail.gmail.com> <Pine.LNX.4.63.0705081251200.20281@qynat.qvtvafvgr.pbz> <e53321d30705081402n2fa7e3c5pcd0ed7baeecebef4@mail.gmail.com> <4641CC42.2000005@alpha2.com> <e53321d30705241312l6aee149bp3557f72476940bc@mail.gmail.com> <e53321d30705311516w353ffebbhcc0cacdde6d3fe67@mail.gmail.com>
Sender: netfilter-bounces@lists.netfilter.org
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
Hello,

semi linux a écrit :

Let me ask this question another way - How to I setup my machine to
use one interface (eth0) for ALL traffic with the exception of one IP
destination/source port (which is on eth1)?

You need to setup a routing policy.

Is this an iptables thing or is it a routing table thing?

Both.

Can someone point me in the right direction?

Linux Advanced Routing & Traffic Control (LARTC) HOWTO.
Chapters 4 & 11.


<Prev in Thread] Current Thread [Next in Thread>