On 9/16/10 10:22 PM, Lito Kusnadi wrote: > > The lsm I got v0.53 compiled as rpm using centos, i can see lsm triggers > the script (/etc/lsm/script) when a link is down. When the link > recovers, lsm doesn't trigger the script. > > Even the formula in lsm readme file says it can detect the link is up > when certain conditions happens. But it doesn't. At the end, the only > way to restore the ethx.status of the failed link (make it "0") is to > fail the other link. As a result, I only have 1 link at all time after > the first failure happens.
This sounds like a routing problem when the link comes back up. Look at your main routing table to see what route is required to be able to ping the link's 'checkip'. It must not be a default route since that route will not exist (or will be masked by an earlier route) when the interface comes back up. -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 \________________________________________________
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
