Re: [Fwd: Re: 2 internal NIC's in the same network]

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2002-11-26 at 09:19, Tarek W. wrote:
> -----Forwarded Message-----
> 
> > From: Tarek W. <tarek@cyberia.net.lb>
> > To: lartc@mailman.ds9a.nl
> > Subject: Re:  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},

rather /eth{1,2}/arp_filter

> > 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/



_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux