This is what I wrote (and reading is equally hard I see ;-)

vipa () {
         hx=$(echo "obase=16;$2" | tr '.' ';' | bc | \
               sed 's/^\([0-9A-F]\)$/0\1/' | tr -d '\n')
         echo "$1 ${hx}:$mydev" > /proc/qeth_ipa_takeover
}

We call the thing where $mydev is "eth0" or such.

 ifconfig $dev $myip pointopoint $ipaddr up
 vipa add_vipa4 $ipaddr


Rob

Reply via email to