Aici veti gasi detalii tehnice despre cum se pot realiza configurari software+ hardware.
Here you can find tehnical details about software/hardware configuration.

marți, 24 iunie 2014

Testing gateway


#test in FreeBSD but you can try in Linux.

while sleep 10
do
TESTDETEST=`/usr/bin/netstat -rn | awk '{print $2}' | awk 'NR==5'`
if  [ $TESTDETEST = "10.10.10.1" ] ; then






   #machine have problem, run your app to connet it again
 /usr/local/bin/change_gateway
echo "Problem... Change default Gw"
 fi
done

Niciun comentariu:

Map


Visitor Map