Hi Network developers
I am new to this group and wonder if you can advise how I could implement
more complex PBR rules to achieve for example load balancing. The
requirement I have is to route based on e.g. a hash like:
hash(src-ip+dst-ip) mod N routes via gwX 0<X<=N ( load balance over
N gateways )
This would help in situations where I can not use a MAC for identifying a
gateway ( e.g. in cloud environments) .
Could someone point me to the kernel source code where PBR is performed ?
Thank you
Markus