Re: Fwd: Kernel Routing tabel

Linux Advanced Routing and Traffic Control

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

 




On 3/16/21 8:23 PM, Grant Taylor wrote:
> On 3/16/21 5:50 AM, Marco Gaiarin wrote:
>> You have to use 'policy routing'
> 
> I agree with the policy (based) routing, a.k.a. PBR.
> 
>> using iptables marks.
> 
> However, I don't believe that marks are required.
> 
> You can apply PBR via ip rules that match on the from IP (prefix of /32).


I agree with the ip rule approach.

It's pretty similar to a setup with 2 ISP, you should be good with
something like in this example:
https://tldp.org/HOWTO/Adv-Routing-HOWTO/lartc.rpdb.multiple-links.html

Nico



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