Re: Linux routing performace

From: James Bardin <>
Date: Wed, 4 May 2011 09:32:04 -0400

Thanks guys,

On Tue, May 3, 2011 at 10:50 PM, Joseph Hardeman <> wrote:

> route add -net netmask gw

A simple route doesn't work in this case, as the packets have to leave out the correct interface as well, or they will be dropped by the reverse-path-checking. Linux will route them correctly be default, but they will still always leave out the interface with the default gateway.

> On Tue, May 3, 2011 at 10:39 PM, Jon Watte <> wrote:
>> Does the internal network need a gateway at all?

The internal network is routed throughout the campus, so I may have backend servers with private IPs, which aren't in my subnet.

This isn't the end of the world if it's unsolvable, as I can request that all load-balancing service IPs be public for now, and spin up another haproxy pair for private services if there is a specific requirement.

I was just hoping there was some kernel sysctl or ip parameter that could effect routing performance. I'm kind of curious as to why this ip rule impacts performance so much. Maybe reassigning the outgoing interface is expensive?

-jim Received on 2011/05/04 15:32

This archive was generated by hypermail 2.2.0 : 2011/05/04 15:45 CEST