codice:
if [ $comm = '1' ];then
    $IP $GW 
elif [ $comm = '2' ];then
    $IP
elif [ $comm = '3' ];then
    $GW
fi