2 NICs in same network & ip aliasing

Linux Advanced Routing and Traffic Control

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

 



 hi all,

 i have one little problem,and i can't find answer.

				PC1
		
		     eth1	           eth2
		  10.0.0.1/8		10.0.0.2/8
			|		10.0.0.3/8 secondary
			|		    |
			|		    |
			|		    |
					    |
			switch	-------------
			   |
			   |
			   |	
		   	   eth1
			10.0.0.10/8
			   PC2
			(default route 10.0.0.2)

i have set arp_filter=1,
and 2 ip tables , A and B

table A:
10.0.0.0/8 dev eth1 scope link
table B:
10.0.0.0/8 dev eth2 scope link

and ip rule:
... from 10.0.0.1 lookup A
... from 10.0.0.2 lookup B
.
.


ping PC2 -> 10.0.0.1  ...ok answer come from eth1
ping PC2 -> 10.0.0.2  ...ok answer come from eth2

but
ping PC2 -> 10.0.0.3(secondary) ... wrong answer come from eth1 !
PC1 answer on arp question "who has 10.0.0.3", "10.0.0.3 is at eth1"

If I set arp_filter=0,
and set hidden = 1 :
ping PC2 -> 10.0.0.3(secondary) ... no answer


what i make wrong?

thanks for answers
bye


_______________________________________________
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