Re: Fwd: Kernel Routing tabel
Nicolas Piatto <[email protected]> Tue, 16 Mar 2021 19:53:38 +0000
| Newsgroups | org.kernel.vger.lartc |
|---|---|
| Message-ID | <[email protected]> |
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