zorgman wrote:
> Hi
> 
> I'm trying to monitor my multi ISP shorewall with swping, the script
> works fine, i can see in log when an ISP is down, the script restart
> shorewall and /etc/shorewall/isusable is called, however in the swping
> log after the shorewall restart i see again a route by ISP (even the ISP
> down), is it normal ? should i not see one route less?
> 
> shorewall version 4.4.5.4-1.
> 
> ****
> 
> /etc/shorewall/provider
> 
> *freenew    1024       1024     main            eth2.303           
> 88.162.205.254 track,balance    eth0,eth1,eth0.**
> nerim    512       512       main            eth2.301           
> 192.168.0.1  track,balance   eth0,eth1,eth0.*
> freeold    2048       2048       main            eth2.302           
> 88.162.207.254  track,balance   eth0,eth1,eth0.*
> 
> ****
> ****
> Log :
> *eth2.303 is Down!*
> Restarting Shorewall....
> Initializing...
> Setting up Route Filtering...
> Setting up Martian Logging...
> Adding Providers...
> Setting up Traffic Control...
> Preparing iptables-restore input...
> Running /sbin/iptables-restore...
> IPv4 Forwarding Enabled
> done.
> ....
> ....
> 172.20.8.0/24 dev eth0.9  proto kernel  scope link  src 172.20.8.254
> default
>         nexthop via 88.162.205.254  dev eth2.303 weight 1
>         nexthop via 192.168.0.1  dev eth2.301 weight 1
>         nexthop via 88.162.207.254  dev eth2.302 weight 1
> 
> *eth2.303 is Up!*
> Restarting Shorewall....
> Initializing...
> Setting up Route Filtering...
> Setting up Martian Logging...
> Adding Providers...
> Setting up Traffic Control...
> Preparing iptables-restore input...
> Running /sbin/iptables-restore...
> IPv4 Forwarding Enabled
> done.
> ....
> ....
> default
>         nexthop via 88.162.205.254  dev eth2.303 weight 1
>         nexthop via 192.168.0.1  dev eth2.301 weight 1
>         nexthop via 88.162.207.254  dev eth2.302 weight 1
> ****
> 
> Thanks for your help

Looks to me like the isusable script returned zero (success) for eth2.303.

-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

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to