Brian S Julin wrote: Marco wrote:
> > Hello everybody. > > Kindly, I would like to know if the is any plan to add this feature to a > > future kernel release. > > I know that fwmark is able to do this, but there is the limitation in > > source ip address selection. > Could you explain the limitation? Indeed. Here is an example: hdsl| |adsl line| |line | | +------+ | | |SQUID | | | +------+ | internal| lan | The linux default gateway point to the hdsl router. I want to redirect the squid http traffic (running on the same host) to the adsl line. So I create a routing table (adsl table) and I put a default route to the adsl router. I mark the http traffic. I insert a rule based on fwmark which select the 'adsl table'. So far, so good. But, squid will select the source ip address from the hdsl network class, because it is the default gateway. Then, the local generated packets must be SNATed with the adsl ip. Is it clear? -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html