Re: Multiple network cards on same subnet problem (arp_filter=1)

Linux Advanced Routing and Traffic Control

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Joe Nuts wrote:
> Hi Bram, 
> I have a similar setup, and what I find works for me is adding ip
> 'rules' for certain traffic to have specific default routes.
> for instance :
> 
> # ip rule add from 192.168.5.220 lookup 10
> # ip route add table 10 default src 192.168.5.220 dev eth0
> 
> # ip rule add from 192.168.5.221 lookup 11
> # ip route add table 11 default src 192.168.5.221 dev eth1
> 
> # ip rule add from 192.168.5.222 lookup 12
> # ip route add table 12 default src 192.168.5.222 dev eth2

Thanks! That fixed it :)

Regards,

	Bram.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)

iD8DBQFCdp7g4cPWX+btKqIRAq5BAJ4m5kh6fxBww80EApX+cGpvhCmuggCgtieK
2Jh98u5bdOv5M3ugH+yCvo8=
=jpvN
-----END PGP SIGNATURE-----
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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