help with routing determined by source address

Linux Advanced Routing and Traffic Control

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

 



Hi!

I want to route packets where the gateway is determined by the source
address and not the destination address - is this possible with iproute2?

for example:

 ISP-A   ISP-B
  |        |
+---------------+
| linux machine +
+---------------+

default gw is ISP-A interface, but if packet comes via ISP-B, the ISP-B
interface should be used instead of ISP-A interface

-- 

Regards
 Abraham

There ain't nothin' in this world that's worth being a snot over.
             -- Larry Wall in <1992Aug19.041614.6963@netlabs.com>

___________________________________________________
 Abraham vd Merwe [ZR1BBQ] - Frogfoot Networks
 P.O. Box 3472, Matieland, Stellenbosch, 7602
 Cell: +27 82 565 4451 Http: http://www.frogfoot.net
 Email: abz@frogfoot.net

Attachment: pgp00045.pgp
Description: PGP signature


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