Matt Mossholder on 17 Feb 2012 08:41:58 -0800 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] network choice from the application level |
On Fri, Feb 17, 2012 at 10:59 AM, <bergman@merctech.com> wrote: > > I know virtually nothing about PHP, and haven't done the kind of Google search > you describe, but I wonder if "shortest path" really means "lowest metric" if > there are two paths with the same number of hops. > > If this is the case, then on the server running PHP, maybe you could: > > Â Â Â Âincrease the metric of the default route > > Â Â Â Âcreate a new route to the address of the db server > Â Â Â Âwith a src address of the virtual IP on the PHP server > Â Â Â Âand a lower metric > > Mark I considered that, but in the case that Eric described, the destination IP is always the same, it is source that needs to be different for each of the two apps, so routing metrics won't help. --Matt ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug