Re: Load balancing using connmark

Linux Advanced Routing and Traffic Control

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

 



Peter Rabbitson wrote:
> ...
> In the case of _local_ traffic - it becomes even trickier. The problem
> is that when sockets are created they already have a source IP (the
> kernel determines that by looking at the default routing table, your
> marks do not exist yet). 

This is misleading - it will happen only when the application does not
request a specific ip/interface to bind to. Only then the kernel default
table is consulted, and the best interface is determined based on the
destination that is supplied on socket creation.
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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