shorewall-users January 2012 archive
Main Archive Page > Month Archives  > shorewall-users archives
shorewall-users: Re: [Shorewall-users] Multiple ISP / USE_DEFAUL

Re: [Shorewall-users] Multiple ISP / USE_DEFAULT_ROUTE issue

From: Tom Eastep <teastep_at_nospam>
Date: Tue Jan 17 2012 - 20:59:14 GMT
To: Lee Brown <leeb@ratnaling.org>, Shorewall Users <shorewall-users@lists.sourceforge.net>

On Jan 17, 2012, at 11:22 AM, Lee Brown wrote:

>
>
> On Tue, Jan 17, 2012 at 10:29 AM, Tom Eastep <teastep@shorewall.net> wrote:
> On 01/17/2012 08:25 AM, Lee Brown wrote:
> > Hi Tom,
> >
> > With USE_DEFAULT_RT=Yes, I tried explicitly putting loose into the
> > providers file (and removing duplicate field) which did remove the list
> > of default routes in the default table. However it still doesn't work
> > as anticipated. It appears table 999 doesn't get installed in the rules.
>
> Valid table numbers are 0-255. 999???
>
> Sorry, I meant the rule number 999. According to the MultiISP docs "Packets are sent through the main routing table by a routing rule with priority 999. The priority range 1-998 may be used for inserting rules that bypass the main table."

Turns out that the code doesn't generate that rule when there are no balance providers. I've attached a patch for 4.4.19.

-Tom

Tom Eastep \ When I die, I want to go like my Grandfather who
Shoreline, \ died peacefully in his sleep. Not screaming like
Washington, USA \ all of the passengers in his car
http://shorewall.net \________________________________________________

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d

_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users