From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Tarek W." Date: Tue, 26 Nov 2002 07:25:49 +0000 Subject: [Fwd: Re: [LARTC] 2 internal NIC's in the same network] Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org -----Forwarded Message----- > From: Tarek W. > To: lartc@mailman.ds9a.nl > Subject: Re: [LARTC] 2 internal NIC's in the same network > Date: 26 Nov 2002 09:12:33 -0200 > > > ur deliverance is by way of echo 1 > /proc/sys/net/ipv4/conf/eth{1,2}, > that's what everybody says...however, this is not the whole story, ur > tryina setup two ips on the same subnet on two separate interfaces... in > simple routing, the first route to match is taken... so the traffic goes > out the first interface regardless of the source ip... u need to look > into source-based routing or "policy routing". read the iproute2 docs. > > On Mon, 2002-11-25 at 11:14, virdzek, roman wrote: > > hi, > > i have two internal nics > > > > at PC1 > > > > eth1 eth2 > > 10.0.0.1 10.0.0.2 > > > > | | > > switch > > | > > pc2 > > eth0 > > 10.0.0.3 > > > > > > > > > > and when I ping from pc2 -> PC1:eth2, > > using tcpdump i see that PC1 > > send reply to (arp who has 10.0.0.2), > > 10.0.0.2 is at .....eth1. > > why PC1 send back not proper HW address? > > how I can force PC1 to say that 10.0.0.2 > > is at eth2? > _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/