ifconfig eth1 |grep inet |grep br |cut -c -26&& ifconfig ppp0|grep destination |grep inet|cut -c -26
ping -c 1 -W 2 qq.com || ifconfig eth1 | grep netmask | awk '{print $2}'
ifconfig eth1 |grep inet |grep br |cut -c -26&& ifconfig ppp0|grep destination |grep inet|cut -c -26
ping -c 1 -W 2 qq.com || ifconfig eth1 | grep netmask | awk '{print $2}'