On 04/29/2013 10:36 AM, Dash Four wrote:
> 
> Dash Four wrote:
>>>> 3. How do I add a "default" route in "routes"?
>>>>     
>>>
>>> You don't -- Shorewall generates the default routes based on the
>>> provider GATEWAY (specified or detected).
>>>   
>> Got it now, thanks.
> One further clarification on this: I need to have 2 "default" routes 
> (going via the same interface - eth0) - one in 'main' and one in my 
> 'provider' table (dmz7). If I have, say, "dmz7 2 - main eth0 10.1.7.1 - 
> none" would that do it or do I need to have something else in addition?

Use the 'balance' option on eth0 in /etc/shorewall/providers.

> 
> Also, does shorewall wipe out existing routes when starting or are these 
> left intact? Same question for shorewall-init (when the interface is 
> brought back up).

It wipes out the provider tables only during 'start'.

-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 \________________________________________________

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to