Netdev List
 help / color / mirror / Atom feed
* More complex PBR rules
@ 2019-07-06 23:06 Markus Moeller
  2019-07-07 13:24 ` David Ahern
  0 siblings, 1 reply; 3+ messages in thread
From: Markus Moeller @ 2019-07-06 23:06 UTC (permalink / raw)
  To: netdev

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 



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-07-07 23:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-06 23:06 More complex PBR rules Markus Moeller
2019-07-07 13:24 ` David Ahern
2019-07-07 23:20   ` Markus Moeller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox