Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CentOS (http://www.linux-archive.org/centos/)
-   -   assigning "best" gateway and routing ---- CentOS Digest, Vol 41, Issue 14 (http://www.linux-archive.org/centos/106730-assigning-best-gateway-routing-centos-digest-vol-41-issue-14-a.html)

Kevin Abbey 06-14-2008 03:39 PM

assigning "best" gateway and routing ---- CentOS Digest, Vol 41, Issue 14
 
Hi,

Regarding the discussion of gateways,

Can the Vyatta routing software and/or hardware appliance solution help?

(The software is open source and available.)


http://www.vyatta.com/documentation/datasheet.php
http://www.vyatta.com/documentation/general/Vyatta_FAQ.pdf
http://www.vyatta.com/products/vyatta_software_datasheet.pdf
http://www.vyatta.com/documentation/index.php


Download
http://www.vyatta.com/download/


I have not ye used this. I'd be interested to learn of others
experiences with this.

Kevin

--
Kevin C. Abbey
System Administrator
BioMaPS Institute and Chemistry Department
Rutgers University
Piscataway, NJ 08854




CentOS Digest, Vol 41, Issue 14

Relevant emails only here:

------------------------------ Message: 2 Date: Fri, 13 Jun 2008
06:29:58 -0600 From: "Joseph L. Casale" <JCasale@activenetwerx.com>
Subject: RE: [CentOS] assigning "best" gateway via DHCP To: 'CentOS
mailing list' <centos@centos.org> Message-ID:
<49627735003F5C479100225C339F9FE06FDCEE90BD@Mail.a ctivenetwerx.int>
Content-Type: text/plain; charset=us-ascii



>What might I do Linux-wise to create a "system" that looked at multiple
>gateways and then assigned (via DHCP) the gateway that was the least
>congested?
>
>Anyone have any good suggestions in this department?



Your assumption is that the level of congestion would remain unchanged for the
length of the lease? Maybe an alternative is something that hands out one gateway
then decides possibly what ip to masquerade with.

jlc


------------------------------



------------------------------

Message: 7
Date: Fri, 13 Jun 2008 09:52:03 -0700
From: Rogelio <scubacuda@gmail.com>
Subject: Re: [CentOS] assigning "best" gateway via DHCP
To: CentOS mailing list <centos@centos.org>
Message-ID: <4852A5B3.3000603@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Joseph L. Casale wrote:


>> What might I do Linux-wise to create a "system" that looked at multiple
>> gateways and then assigned (via DHCP) the gateway that was the least
>> congested?
>>
>> Anyone have any good suggestions in this department?

>
> Your assumption is that the level of congestion would remain unchanged for the

> length of the lease? Maybe an alternative is something that hands out one gateway
> then decides possibly what ip to masquerade with.



This is a good idea, thanks. So, I'm assuming that you mean something
like this?


http://tldp.org/HOWTO/IP-Masquerade-HOWTO/


------------------------------

Message: 8
Date: Fri, 13 Jun 2008 11:13:16 -0600
From: "Joseph L. Casale" <JCasale@activenetwerx.com>
Subject: RE: [CentOS] assigning "best" gateway via DHCP
To: CentOS mailing list <centos@centos.org>
Message-ID:
<49627735003F5C479100225C339F9FE06FDCEE6C1A@Mail.a ctivenetwerx.int>
Content-Type: text/plain; charset=us-ascii



>This is a good idea, thanks. So, I'm assuming that you mean something
>like this?
>
>http://tldp.org/HOWTO/IP-Masquerade-HOWTO/



Yeah,
I don't know how "sexy" the solution would be, but you could poll for throughput/availability
with a script, then rewrite the iptables rule for example taking the new, preferred outside route as
your new external IP to masq with. It would be functional, and given the external link your moving
away from is likely down you probably don't have to worry about existing connections, or do you? :)


Once you rewrite the rule and refresh it, current connections getting masq'ed will be killed. If your
in the middle of secure connection to something/someone or a download, it will be terminated.

There is *no* way of maintaining any connection between different paths in this situation unless you
specifically have something setup with your provider that is aggregated across {n} connections, but then
we wouldn't be discussing this:)

jlc


------------------------------


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


All times are GMT. The time now is 06:10 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.