add_vipa4 Syntax ?

2003-03-05 Thread Seifert, Harald
I'm trying to use a TCP/IP VIPA defined as a dummy device with OSA-express. The dummy device is up and running. I can ping it within my Linux; but I can't do that from outside yet. I have tried the add_vipa4 command in the following way echo add_vipa4 .. /proc/qeth_ipa_takeover #

Re: add_vipa4 Syntax ?

2003-03-05 Thread Sergey Korzhevsky
:add_vipa4 Syntax ? I'm trying to use a TCP/IP VIPA defined as a dummy device with OSA-express. The dummy device is up and running. I can ping it within my Linux; but I can't do that from outside yet. I have tried the add_vipa4 command in the following way echo add_vipa4 .. /proc

Re: add_vipa4 Syntax ?

2003-03-05 Thread Rob van der Heij
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