Network Intel X520-SR2 stopping

Marcelo Gondim gondim at bsdinfo.com.br
Sat Jul 12 02:32:37 UTC 2014


Em 11/07/2014 14:43, John Jasem escreveu:
> Marcelo;
>
> I recently had a case where an Intel card was flapping, but using LR
> transceivers. Turns out, the cable ends needed to be re-polished, as not
> enough light was making it through to register transmit power.
>
> You and the networking people may want to spend a few moments exploring
> that path.
>
> -- John Jasen (jjasen at gmail.com)
Hi John,

In my case I had to create a script for ping test and if ping not 
respond then to do a down and up in interface.

#!/bin/sh
while true ; do
if ! ping -n -c 1 186.xxx.48.2; then
    if ! ping -n -c 1 186.xxx.61.2; then
       if ! ping -n -c 1 186.xxx.54.2; then
          if ! ping -n -c 1 177.xxx.240.253; then
             /sbin/ifconfig ix0 down
             /sbin/ifconfig ix0 up
             echo "`date`" >> /root/ix.log
             echo "`netstat -in|grep ix0|grep 1500`" >> /root/ix.log
          fi
       fi
    fi
fi
sleep 10
done


More information about the freebsd-net mailing list