On 9/2/2014 6:50 AM, PGNd wrote:
> On Tue, Sep 2, 2014, at 06:43 AM, Tom Eastep wrote:
>>> Have you changed the setting of KEEP_RT_TABLES? If it is set to 'Off',
>>> you will see the above behavior.
>>
>> Correction: KEEP_RT_TABLES=Yes produces that result -- the default is 'No'.
> 
> No I haven't changed the setting.  Its current value, here, remains 
> unchanged, set to the default value of
> 
>       /shorewall.conf
>               ...
>               KEEP_RT_TABLES=No
>               ...
> 

In the function setup_routing_and_traffic_shaping() within the generated
script, you should see code similar to this:

started -- this will not restore the default route
        #
        undo_routing
        
        #
        # Update the routing table database
        #
        if [ -w /etc/iproute2/rt_tables ]; then
            cat > /etc/iproute2/rt_tables <<EOF
#
# reserved values
#
255     local
254     main
253     default
0       unspec
#
# local
#
200     acade
208     elisa
EOF

        fi

Is that code missing? If not, then is /etc/iproute2/rt_tables writable?

-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

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to